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

    New install can't add remote NFS

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    3 Posts 2 Posters 881 Views 1 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.
    • M Offline
      mike.smith
      last edited by mike.smith

      Just finished a fresh install and when I go to add a NFS share I get the following message. I setup the yarn forever-service to run as Root.

      remote.test
      {
        "id": "911a6d1a-30e0-49cd-9089-a9200a93812d"
      }
      {
        "shortMessage": "Command failed with exit code 32: mount -o vers=3 -t nfs 10.0.2.232:/volume1/NAKIVO_Repository /run/xo-server/mounts/911a6d1a-30e0-49cd-9089-a9200a93812d",
        "command": "mount -o vers=3 -t nfs 10.0.2.232:/volume1/NAKIVO_Repository /run/xo-server/mounts/911a6d1a-30e0-49cd-9089-a9200a93812d",
        "exitCode": 32,
        "stdout": "",
        "stderr": "mount: /run/xo-server/mounts/911a6d1a-30e0-49cd-9089-a9200a93812d: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.",
        "failed": true,
        "timedOut": false,
        "isCanceled": false,
        "killed": false,
        "message": "Command failed with exit code 32: mount -o vers=3 -t nfs 10.0.2.232:/volume1/NAKIVO_Repository /run/xo-server/mounts/911a6d1a-30e0-49cd-9089-a9200a93812d
      mount: /run/xo-server/mounts/911a6d1a-30e0-49cd-9089-a9200a93812d: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.",
        "name": "Error",
        "stack": "Error: Command failed with exit code 32: mount -o vers=3 -t nfs 10.0.2.232:/volume1/NAKIVO_Repository /run/xo-server/mounts/911a6d1a-30e0-49cd-9089-a9200a93812d
      mount: /run/xo-server/mounts/911a6d1a-30e0-49cd-9089-a9200a93812d: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
          at makeError (/home/localtech/xen-orchestra/node_modules/execa/lib/error.js:59:11)
          at handlePromise (/home/localtech/xen-orchestra/node_modules/execa/index.js:114:26)
          at NfsHandler._sync (/home/localtech/xen-orchestra/@xen-orchestra/fs/src/_mount.js:64:7)
          at NfsHandler.sync (/home/localtech/xen-orchestra/@xen-orchestra/fs/src/abstract.js:316:5)
          at _class2.getRemoteHandler (/home/localtech/xen-orchestra/packages/xo-server/src/xo-mixins/remotes.js:76:9)
          at _class2.testRemote (/home/localtech/xen-orchestra/packages/xo-server/src/xo-mixins/remotes.js:97:11)
          at Api.callApiMethod (/home/localtech/xen-orchestra/packages/xo-server/src/xo-mixins/api.js:304:20)"
      }
      
      1 Reply Last reply Reply Quote 0
      • DanpD Online
        Danp Pro Support Team
        last edited by

        Did you install the nfs-common package? I know we include that in https://github.com/Jarli01/xenorchestra_installer

        1 Reply Last reply Reply Quote 0
        • M Offline
          mike.smith
          last edited by

          That was it you're awesome. You can mark it as solved.

          1 Reply Last reply Reply Quote 1

          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
          • First post
            Last post