Page 1 of 1

Converting a filesystem to RAID

Posted: 2018/05/22 15:44:25
by MartinR
I'm setting up a machine for a user that has an SDD and some HDDs. The initial installation created a volume group on the SDD containing /home and / as logical volumes. I have configured /home to use the original LV and a new LV on the HDDs as a RAID1 (the HDD LV is set -W so that reads come from the SDD).

It would be nice to do similar for the root filesystem, but I'd like to avoid doing a reinstallation! It is possible to convert the existing XFS filesystem on the SDD logical volume to be the first element of a RAID, or do I need to do the full dump-create-mkfs-restore rigmarole?