Re: How to resize RAID-1 partitions (mdraid)

2010-05-30 Thread Roberto Ragusa
Sam Varshavchik wrote: > Roberto Ragusa writes: > >> I never used parted, so if I had to achieve what you want I'd try >> something >> completely different. > > You have to use something to adjust the size of the ext3 filesystem. > Growing the underlying mdraid device is not sufficient. Once the

Re: How to resize RAID-1 partitions (mdraid)

2010-05-29 Thread Sam Varshavchik
Roberto Ragusa writes: I never used parted, so if I had to achieve what you want I'd try something completely different. You have to use something to adjust the size of the ext3 filesystem. Growing the underlying mdraid device is not sufficient. Once the underlying block device is larger, th

Re: How to resize RAID-1 partitions (mdraid)

2010-05-29 Thread Roberto Ragusa
Sam Varshavchik wrote: > The disk partitions are as follows: > > Device /dev/sda1 /boot 100 megabytes > /dev/sda2 / 20 gigabytes > /dev/sda3 swap - 6 gigs > /dev/sda4 Extended partition > /dev/sda5 /home -- remaining space, large > > The layout of /dev/sdb is the same, and each partition

Re: How to resize RAID-1 partitions (mdraid)

2010-05-29 Thread Sam Varshavchik
Roberto Ragusa writes: Sam Varshavchik wrote: That bad news, since these are existing partitions, so presumably the raid metadata is at the end. The good news is that I took a look at the current parted online manual, and it looks like there's some support in parted now. The current version of

Re: How to resize RAID-1 partitions (mdraid)

2010-05-29 Thread Roberto Ragusa
Sam Varshavchik wrote: > That bad news, since these are existing partitions, so presumably the > raid metadata is at the end. > > The good news is that I took a look at the current parted online manual, > and it looks like there's some support in parted now. The current > version of parted seems t

Re: How to resize RAID-1 partitions (mdraid)

2010-05-29 Thread Sam Varshavchik
Bruno Wolff III writes: On Sat, May 29, 2010 at 10:31:11 -0400, Sam Varshavchik wrote: 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 i

Re: How to resize RAID-1 partitions (mdraid)

2010-05-29 Thread Bruno Wolff III
On Sat, May 29, 2010 at 10:31:11 -0400, Sam Varshavchik wrote: > > 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

How to resize RAID-1 partitions (mdraid)

2010-05-29 Thread Sam Varshavchik
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