[OVERLAYFS] Can I create file in directory on lower layer located on NFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Miklos,

We are developing a docker related system that requires to union
directories on NFS and local filesystem.  I successfully created a
overlayfs that has lower layer located on NFS and upper layer located
on the local file system. But when I tried to create new files in the
directory located on NFS, I got error message: "Operation not
supported". Does that mean I can not create new files inside the
directory located on NFS? But base on the documentation of overlayfs,
lower layer does not need to be writable.

Steps to reproduce the problem are (/mnt/nfs is the NFS mount,
/home/zc is the local mount)

1. create directory "/mnt/nfs/lower/lower_dir"

2. create directories "/home/zc/upper/upper_dir", "/home/zc/work" and
"/home/zc/merged"

3. create overlayfs by running command

mount -t overlay overlay -o\
lowerdir=/mnt/nfs/lower,\
upperdir=/home/zc/upper,\
workdir=/home/zc/work \
/home/zc/merged

4. Try to create new file "/merged/lower_dir/test.txt" and get error
message "Operation not supported"

Thanks,
Charles
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux