Adding disks to expand raid

sean finney sean at stickybit.se
Tue Dec 12 01:16:56 CST 2006


On Mon, 2006-12-11 at 22:43 -0500, Ben Scott wrote:
>   You add disks to the LD (Logical Drive), and tell the controller to
> reconfigure the LD.  The LD expands in place, leaving your data
> intact.  The OS just sees the disk get bigger suddenly.  Then you make
> the partition bigger, to use the new space on the disk.  Then resize
> the filesystem to use the new space in the partition.  You can use
> parted for those steps.
> 
>   Depending on "stuff", you may need to reboot for the OS to see the
> disk space increase.

i think this is mandatory, assuming that filesystems currently on the
disk are in use.  even if the OS was able to see the sudden increase
in disk size, it can't re-read the partition table if any of the
partitions are mounted/used. and writing large chunks of data to
an incorrect partition table is really, really bad.

>   I've never tried this on Debian.

should work without too much trouble.  if the filesystem being expanded
is ext2/ext3, you'll have to grow it before mounting it (i think etch
will have resizable ext2/ext3), and thus it's the root filesystem you'll
need to use some kind of live cd/ installer/alternate root 
to do it.  if you're using reiserfs you can grow it in place while
it's mounted.

>   Make a backup first.

most definitely :)
	
	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20061212/31ad943b/attachment.bin 


More information about the Linux-PowerEdge mailing list