XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    NFS for ISO and VDI doesn't recognize subdirectory path

    Scheduled Pinned Locked Moved Xen Orchestra
    8 Posts 4 Posters 803 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      testingall
      last edited by

      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.

      Screenshot 2023-04-19 102950.png Screenshot 2023-04-19 102912.png

      Let me know if I am missing something.

      DarkbeldinD 1 Reply Last reply Reply Quote 0
      • DarkbeldinD Offline
        Darkbeldin Vates 🪐 Pro Support Team @testingall
        last edited by

        testingall Have you clicked the search button at the end of the subfolder line?

        T gskgerG 4 Replies Last reply Reply Quote 0
        • T Offline
          testingall @Darkbeldin
          last edited by testingall

          Darkbeldin I did my friend. Thanks for looking into problem. I really appreciate.

          Edit: But it doesn't search.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Question for fohdeesha

            What about permissions too?

            T 1 Reply Last reply Reply Quote 0
            • gskgerG Offline
              gskger Top contributor @Darkbeldin
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • T Offline
                testingall @olivierlambert
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • gskgerG Offline
                  gskger Top contributor @Darkbeldin
                  last edited by gskger

                  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/nfs
                  

                  H01 is the XCP-ng host and 10.10.70.143 the 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.

                  1 Reply Last reply Reply Quote 0
                  • gskgerG Offline
                    gskger Top contributor @Darkbeldin
                    last edited by gskger

                    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
                    
                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post