What are the advantages of LVM?

Dick Davies rasputnik at gmail.com
Mon May 22 15:19:19 UTC 2006


On 22/05/06, Michael T. Richter <ttmrichter at gmail.com> wrote:

> Perhaps we've got a clash of vocabulary.
> What I mean by "dynamic resizing" is "oh, this partition
> is too big and this other is too small.
> Please, Mr. LVM, change them for me.  What you described sounds like
> it's even more trouble than just tar/repartition/untar.

Well, you can grow/shrink the LV without worrying about other LVs.

With partitions, you'd need to shuffle/destroy adjacent partitions
to grow/shrink them.
And you couldn't make use of any freed-up space on a disk
(after moving /home to a bigger disk, say)
without either creating yet another partition, or merging it with an
existing one on that disk
(destroying data in the process).

Most importantly IMO, you can grow your LVs and their filesystems
without needing to unmount the filesystem. I don't often need to shrink
a filesystem  (and the fact I can't do that online is a problem
with linux filesystems, not LVM).

-- 
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/




More information about the ubuntu-users mailing list