[prev in list] [next in list] [prev in thread] [next in thread] 

List:       evms-devel
Subject:    Re: [Evms-devel] alas for thee, EVMS
From:       Alasdair G Kergon <agk () redhat ! com>
Date:       2008-11-30 18:54:31
Message-ID: 20081130185431.GJ13235 () agk ! fab ! redhat ! com
[Download RAW message or body]

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
-- 
agk@redhat.com

-------------------------------------------------------------------------
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
Evms-devel@lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic