
Wondering if anyone has any comments. A home system has N number of 1.5TB drives, running in RAID5. At one point, these drives stopped becoming available, so the last time I extended the array, I used a 2TB drive. That drive is formatted with: /dev/sdg1 2048 976735943 488366948 8e Linux LVM /dev/sdg2 976735944 3907029160 1465146608+ fd Linux RAID autodetect The LVM system in question holds my root/home, etc. Now that a 1.5TB drive has failed, I'm replacing it with another 2TB drive, and wondering the best way to use the remainder 500GB My first thought is to set up a RAID1 array, and put my PV on there. Is there a better plan? Are there going to be any issues, such as booting? I presume grub2 will be fine, and will just add an 'insmod raid' before the 'insmod lvm' line in my grub.cfg As for the procedure, my vague plan is: sfdisk -d /dev/sdg | sfdisk /dev/sdh mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdh1 missing pvcreate /dev/md1 vgextend system /dev/md1 pvmove -v /dev/sdg1 pvremove /dev/sdg1 mdadm --manage /dev/md1 --add /dev/sdg1 mount /, chroot into it, run grub-install Can anyone see any flaws in logic, places to improve? cheers, / Brett