Converting a filesystem to RAID

General support questions
Post Reply
MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

Converting a filesystem to RAID

Post by MartinR » 2018/05/22 15:44:25

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?

Post Reply