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

RE: lvreduce and lvextend

I'm not sure what Shankar posted disagrees with the manpage quote.  I guess I'm missing something.

Rob Marti

-----Original Message-----
From: redhat-list-bounces redhat com [mailto:redhat-list-bounces redhat com] On Behalf Of Eugene Vilensky
Sent: Wednesday, March 24, 2010 12:37 PM
To: General Red Hat Linux discussion list
Subject: Re: lvreduce and lvextend

On Tue, Mar 23, 2010 at 12:27 AM, Shankar Jha <shankar jha gmail com> wrote:
> Hi,
> Resizing logical volumes:
> Task-1: Resize 'logvolopt' to 20Gb
> #lvresize -l 20GB /dev/volgroup001/logvolopt
> #lvdisplay
> #df -h
> resize the file system to update the inode table on the logical volume
> to account for new storage in 'logvolopt'
> #resize2fs -p /dev/volgroup001/logvolopt
> Note*-You may resize the file system online if the following are met:
> a). 2.6xkernel series
> b). must be formatted with ext3 format.

So is this part of the manpage out of date?

" The  resize2fs program will resize ext2 or ext3 file systems.  It
can be used to enlarge or shrink an
       unmounted file system located on device.  If the filesystem is
mounted, it can be used to expand  the
       size  of the mounted filesystem, assuming the kernel supports
on-line resizing.  (As of this writing,
       the Linux 2.6 kernel supports on-line resize for filesystems
mounted using ext3 only.)."

redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe

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