Dear all,
   I've been using aufs3 with linux 3.18.1 for quite some time now. Since last
   week I'm trying to upgrade to aufs4 and have compiled a kernel in both the
   aufs-4.4 and aufs-4.x-rcN branches (the latter resulting in linux-4.5. I did
   (make) install the aufs-util accordingly.
   As soon as I boot either aufs-4.4 or aufs-4.x-rcN I have a problem with
   sub-directories and copy-on-write branches of my filesystem. Where in aufs3
   this is working.
   For example, my root filesystem is mounted read-only, as such /root is also
   a read-only directory.
   # ls /root -l
   # touch /root/t
   touch: cannot touch '/root/t': Read-only file system
   total 8
   drwxr-xr-x 3 root root 4096 Feb 21 20:32 def
   drwxr-xr-x 2 root root 4096 Feb 21 20:32 test
   I then use the following command to mount /mnt:
   # mount -t aufs -o br:/tmp/rw=rw:/root=ro none /mnt
   then:
   # touch /mnt /t
   # ls /mnt -l
   total 8
   drwxr-xr-x 3 root root 4096 Feb 21 20:32 def
   -rw-r--r-- 1 root root    0 Feb 21 20:33 t
   drwxr-xr-x 2 root root 4096 Feb 21 20:32 test
   # touch /mnt/test/t
   touch: cannot touch '/mnt/test/t': Operation not supported
   Best regards,
   Marc Dirix
   Attached is my config.gz
   /proc/mount:
   /dev/root / ext2 ro,relatime,errors=continue 0 0
   devtmpfs /dev devtmpfs rw,relatime,size=126624k,nr_inodes=31656,mode=755 0 0
   sysfs /sys sysfs rw,relatime 0 0
   tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=25348k,mode=755 0 0
   tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
   proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
   tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=50680k 0 0
   devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
   tmpfs /tmp tmpfs rw,relatime 0 0
   tmpfs /vardynamic/run tmpfs rw,relatime 0 0
   tmpfs /vardynamic/local tmpfs rw,relatime 0 0
   tmpfs /vardynamic/cache tmpfs rw,relatime 0 0
   tmpfs /var/spool tmpfs rw,relatime 0 0
   tmpfs /var/log tmpfs rw,relatime 0 0
   aufs /run aufs rw,noatime,si=e84e2694 0 0
   aufs /var/cache aufs rw,noatime,si=ec82fe94 0 0
   tmpfs /var/lib/dhcp tmpfs rw,relatime 0 0
   tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
   tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=50680k 0 0
   rpc_pipefs /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
   192.168.1.10:/public /nas nfs
   rw,noatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=60
   0,retrans=2,sec=sys,mountaddr=192.168.1.10,mountvers=3,mountport=55620,mount
   proto=udp,local_lock=none,addr=192.168.1.10 0 0
   /dev/sdb1 /home xfs rw,noatime,attr2,inode64,noquota 0 0
   /dev/sdb1 /srv xfs rw,noatime,attr2,inode64,noquota 0 0
   192.168.1.10:/home/marc             /home/marc/storage             nfs
   rw,noatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=60
   0,retrans=2,sec=sys,mountaddr=192.168.1.10,mountvers=3,mountport=55620,mount
   proto=udp,local_lock=none,addr=192.168.1.10 0 0
   none /mnt aufs rw,relatime,si=eca6f294 0 0
   /sys/fs/aufs/si_e84e2694
   /sys/fs/aufs/si_e84e2694/br0
   /sys/fs/aufs/si_e84e2694/br1
   /sys/fs/aufs/si_e84e2694/xi_path
   /sys/fs/aufs/si_e84e2694/brid0
   /sys/fs/aufs/si_e84e2694/brid1
   /sys/fs/aufs/si_ec82fe94
   /sys/fs/aufs/si_ec82fe94/br0
   /sys/fs/aufs/si_ec82fe94/br1
   /sys/fs/aufs/si_ec82fe94/xi_path
   /sys/fs/aufs/si_ec82fe94/brid0
   /sys/fs/aufs/si_ec82fe94/brid1
   /sys/fs/aufs/si_eca6f294
   /sys/fs/aufs/si_eca6f294/br0
   /sys/fs/aufs/si_eca6f294/br1
   /sys/fs/aufs/si_eca6f294/xi_path
   /sys/fs/aufs/si_eca6f294/brid0
   /sys/fs/aufs/si_eca6f294/brid1

Attachment: config.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140

Reply via email to