ubuntu-users Digest, Vol 27, Issue 84

Johan Ramm-Ericson ubuntu at ramm-ericson.se
Wed Nov 8 21:00:05 UTC 2006


On Wed, 2006-11-08 Tony Arnold wrote: 
> Johan Ramm-Ericson wrote:
> > On Wed, November 8, 2006 Andy wrote:
> > 
> >> On 08/11/06, Rares Vernica <rvernica at gmail.com> wrote:
> >>> gparted just give me an error I did not know what to do with it.
> >> Did you make sure the partition you where resizing was not mounted at
> > the
> >> time?
> >> I don't think you can resize a partition if its mounted (if you can its
> > probably a bad idea to).
> >> - Andy
> > 
> > You can resize a partition online if it is a logical volume ("man lvm"  or
> > "sudo apt-get install lvm2 ; man lvm").
> 
> You can certainly resize a logical volume on line, but you also have to
> resize the file system in the logical volume, and that depends on the
> type of the file system. I recently expanded a reiserfs system in a
> logical volume while it was mounted wit no problem. Shrinking is a
> different matter.

We had already covered resizing a file system earlier on in the thread.
 
> And to be really picky, a logical volume is not a partition!

Fair enough - my bad, I'll try to be more precise next time.

/johan




More information about the ubuntu-users mailing list