Christoph Höger wrote:> I have a more general question about unionfs: > I want to build a xen machine with a save base-image and a temporary > write image that can be saved or thrown away on demand. So I thought > about using unionfs to mount both these images as /. > The problem is: unionfs does not mount images but directories that are > already mounted. So I would need to mount those two images somewhere > else. Obviuosly this would happen somewhere above / (e.g. /workimage and > /rootimage). Could unionfs handle this? > Or is there even a better way?LVM + snapshots. http://tldp.org/HOWTO/LVM-HOWTO/snapshotintro.html BTW, there is a fedora-xen list for discussion of Xen issues. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
Richard W.M. Jones wrote:> Christoph Höger wrote: >> I have a more general question about unionfs: >> I want to build a xen machine with a save base-image and a temporary >> write image that can be saved or thrown away on demand. So I thought >> about using unionfs to mount both these images as /. >> The problem is: unionfs does not mount images but directories that are >> already mounted. So I would need to mount those two images somewhere >> else. Obviuosly this would happen somewhere above / (e.g. /workimage >> and /rootimage). Could unionfs handle this? >> Or is there even a better way? > > LVM + snapshots. > > http://tldp.org/HOWTO/LVM-HOWTO/snapshotintro.html > > BTW, there is a fedora-xen list for discussion of Xen issues.There is, but this doesn''t seem to me to be a xen question; take xen out of it, and the question still stands. That said, there is z xen solution documented in /usr/share/doc/xen-3.0.3/pdf/user.pdf " 6.3 Using LVM-backed VBDs" in my Sl5 system. Read the information for the version of xen you''re running. -- Cheers John -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-)