Re: Upgrading drives in raid 1

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



 
> > I have md0 as the boot, md1 as the rest. Inside md1 are all my lvm 
> > partitons.
> > The grow command is supposed to expand the size of that md1
> from its
> > current
> > 200+GB to fill the rest of the 500gb drive.
> > 
> > I thought you could then expand the lvm partions inside of that.
> > 
> > If the grow command does not make the raid device larger, then what 
> > does it do?
> 
> It only works once you have replaced all of the smaller drives with 
> larger ones.  If /dev/sdc is your spareset drive, when you replace it 
> you'd partition it (manually) to have a larger #2 partition.  Then you 
> would fail over say sdb to sdc and make sdb the spareset drive and 
> then pull it and replace it with a large disk and partition it like 
> sdc, then you would fail sda over to sdb and replace sda with a large 
> disk, and partition it like sdc.  NOW you can grow the raid set & LVM 
> vg.
> 


That was my intent...take out all of them, and leave two that have been
switched to 500gb drives.
Then grow them, then change things, then add the spare 500gb cloning the new
sizes.
Or just change them all to 500gb drives with the spare, having cloned the
raids, then grow the raid device.

So...that is the way to do it then? Sound good?

_______________________________________________
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