[linux-lvm] lvm on a single big partition or just a single big partition?

Stuart D. Gathman stuart at bmsi.com
Wed Jun 3 18:42:29 UTC 2009


On Wed, 3 Jun 2009, Zhengquan Zhang wrote:

> For one harddrive I often create a /boot parition that is not lvm and
> create a huge partition on the rest of the harddrive for PV of lvm. Now
> I am thinking what is the difference between doing partition like this
> and just a single big partition without lvm?

With LVM, you can create many logical volumes.  If you only ever create one
logical volume that fills the entire PV, and you aren't spanning drives
(multiple PVs) or mirroring, then LVM is not doing anything for you.

Even with just one LV, leave some space for a snapshot.  Then you can
take more consistent backups by creating a snapshot of your main LV
and backing that up instead.  Put your swap space in LVM as well.

One reason to create multiple LVs is for virtual machines.  If you
run Xen, VMWare, or other virtual machine, then each virtual machine
should have its own LVs for disk drives.  This is more efficient
than using a filesystem file for a virtual disk.

PS.  I wonder if Grub will ever support LVM?  Does LILO work with LVM?

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the linux-lvm mailing list