On Thu, Feb 07, 2008 at 06:50:57AM -0500, Simon Turner wrote:
> Hi Rasmus,
>   you will first need to resize your md device.  Using mdadm, that
> would be done with --grow (check the man, `mdadm /dev/md123 --grow
> --size=500G` should do the trick).

Ah yes, thanks for that. For some reason I had not noted that use of
--grow... mdadm /dev/md0 --grow --size=max did the trick nicely thanks.

>   But that will leave your filesystem intact at the current size, so
> you'll have to resize the filesystem next.  I know ext2&3 support
> "growing" but I don't know about other filesystems.

I use LVM(2) and ext3 so I am ok there.

>   However, since it's a simple raid one, you could create a new raid
> device with one drive, format it at 500G, copy the stuff over from the
> old raid1, drop the old raid1 device and add it to the new one.

Yes, thats true. But since this is my root, var, home, etc etc that
would require me to go to single-user mode for the duration of the copy.
The resync-in-background is much nicer :)

Thanks for your help.

Cheers,
  Rasmus
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to