Journal egork's Journal: when sfdisk complains about GPT use sgdisk for RAID disk replacement 3
sgdisk --backup=table
sgdisk --load-backup=table
sgdisk -G
sgdisk --backup=table
sgdisk --load-backup=table
sgdisk -G
Think of it! With VLSI we can pack 100 ENIACs in 1 sq. cm.!
next steps (Score:1)
# add a new disk as a spare /dev/md0 /dev/sdb1 /dev/md0 --fail /dev/sda1 --remove /dev/sda1 /proc/mdstat
mdadm --add
# fail and remove the disk you want to replace
mdadm
# watch the rebuilding progress
watch cat
growing the array (Score:1)
without unmounting the array /dev/md0 --size=max /media/RAID
sudo mdadm --grow
sudo mount -o remount,resize
Re: (Score:1)
whole disk works as well (no partition) mdadm --add /dev/md0 /dev/sdb