[linux-lvm] resize an ext3 on an LV

Jan-Benedict Glaw jbglaw at lug-owl.de
Wed Jan 29 10:36:01 UTC 2003

On Wed, 2003-01-29 09:32:33 -0600, Alexander Lazarevich <alazarev at itg.uiuc.edu>
wrote in message <Pine.LNX.4.44.0301290929500.25534-100000 at zeus.itg.uiuc.edu>:
> The LV is already expanded. All I want to do is resize the ext3 filesystem 
> to the new size of the LV, which is now 275GB.
> But I need to know the commands. Or some hint of what the command is. Is 
> it just "resize2fs /dev/homevg/userslv"? I've seen some posts saying that 

That's what I used several times. That's on a file server doing
kernel.org/debian.org/... rsync mirrors. Those where added one by one,
each time linked with at least one (for debian.org, this reads 4)
extending sessions...

> using resize2fs will destroy an ext3 filesystem, is that not true? Will 
> the journal stay intact? What's the command that you use?

For me (LVM1 metadata on 2.2.19-rcX patched to run with lvm2 userland +
device-mapper), resize2fs just "worked" with ext3. However, LVM version
should be irrelevant (sp?) wrt. to a (non)functional resize2fs. For me,
it did it's job.


   Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur
    fuer einen Freien Staat voll Freier Bürger" | im Internet!
   Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20030129/1247db02/attachment.sig>

More information about the linux-lvm mailing list