Hello everybody,
I'm new to this list and just try my first steps with aufs.
Using Ubuntu 12.04 the installation was simple, I only apt-got aufs-tools -
now it basically seems to work. But I have problems with the refresh of
changes or the order, it's not clear for me. The aim is to overly some
web-pages under development in the directory "platform" by some other
web-pages handled in the directory "project", leading to a read-only union
in "deployment" just for rsync them to the remote machine.
Here the steps to reproduce:
# mkdir platform project deployment
# sudo mount -t aufs -o br:./project=ro:./platform=ro none ./deployment
# echo proj-content > project/a
# echo platform-content > platform/a
# cat deployment/a
proj-content
^---- fine, that is what I expected, the file "a" in platform directory will
be overlay-ed by the file in project dir
# echo platform-content > platform/b
# echo proj-content > project/b
# cat deployment/b
platform-content
^---- that is suspicious for me, I modified the file "b" in platform
directory first, so project changes are ignored???
# sudo mount -o remount ./deployment
# cat deployment/b
proj-content
^--- now it's fine again, the remount brought back expected behavior
Do I really need to do a remount every time I update some files to make sure
the expected content is visible in the union directory?
Are there some more parameters needed during mount to make the updates
appearing in union??
(I already played with "udba=notify," bit it only claims about "bad option")
Is there some important progress made and I need to install a newer version
of aufs/aufs-tools on top of my Preceise???
Or am I completely wrong with my expectations about union file-systems????
Thanks to all
Achim
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/