
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
"Text processing has made it possible to right-justify any idea, even one which cannot be justified on any other grounds." -- J. Finnegan, USC.
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