This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] about lvm filesystem...........

Mauro wrote:

When I create xen virtual machines on lvm I need to create a
filesystem on lvm container?

I assume you mean you create an LVM LV in Dom0 and use that as a virtual disk for a DomU ? The answer is that you treat the disk inside DomU just as you would treat a real disk on a real machine - you optionally partition it, and create filesystems as required.

You have more flexibility with Xen as you can create multiple LVs in Dom0 and give the DomU multiple virtual disks - and then create a filesystem in each disk without partitioning it. This is what I do as it gives great flexibility and the filesystems can be easily mounted in Dom0 if required (eg to repair it, with the DomU shut down of course).

Others create one big LV and partition it within the DomU the same as you would with a real disk - it's more logical within the DomU, works with OS installers, but is harder if you want to mount a filesystem in Dom0.
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

Xen-users mailing list