Once I found out about the e2fsadm command, I stopped using lvextend,
because e2fsadm does everything for you:
umount the file system
e2fsadm -L +1G /dev/vg01/lv0l1
mount the file system

It does the lvextend, then the fsck that resize2fs always requires, then the
resize2fs.  Lovely, and works just fine on ext3 file systems as well.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Hugo
Rivera
Sent: Thursday, March 17, 2005 11:14 AM
To: [email protected]
Subject: Re: LVM Question


I'm sorry, I forgot the main step, before you mount your file system you
MUST resize your logical volume:

resize2fs  /dev/vgroup/volx

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to