Hello, I think we encountered a similar issue, in our case with the /var/log/* directories (and sometimes /var/cache/man). I don't think it's a real permission issue as we get "Operation not supported" and not "Permission denied".
I noticed that it happens if the rw branch doesn't contain the directory. So in our case we solved it by creating all the directories on the rw branch, something like: # root is nfs ro mounted on / and on /boot/root # /var_rw is local disk or tmpfs # /var is mounted /var_rw=rw,/var=ro cd /boot/root/var for d in log `find log -mindepth 1`; do dst="/var_rw/$d" if [[ ! -e "$dst" ]]; then if [[ -d "$d" ]]; then echo "creating $dst" mkdir "$dst" chown --reference=$d "$dst" chmod --reference=$d "$dst" fi fi done Regards, Yair. On Wed, Mar 25 2015, "Christoph Pleger" <christoph.ple...@cs.tu-dortmund.de> wrote: > Hello, > >> Basically aufs respects all permissions on branch fs and follows its >> behaviour. Are you using aufs on NFS client with the writable NFS >> branch, or export aufs on NFS server? > > I am exporting as readonly from the NFS server and I am using aufs on the > client to make files and directories writable there. To achieve this, I > changed/added some things in the initrd nfs script: Instead of mounting > the NFS filesystem to /root, the script mounts it to /roroot, then creates > a writable aufs filesystem by > > ln -s /proc/mounts /etc/mtab > mount -t tmpfs tmpfs /tmpfs > mount -t aufs -o dirs=/tmp=rw:/roroot=ro union1 /root > >> - /proc/mounts (instead of the output of mount(8)) >> - /sys/module/aufs/* >> - /sys/fs/aufs/* (if you have them) >> - kernel configuration or /proc/config.gz (if you have it) > > This information is attached. > >> - linux kernel version >> if your kernel is not plain, for example modified by distributor, >> the url where i can download its source is necessary too. > > Debian kernel version 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 > (2015-03-01) x86_64 GNU/Linux, downloadable from > http://ftp.debian.org/debian/pool/main/l/linux/ > >> - aufs version which was printed at loading the module or booting the >> system, instead of the date you downloaded. > > aufs 3.16-20140908 > >> - configuration (define/undefine CONFIG_AUFS_xxx) > > This is part of the kernel configuration. > > Regards > Christoph > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/