Re: Replacing failed drive in software RAID
On Fri, Nov 01, 2013 at 12:23:07PM +0000, Jonathan Dowland wrote:
> On Thu, Oct 31, 2013 at 03:41:18PM +0100, Veljko wrote:
> > # sgdisk --backup=table /dev/sdb
> > # sgdisk --load-backup=table /dev/sda
> > # sgdisk -G /dev/sda
>
> I'm not familiar wiht sgdisk but you may need to call "partprobe"
> after these stages and before these ones…
>
> > # mdadm --manage /dev/md0 --add /dev/sda2
>
> …to ensure that /dev/sdaX have appeared.
Isn't that to inform the OS of partition table changes? In this case,
partition table stays the same.
Regards,
Veljko
Reply to: