Re: Upgrade to new drives in raid, larger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Ross Walker wrote on Fri, 12 Dec 2008 19:35:48 -0500:

I think I would do it the same or very similar.

> 4) created a degraded raid1 called md2 out of new sdb2, use --force  
> with mdadm

Why force?

> 7) removed sda1 from md0 and sda2 from md1 killing md1 off, I don't  
> remember if I did a mkinitrd at this point, but if in doubt, generate  
> one

Yes, if your root device path changes, you have to run mkinitrd with the 
*new* fstab.

> 9) fdisk'd boot partition of type autoraid and lvm partition of type  
> autoraid, same as before. Added grub to new sdb mbr.

At this point you can simply copy the structure over with sfdisk and avoid 
the manual creation.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux