RE: LVM question

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

 



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@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
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@xxxxxxxxxx 
> [mailto:redhat-list-bounces@xxxxxxxxxx]
> On Behalf Of Ed Wilts
> Sent: 15 July 2004 22:01
> To: vivek@xxxxxxxxxx; 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@xxxxxxxxxx
> Member #1, Red Hat Community Ambassador Program
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

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


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


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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux