Have (32-bit) Centos 5.6 file server with 2x1TB HDD/ext3 in MDADM RAID-1 as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 144 1052257+ fd Linux raid autodetect
/dev/sda3 145 121601 975603352+ fd Linux raid autodetect
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 fd Linux raid autodetect
/dev/sdb2 14 144 1052257+ fd Linux raid autodetect
/dev/sdb3 145 121601 975603352+ fd Linux raid autodetect
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 945048528 295908988 600359380 34% /
/dev/md0 101018 24028 71774 26% /boot
/dev/md1 1052160 - - - /swap
Installed (64-bit) Centos 6 on single 128GB SSD using LVM/ext4, which plan to use for everything except /home
, using the 1TB RAID-1 here instead (not interested in keeping anything outside of /home
from these drives longer-term).
Surprisingly, haven't found any examples for setting up a system with single drive for /boot
etc and RAID-1 for /home
, would have expected this to be more common as SSD price/capacity improves.
Seems like copying the essential data (in RAID /home
) to an external back-up, reformat/repartition drives as new RAID /home
under LVM and copy data back is an option, but is there a better way to do this "in place" especially as there is no pre-existing /home
partition on either system?
Not sure if the lack of info for either option is simply due to not being a good idea? Would really appreciate some opinions or advice. Thank you.