On Fri, 21 Oct 2005, Charles Duffy wrote: > Subject: [Unionfs] pivot_root use case working? > Date: Fri, 21 Oct 2005 10:28:49 -0500 > > I'm tempted to try a setup where my initrd mounts two block devices; sets up a > unionfs between them; and does a pivot_root into said unionfs. (This is in the > context of a host running Xen). > > Are there any known issues with doing so? I've checked the list and found that > such issues *did* exist earlier this year, but found nothing clear wrt whether > they've been resolved.
Hi, I am using a unionfs over nfs as root filesystem of my diskless clients with unionfs-20051014-1448 and -DNFS_SECURITY_HOLE : $ cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root.old /initrd minix rw 0 0 192.168.9.3:/z/pub/np-new/7 / nfs ro,v3,rsize=4096,wsize=4096,hard,tcp,nolock,addr=192.168.9.3 0 0 none /DIFF tmpfs rw 0 0 none / unionfs rw,dirs=/DIFF=rw:/=ro,debug=0,delete=all,copyup=preserve 0 0 The original recipe is from: > From: Thorsten Zitterell <[EMAIL PROTECTED]> > Subject: Re: [Unionfs] Unionfs 1.0.12 > Date: Wed, 22 Jun 2005 16:59:18 +0200 > > This problem, also reported in > > http://www.fsl.cs.sunysb.edu/pipermail/unionfs/2005-March/000339.html > > can be circumvented by executing > > $ mount -t unionfs -o dirs=/ram/uniontmp=rw:/=ro none /ram/union > > $ mount --move /ram/uniontmp /ram/union/uniontmp > > # if necessary > $ mount --move /dev /ram/union/dev > $ mount --move /proc /ram/union/proc > # etc > > $ pivot_root /ram/union /ram/union > > in the first init script. .. Best regards, Martin Walter -- University of Freiburg i.Br. --- Germany --- Fon/Fax: +49 761 203-4651/-4643 Rechenzentrum der Universitaet, Hermann-Herder-Str.10, D-79104 Freiburg i.Br. _______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
