Re: [gentoo-user] resize raid1 array

2008-02-07 Thread Simon Turner
Getting OT but... Something I like with Raid1 is when I want to upgrade, update or modify in any way the installation. I simply degrade the array right before the modif so that I work on only one device (say sda1) and the other (say sdb1) become the pre-modif backup. The the modification is done

Re: [gentoo-user] resize raid1 array

2008-02-07 Thread Rasmus Andersen
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 n

Re: [gentoo-user] resize raid1 array

2008-02-07 Thread Simon Turner
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). But that will leave your filesystem intact at the current size, so you'll have to resize the filesystem next. I kno

[gentoo-user] resize raid1 array

2008-02-06 Thread Rasmus Andersen
Hello, I had a raid1/mirror array of two 200G disks. Then one failed and I thought 'lets get two 500G disks and just ease them in, they are cheap'. So I added the full 500G partition from the first disk to the degraded array, watched the resync, removed the remaining 200G disk and added the last 5