Navigation

    XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    SOLVED Can't access NFS in XO

    Xen Orchestra
    2
    5
    472
    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.
    • okynnor
      okynnor last edited by

      Hi,

      I am getting this error when trying to add a storage repository from XO in order to allow me to run backup-ng for the first time.

      "Command failed: mount -t nfs 192.168.1.5:/VM_ISOs /run/xo-server/mounts/8ea70d00-9303-4044-a471-e2b87947de3a -o vers=3 mount.nfs: mounting 192.168.1.5:/VM_ISOs failed, reason given by server: No such file or directory"

      I am using NFS as that's what XO suggested because I am using FreeNAS SMB. but is' version 1 smb enabled. not sure if that's the reason or not.

      The directory Im using a directory that's open and thus no authentication is needed.

      1 Reply Last reply Reply Quote 0
      • olivierlambert
        olivierlambert XCP-ng Team Admin Vates Team last edited by

        I'm confused here. Are you sure NFS is enabled on that share? Are you sure the share name is VM_ISOs? Are you sure you added XO IP address or leave it blank?

        1 Reply Last reply Reply Quote 0
        • okynnor
          okynnor last edited by okynnor

          Im sorry for any confusion. I'm also confused because NFS is enabled on VM_ISOs as shown the attached image. what should I check?Screen Shot 2019-09-17 at 8.47.50 PM.pngScreen Shot 2019-09-17 at 8.54.07 PM.png

          1 Reply Last reply Reply Quote 0
          • olivierlambert
            olivierlambert XCP-ng Team Admin Vates Team last edited by

            From XOA VM, please do a showmount -e 192.168.1.5

            1 Reply Last reply Reply Quote 0
            • okynnor
              okynnor last edited by

              Thanks. I guessed that I needed to put the full path on FreeNAS as there is not masking when expose as NSF by FreeNAS. So I put the full path as "/mnt/MybooksVolume/VM_ISOs" and that seems to have fixed the problem.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              XCP-ng Pro Support

              XCP-ng Pro Support