LVM question

Ed Wilts ewilts at ewilts.org
Wed Jul 21 16:34:51 UTC 2004


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





More information about the redhat-list mailing list