RE: lvreduce and lvextend



Rob wrote:
Ah. The other email, IE the one I replied to, didn't have Task 2, just
task 1.

I'm not sure if shrinking online is supported or not...

I, for one, would *not* write code to allow that. The chances of toasting
your f/s, and or files on it, are far too close to 1:1.

mark
Rob Marti

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

On Wed, Mar 24, 2010 at 12:47 PM, Marti, Robert <RJM002@xxxxxxxx> wrote:
I'm not sure what Shankar posted disagrees with the manpage quote.  I
guess I'm missing something.

Rob Marti



Shankar is offering this:

Task-2: Shrink(resize) 'logvolopt' to 15GB
#lvresize -L 15GB /dev/volgroup001 /logvolopt
#lvdisplay
#df -h
for online
#resize2fs -p /dev/volgroup001 /logvolopt
#df -h

online shrinking is not something the the manual page RESIZE2FS(8) offers.

--
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



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