I have a server with multiple disks. Most are raid1:
PV /dev/md127 VG HDDs lvm2 [465.63 GiB / 421.63 GiB free]
PV /dev/sdg1 VG backup lvm2 [<931.51 GiB / <931.51 GiB free]
PV /dev/md0 VG SSDs lvm2 [<1.82 TiB / 1.16 TiB free]
PV /dev/md1 VG SSDs lvm2 [<1.82 TiB / <1.82 TiB free]
Total: 4 [5.00 TiB] / in use: 4 [5.00 TiB] / in no VG: 0 [0 ]
I noticed that all the LVs created under SSDs
end up being created on md0
instead of being spread across md0
and md1
(to avoid wear and tear). Is there anything that can be done to (automatically?) have the several LVs use the other disks?
I want to avoid splitting a LV across several disks (i.e. having data on both md0
and md1
-- but would be great if half the LVs are stored on md0
and the other half on md1
).