On Wed, 29 Mar 2000, Seth Vidal wrote:

> hi folks,
>  ext2resize claims to be able resize ext2 partitions w/o destroying data.
> While there is evidence of this on normal drives and hw raid drives too.
> I'd like to know if it will work on sw raid drives.
> 
> anyone know?

The filesystem resides on a block-device, and that's what the filesystem
resizer knows about. Whether the block-device is MD, single disk, loopback-
mounted file on another fs, or whatever, doesn't matter.

What does matter to the resizer however is, that your block device has
actually changed it's size.  If you resize a block-device (partition or
array) the resizer can then expand the filesystem to span the entire 
device.  But the resizer cannot magically guess how you would have expanded
some block device by itself.  The resizer simply _requires_ that the 
block device is already resized.

However, with RAID you can resize linear devices (by putting in another
disk and mkraid'ing the array with the updated raidtab - causes no loss
of data if done right) and RAID-0 devices (using my raid reconfiguration
utility - found on http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/).

You cannot resize RAID-5 arrays (yet).

If resizing block-devices is somthing you do a lot, you might want to
consider using LVM instead of RAID. It's more flexible.  But from what
I can understand LVM does not provide redundancy.  If RAID-5 capability
was added to the RAID reconfiguration tool, this would be a real win.

Oh btw. I resized a 60G RAID-0 into 100+G using my reconfiguration tool
and the ext2 resizer.  Works like a charm - as it should.

-- 
................................................................
: [EMAIL PROTECTED]  : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob �stergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:

Reply via email to