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.
Brett