LVM question

Chiu, PCM (Peter) P.C.M.Chiu at rl.ac.uk
Wed Jul 21 17:50:55 UTC 2004


Hi Ed,

Thanks for your quick response.

Your note does makes sense.

The man page on e2fsadm however did suggest the resizing of a mounted or
unmounted ext2
file system.  I think that is confusing if not incorrect.

e2fsadm tries to invoke ext2online and flags an error when it cannot find
it.
So something not quite right here.

Peter
-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Ed Wilts
Sent: 21 July 2004 17:35
To: General Red Hat Linux discussion list
Subject: Re: LVM question


On Wed, Jul 21, 2004 at 05:17:56PM +0100, Chiu, PCM (Peter)  wrote:
> I tried e2fsadm to resize a mounted ext3 file system,
> under RH EL3, but it complains

Please read my note below again.  In particular, the sentence that says the
file system must be unmounted first.  RHEL 3 does not support resizing a
mounted file system.

        .../Ed
 
> Peter
> -----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com]
> On Behalf Of Ed Wilts
> Sent: 15 July 2004 22:01
> To: vivek at gorave.net; General Red Hat Linux discussion list
> Subject: Re: LVM question
> 
> 
> On Thu, Jul 15, 2004 at 04:55:25PM -0400, Vivek Kumar wrote:
> > Hi all,
> > 
> > I created filesystems through LVM. I wanted to increase the size of one
> > filesystem   and I did the following:
> > 
> > Linuxserver# lvm
> > LVM> lvresize /dev/ROOTVG/LogVol04 --size 3000
> > 
> > Once I do that I give lvdisplay I see the increased size but when I 
> > do
> > df I don't see the increased size. Why is that?? Am I missing 
> > something
> 
> You've extended the logical volume but not the file system.  You need 
> to do a resize2fs now.  Note that the file system must be unmounted 
> before you can resize it.
> 
> In the future, use e2fsadm instead - it acts as a front-end to 
> lvextend, lvreduce, and resize2fs.
> 
> --
> Ed Wilts, RHCE
> Mounds View, MN, USA
> mailto:ewilts at ewilts.org
> Member #1, Red Hat Community Ambassador Program
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list