[CentOS-virt] img partitioning & swap

Sun Nov 1 06:13:53 UTC 2009
Christopher G. Stach II <cgs at ldsys.net>

----- "Brett Worth" <brett at worth.id.au> wrote:

> Adam wrote:
> 
> > What do you guys use for your partition scheme for .img files? I
> see
> > examples where people create another .img to use it as swap. I was
> gonna
> > put lvm inside the .img and create separate filesystems in logical
> > volumes(/var, /home, /opt, /tmp and swap).
> 
> I'd recommend not using LVM inside the images because if you just have
> a raw disk image in
> there with regular partitions you can mount it on dom0 (with losetup)
> for maintenance.  I
> don't think that would be possible with LVM.

But it is.

-- 
Christopher G. Stach II