On Thursday October 25 2007, yonas Abraham wrote: > On 10/25/07, Dave Burns <tburns@xxxxxxxxxx> 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
Attachment:
signature.asc
Description: This is a digitally signed message part.