Hi all
probably I missed something: I would like to overlay a read only mounted
nfs share with a local directory. That's fine, including writing in the
overlay directory itself. But if write to a sub directory of the
overaly, I get 'Operation not supported'.
I've played around with 'udba' and 'create', google'd a lot, but found
nothing helpful.
And yes, if the second branch ('read only' directory) is not a NFS
share, but a local directory, everything behaves like expected: writing
to subdirectories is fine.
Any ideas?
Thanks for your comments and hints.
CU
Carsten
Details:
$ mount -t nfs -o ro server:/export/home /mnt
$ ls /mnt
user1
user2
$ mkdir -p /overlay/work /overlay/merge
$ mount -t aufs -o br=/overlay/work=rw:/mnt=ro none /overlay/merge
$ touch /overlay/merge
$ touch /overlay/merge/user1/new
touch: cannot touch '/overlay/merge/user1/new': Operation not supported
$ uname -a
Linux webwork16 4.4.0-135-generic #161-Ubuntu SMP Mon Aug 27 10:45:01
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg --list | grep aufs
aufs-tools 1:3.2+20130722-1.1ubuntu1
$ lsmod | grep aufs
aufs 217088 0
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
--
Carsten Rose