Hi,
I manage to create a NFS share with OMV and permissions seems OK.
I can mount it, create files (touch) and folders.
But, I got an issue with folder. The folder is created correctly but if I do, just after, a "ls dir", I get a "Stale file handle".
Code
rudybzh@docker:/mnt$ sudo mount -t nfs 192.168.1.4:/NAS /mnt/temp/
rudybzh@docker:/mnt$ mkdir /mnt/temp/dir
rudybzh@docker:/mnt$ ll /mnt/temp | grep dir
drwxrwsr-x 2 rudybzh users 2 Mar 28 09:32 dir
rudybzh@docker:/mnt$ ll -n /mnt/temp | grep dir
drwxrwsr-x 2 1000 100 2 Mar 28 09:32 dir
rudybzh@docker:/mnt$ id
uid=1000(rudybzh) gid=1000(rudybzh) groups=1000(rudybzh),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),109(netdev)
rudybzh@docker:/mnt$ ll /mnt/temp/dir
ls: reading directory '/mnt/temp/dir': Stale file handle
total 0
Alles anzeigen
On the server side, the NFS config is as follow :
Code
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/export/NAS 192.168.1.8/32(fsid=xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,rw,subtree_check,insecure,all_squash,anonuid=1000,anongid=100)
# NFSv4 - pseudo filesystem root
/export 192.168.1.8/32(ro,fsid=0,root_squash,no_subtree_check,hide)
Any ideas of what it could be please ?
It's 100% reproductible on my system... whatever directory I create, I got this error.
Thanks.