resizing LVM partitions

yonas Abraham yabraham2 at gmail.com
Thu Oct 25 22:11:47 UTC 2007


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




More information about the fedora-list mailing list