Re: alas for thee, EVMS

Alasdair G Kergon <[email protected]> Sun, 30 Nov 2008 18:54:31 +0000
Newsgroups gmane.linux.evms.devel
Organization Red Hat UK Ltd. Registered in England and Wales, number 03798903. Registered Office: Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE.
Message-ID <[email protected]>
On Fri, Nov 28, 2008 at 04:30:08AM -0500, Andrew Schulman wrote:
> Today I needed to shrink an LVM2 volume group that lives on top of an encrypted
> partition.  Here are the steps I had to go through:

> 4. Check the file system on the volume I wanted to shrink.
> 5. Shrink the file system on the volume.
> 6. Shrink the logical volume.
> 7. Resize the file system again, to make it match the size of the logical
> volume, which I made a little bigger than the file system to avoid trouble.

lvresize -r should cover those 4 steps.

Alasdair
-- 
[email protected]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Evms-devel mailing list
[email protected]
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel