Re: RAID0 expansion

From: James Antill (james@and.org)
Date: Thu Feb 03 2000 - 02:48:37 EST


Sasi Peter <sape@iq.rulez.org> writes:

> On Wed, 2 Feb 2000, Stephen C. Tweedie wrote:
>
> > On Tue, 1 Feb 2000 22:15:23 +0100 (CET), Sasi Peter <sape@iq.rulez.org>
> > said:
> > > A while ago I have seen someone here talk about a tool for
> > > nondestructively adding a new partition to an existing raid0 set,
> > > which afterwards seems to have grown in size, but all the contained
> > > information is still on it, and if using ext2 on it, w/ e2resize it
> > > also can be expanded.
> > Look for the logical volume manager (LVM) code, at
> > http://linux.msede.com/lvm/
>
> Unfortunatelly I have an active working raid0 set, and no LVM installed.
> Somebody once had a program (no I could not find it in the archives), to
> resize this, and I have got no facility to do a backup, and install LVM.
> And I guess without a backup LVM will not help me...
>
> Anybody, who remembers that?

 First off, you probably want to try linux-fs@.

 As to your question, I seem to remember someone writing something
that would add/delete _blocks_ to/from _the end_ of an ext2/raid0[1]
fs.
 Obviously the marked points are the important ones. Ie. If you have
been using a drive and want to "resize" it downwards[2], then you had
to move all of your data to the begining of the disks and then remove
any completely free blocks from the end.

 In short your best bet is still probably:

 1. Buy offline storage.
 2. tar -c
 3. fdisk/cfdisk
 4. tar -x

 I'd be happy to be proved wrong though.

[1] The raid0 comprising of ext2 fses.

[2] There's got to be a better way of expressing that, but I hope you
get the idea (that the fs should get smaller).

-- 
James Antill -- james@and.org
I am always an optimist, but frankly there is no hope.
   -Hosni Mubarek

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:09 EST