> AuFS cannot union mount its own mountpoint, so I don't think it's
> possible. At least I couldn't get such setups to work.
> The only way to make it work is to copy all the files from /var to
> /var.real and perform the union mount early in the boot process before
> anything is written to /var, like this:
> rm -rf /var
> mkdir /var
> mount -t aufs aufs "/var" -o dirs=3D"/tmp/var"=3Drw:"/var.real"=3Dro

I am afraid you are wrong.
Do you mean you get an error by these?
# mount /dev/sdaN /var
# mkdir /tmp/var
# mount -t aufs -o br:/tmp/var:/var none /var


J. R. Okajima

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d

Reply via email to