All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

How to format NVMe drive in Linux suitable for raid 1 and lvm on xen Host

I want to create a software raid on two identical SSDs How do I create partitions and format them optimal? lsblk nvme0n1 259:0 0 953.9G 0 disk nvme1n1 259:1 0 953.9G 0 ...
rubo77's user avatar
  • 2,499
2 votes
1 answer
76 views

File access on SSD array suddenly slowed down; TRIM appears to be unavailable. How to enable, or what else could it be?

We have a system that's used for a GIS database (with Postgres as the underlying engine) which is using a software RAID 5 array of 4x2TB Samsung EVO870 SATA SSDs as its database drive. There is a ...
tsc_chazz's user avatar
  • 1,183
5 votes
4 answers
2k views

Cloning data from a damaged SSD

The SSD went into read-only mode, so you need to move the partition to a working SSD, but I encountered the fact that the LVM size is different: #lvm pvscan PV /dev/sdc3 VG pve lvm2 [&...
Джон Смит's user avatar
2 votes
1 answer
4k views

lvmcache/dm-cache writeback cache full performance

I have a SSD writeback cache in front of a HDD, set up through lvmcache (so a dm-cache). When the cache LV is not full (Data% column in lvs < 100.00%), writes go to the cache device (monitored via ...
Albert T's user avatar
3 votes
1 answer
991 views

Using two SSDs for Hot-Warm-Cold Caching a HDD on Linux

I currently have a debian-based Linux system that I'd like to optimize heavily. This machine has three different drives: An SLC SSD, a QLC SSD, and a 4TB HDD. I wanted to know if it was possible to ...
Swivel's user avatar
  • 131
0 votes
0 answers
4k views

Can't open /dev/sda1 exclusively. Mounted filesystem? [duplicate]

I'm aware that there are a lot of similar questions about this, I have tried following through the responses but nothing has helped. I'm more than happy to post more logs if needed. The end goal: Have ...
The Ref's user avatar
  • 101
0 votes
4 answers
2k views

Raid 1 with 3 disks of different sizes

I'm new to this site. I am currently configuring a server, which has these ssd disks: 1X1TB SSD NVme 2X512GB SSD NVMe Now I would like to create a raid 1 between these disks, in which I would always ...
Andrea Angelozzi's user avatar
7 votes
2 answers
11k views

Hetzner's installimage script, RAID1 hard drives + SSD

I just purchased a server from Hetzner, with two 4TB hard drives and one 1TB SSD. I want to setup the two hard drives (/dev/sda & /dev/sdb) in RAID1 and install the OS on them, and have the SSD (/...
Tim Autin's user avatar
  • 273
1 vote
0 answers
32 views

Disorganized disks because of different disk technologies - LVM an answer?

I have a 1 TB spinning HD, and a 256 GB SSD. I keep my OS and large projects on the SSD, for speed. The rest is on the spinning HD, because of its size. The problem: This means I have things to ...
Greg Bell's user avatar
  • 337
9 votes
2 answers
4k views

Are bcache and/or dm-cache considered stable for production in 2016?

I would like to use linux SSD caching (dm-cache or bcache) with Debian Jessie production servers. (kernel 3.16) My question: Are dm-cache and bcache modules reliables in linux 3.16 ? Do I need to ...
sligor's user avatar
  • 93
0 votes
1 answer
424 views

Copy centos 6 modify mdadm raid 1 and clone to new mdadm raid 1 ssd

I have: Centos 6.7 grub-install -v grub-install (GNU GRUB 0.97) lsblk two new SSD 128gb Live usb with Parted_Magic_2015.03.06 /boot/grub/device.map # this device map was generated by anaconda (...
snex's user avatar
  • 191
7 votes
3 answers
4k views

Optimize SSD storage on Centos 6.6 - KVM

I have a Dell R610 with hardware: H700 raid card 4xMicron MX100 512GB -> configured raid 10 I have installed Centos 6.6 on this server and configured: KVM virtualization Volume Group for raid 10 ...
user2629480's user avatar
4 votes
1 answer
2k views

Does AIX support Advanced Format (4k sector size) SAN LUNs?

I am working with an EMC XtremIO storage array that utilizes SSD devices that use a native 4 KB sector size instead of the traditional 512 B size. I am attaching an IBM AIX 7.1 server to the array. I ...
Mike Brickl's user avatar
2 votes
0 answers
950 views

task fstrim blocked for more than 120 seconds

I'm experiencing random crashes on my system. I've narrowed the problem to the fstrim program that's launched weekly by cron. In the console, I've got a set of blocked tasks among whigetch I find ...
Olivier's user avatar
  • 186
1 vote
0 answers
819 views

SSD+MDRAID+LVM+KVM results in lower performance than expected

We use kvm for virtualization, the disk images are stored as logical volumes. The logical volumes are stored on a bunch of software-RAID1 (mdadm) arrays composed of Intel DCS3500 SSDs (each array is a ...
Pentium100's user avatar
0 votes
3 answers
203 views

Setup replication from one local disk to another local disk ( Ubuntu )

Is there is are some way to setup local replication of the one disk to the another ( Ubuntu ) in the such way that all read operations will be involve only first disk ? Such configuration will be very ...
user261706's user avatar
3 votes
2 answers
2k views

LVM with SSD + non SSD in volume group (for snapshot storage)

I have a KVM box running some critical VMs which perform software builds. The server runs SSD drives. I have an older version of KVM which has limited snapshot capability, and I have decided to use ...
user avatar
2 votes
1 answer
751 views

8kb block sizes as it relates to different storage layers

I have a PCIe SSD card that uses 8kb block cells. It supports "Virtual Controllers" that can split this drive in half and create LVM RAID0 with 8kb stripe size. On top of that I install a file system ...
Mxx's user avatar
  • 2,372
1 vote
2 answers
844 views

What kind of performance overhead with LVM on Fusion ioDrive2 as Oracle DB 11gR2's Flash Cache?

This is a bit wordy, so please bear with me. :) We have a RAC cluster of 3 Oracle 11gR2 servers and purchased FusionIO ioDrive2 PCIx cards for these servers to use as OracleDB's Flash Cache. These ...
Mxx's user avatar
  • 2,372
4 votes
1 answer
1k views

Is TRIM passed through a LVM-based PV Xen domU to the underlying SSD

Scenario: -- Debian Xen dom0 -- SSD drive setup as LVM PV/single Volume Group. -- Debian pv_ops-based domU setup on LVM logical volume. -- File system inside domU is ext4 with discard option enabled. ...
Brian Blood's user avatar
2 votes
2 answers
836 views

Worth it to move /var to physical disk vs logical?

Brief question about partition layout. I use an SSD for /, /boot, /usr, & /home partitions. I'd like to move /var to a mechanical disk to minimize writes to the SSD. I'm mainly concerned about ...
Tammer Ibrahim's user avatar
15 votes
2 answers
20k views

SSD, Erase Block Size & LVM: PV on raw device, Alignment

I want to install a new SSD and use the the whole device as a PV for LVM - in other words: i don't plan to put even one partition on this device. So aligning partitions on the erase blocks is not ...
m.sr's user avatar
  • 1,060
8 votes
1 answer
5k views

Can I use dmraid instead of md (mdadm) to make software RAID-1 and RAID-1+0 volumes?

On a related question about SSDs and TRIM (see: Possible to get SSD TRIM (discard) working on ext4 + LVM + software RAID in Linux? ), it turns out that dmraid may now (or shortly) support TRIM on RAID-...
Don MacAskill's user avatar
20 votes
6 answers
15k views

Possible to get SSD TRIM (discard) working on ext4 + LVM + software RAID in Linux?

We use RAID1+0 with md on Linux (currently 2.6.37) to create an md device, then use LVM to provide volume management on top of the device, and then use ext4 as our filesystem on the LVM volume groups. ...
Don MacAskill's user avatar
5 votes
4 answers
5k views

SSD drives and RAID configurations vs LVM

Background: I'm familiar with the basic RAID levels, and am curious to know if using SSD devices in a RAID0 or RAID5 would be a better deployment than adding them to a large LVM volume. Specifically,...