resizing LVM partitions

Matthew Saltzman mjs at CLEMSON.EDU
Fri Oct 26 02:15:18 UTC 2007


On Thu, 2007-10-25 at 20:13 -0400, yonas Abraham wrote:
> On 10/25/07, Terry Polzin <foxec208 at wowway.com> wrote:

> >
> > Perform the resize operation on the LV before the FS
> 
>  I am quit  sure that you have to  shirk the FS first before you
> shirink the LV.  doing the otherway round can lead to lose of data.
> Read the lvresize man page to be sure "  You should therefore ensure
> that any filesystem on the volume is shrunk first so that the extents
> that are to be removed are  not  in use."

Shrink the FS first, then the LV.  Grow the LV first, then the FS.
Nothing else makes any sense at all.

> 
> To avoid this confusion I like the system-config-lvm GUI. It does all
> for you in the correct order.
> 
> /Yonas
> 
> 
-- 
                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the fedora-list mailing list