Hi,
happy OMV user for many years. I export one filesystem via NFS to a client since I use symlinks and CIFS can't deal with them.
All of this worked without (too many) issues for years, but since a few days ago it stopped working. I can still mount the NFS share
on the client, but when I try to access the directory I get
# ls /nas/videos
ls: cannot open directory '/nas/videos': Permission denied
no matter which local user I use. I didn't change anything (tm). The nfs share is mounted with:
192.168.178.59:/videos on /nas/videos type nfs4 (rw,relatime,vers=4.2,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.178.125,local_lock=none,addr=192.168.178.59)
The problem is that I really struggle to find a good starting point for debugging. I created a new
folder and shared it via NFS. Now when I try to mount this one I can access the folder without the
permission error, but I don't see any content in there.
192.168.178.59:/test on /mnt type nfs4 (rw,relatime,vers=4.2,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.178.125,local_lock=none,addr=192.168.178.59)
I feel that I screwed my config pretty badly and don't know how to continue. Mount via CIFS works properly,
but as said I don't want to use this due to the symlinks. Any pointers how I can continue?
omv-confdbadm read --prettify conf.service.nfs
{
"enable": true,
"shares": {
"share": [
{
"client": "192.168.178.125",
"comment": "",
"extraoptions": "rw,subtree_check,no_root_squash,async,insecure",
"mntentref": "8530e975-7842-4515-a41f-05b11c58792a",
"options": "rw",
"sharedfolderref": "8a881ff3-5ea4-401e-9798-c1bd7a36ab54",
"uuid": "dc6b0eea-2939-453a-b491-bd3a898c5fca"
},
{
"client": "192.168.178.125",
"comment": "",
"extraoptions": "subtree_check,secure",
"mntentref": "ead408f9-b975-4be0-933e-8a6cc6a5dea3",
"options": "rw",
"sharedfolderref": "bd1ac162-4c33-4097-9b28-cf936ef6d19a",
"uuid": "819f33b0-8705-4aef-ace7-eb5021a1d48d"
},
{
"client": "192.168.178.125",
"comment": "",
"extraoptions": "subtree_check,insecure",
"mntentref": "5a0527ee-3866-4469-a244-389704b8b1b2",
"options": "rw",
"sharedfolderref": "611bd4dc-490a-417d-9561-3f3f112ede6a",
"uuid": "3eac0df1-cf2d-4a81-9b36-9f6f98793d3c"
},
{
"client": "192.168.178.125",
"comment": "",
"extraoptions": "subtree_check,insecure",
"mntentref": "91e32268-bcd9-464c-ab0c-9a8aab6faf58",
"options": "rw",
"sharedfolderref": "98c3dc31-b88e-478c-b846-72b5b66609db",
"uuid": "bfc7985a-a284-492a-a1c4-9aee7908c591"
}
]
},
"versions": "3,4,4.1,4.2"
}
Display More