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] unionfs with xen

> Pallab Chakrabarty wrote:
>>> Are you trying to have a common filesystem image
>>> shared by many DomUs, and use unionfs to allow
>>> each DomU to have it's own modified version ?
>> YES

> Now, if you are prepared to do the unionfs stuff in the DomU then I'd guess
> you could export the shared block device read-only to each guest, plus a
> separate read-write volume per guest to union with it.

You didn't mention what your primary goal is.
If your goal is to save space, then IMHO it's not worthed.

One, as Simon mentioned, you need to do union in domU. That means
modifying domU. Too much effort for a general purpose domU. Unless of
course if your goal is to create something like Live CD where unionfs
features is essentional, and performance doesn't really matter.

Two, an easier approach (as in you don't need to have a special domU)
to save space would be to use tap:qcow, LVM snapshot, or zfs-backed
zvol. All three has their own advantage and limitations. If your goal
is testing purposes for Linux PV domUs, qcow would be easiest.



Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>