[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] lv extend



Jos Visser writes:
> Resizing the / file system would require considerable more work (rescue
> system et cetera).
> 
> For the really brave, there are patches that allow online resizing of
> partitions.

Not to be overly positive or anything, but the online ext2 resizing is
actually very safe.  With the exception of the fact the user tools don't
work on big-endian systems, I haven't had any bug reports on this in a
long time.  Even then, I've basically never had a bug report that ended
in data loss.

The only issue with online ext2 resizing is that changes in the latest
2.4 kernels cause an oops at resize time.  This has been fixed, and I
will probably be releasing a new ext2resize tools, mostly to update the
kernel patches.

On Mon, 5 Feb 2001, Tom Dawes-Gamble wrote:
> Or lvextend could check the mount table and offer to run
> ext2resize for you.  If that seems like a neat idea I would
> be willing to write the code.

That's what e2fsadm is for - it will resize the filesystem and the
LV at the same time.  IMHO, it is a bad idea to make lvextend do
filesystem work.  However, for some reason the 0.9 version of e2fsadm
doesn't have the online resizing changes that are in 0.8.1.  I have a
patch to fix this.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]