resizing LVM partitions

Terry Polzin foxec208 at wowway.com
Thu Oct 25 22:58:00 UTC 2007


On Thursday October 25 2007, yonas Abraham wrote:
> On 10/25/07, Dave Burns <tburns at hawaii.edu> wrote:
> > lvresize preparation - how 'ensure filesystem shrunk'?
> >
> > >From the man page:
> >
> >    lvresize - resize a logical volume
> >
> > SYNOPSIS[bla bla]
> >
> > DESCRIPTION
> >        lvresize allows you to resize a logical volume.  Be careful when
> > reduc- ing a logical volume's size,  because  data  in  the  reduced 
> > part  is lost!!!   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.
> >
> > so how do I do that? resize2fs
>
> for ext3, you are right,
>
> resize2fs followed by lvresize.
>
> I like the syetem-config-lvm for this issue actually. I have used it
> for a live ext3 systems and it worked flawlessly.
>
> But first BackUP your staff if you have very important stuff.
>
> /yonas
Actually, you've got the order of the commands jacked.

Perform the resize operation on the LV before the FS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071025/08ec0054/attachment-0001.sig>


More information about the fedora-list mailing list