NFS for ISO and VDI doesn't recognize subdirectory path
-
So, I have created a sub directory in my NFS share, then I use that in sub directory field in NFS share and it doesn't recognize that. I put manually ISO in field, and it still used main mount path.
If I create dataset, then I can use that as NFS share main mnt point, but I can't use sub directory feature.
I hope I am making sense. I am new to XCP-ng. Coming from proxmox so testing out before moving completely.

Let me know if I am missing something.
-
@testingall Have you clicked the search button at the end of the subfolder line?
-
@Darkbeldin I did my friend. Thanks for looking into problem. I really appreciate.
Edit: But it doesn't search.
-
Question for @fohdeesha
What about permissions too?
-
@Darkbeldin Tried to search the subdirectory like described in this github post with XOA free and a Debian 11 NFS server, but it does indeed not show the subdirectory.
-
@olivierlambert I was able to search main mount point when I click search under server address. All sub directory has same permission as top level folder/dataset in truenas.
-
@Darkbeldin If you rebuild the probing from SMlog and repeat that on the XCP-ng host, you can see the subdirectory (and a textfile I put there)
[17:16 H01 ~]# mount -o soft,proto=tcp,vers=3,acdirmin=0,acdirmax=0 10.10.70.143:/tmp/srv/nfs/ /tmp/nfs [17:16 h01 ~]# ls /tmp/nfs -l --color=never drwxr-xr-x 2 root root 4096 20. Apr 16:41 test -rw-r--r-- 1 root root 0 20. Apr 17:16 textfile [17:21 h01 ~]# umount /tmp/nfsH01is the XCP-ng host and10.10.70.143the NFS server.
Or should that be done from XOA?Edit: I was lazy and entered the commands, automaticaly using the letter l in the ls command while the SMlog says 1. Maybe that is related.
-
@Darkbeldin Mh, in the SMlog it is ls /tmp/nfs -1 --color=never. Thats the number one but should that be the letter l? With the number one,
lsreturns.[17:31 h01 ~]# ls /tmp/nfs -1 --color=never test textfile
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login