How to resize RAID-1 partitions (mdraid)

Sam Varshavchik mrsam at courier-mta.com
Sat May 29 14:31:11 UTC 2010


I have a rack server with two drives, partitioned identically and assembled 
into RAID-1 arrays using mdraid.

No CD/DVD drive. There is a USB port. Don't know if the server's BIOS will 
boot off a USB drive. I upgrade the server using pxeboot.

I want to juggle these partitions around. It's not clear to me if parted 
will handle RAID partitions. I think I should resize each partition on each 
drive identically, and parted should end up producing identical contents if 
it's asked to resize two identical partitions to the same size, right? But 
what about the mdraid metadata on each partition? Where does mdraid keep it, 
at the beginning or at the end of each partition? If I resize the partition 
with parted, is it going to blow away my raid metadata?

And how am I going to pull this off? My recollection is that I don't get 
prompted for rescue mode if I launch pxeboot, the installer jumps straight 
into anaconda. I suppose I can let anaconda come up, switch to an alt-vt, 
dismount /mnt/sysimage, and use parted.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100529/9a5bfb30/attachment.bin 


More information about the users mailing list