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

    Backup NG Remote "File already exists"

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    2 Posts 1 Posters 441 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.
    • G Offline
      goorooj
      last edited by

      Hello Forum,

      community edition, test system.
      i was rearranging my Nas, so i disconnected the Remote i used for Backups, made a Raid10 instead of Raid5 ( speed ) and recreated the shares.
      the backups were not important, was just a test.
      now when i tried to reconnect the remote ( same share name, same server ) it said

      remote.test
      {
       "id": "bb4532ab-12a7-4103-9420-7847da8ca9ff"
      }
      {
       "errno": -17,
       "code": "EEXIST",
       "syscall": "mkdir",
       "path": "/run/xo-server/mounts/bb4532ab-12a7-4103-9420-7847da8ca9ff",
       "message": "EEXIST: file already exists, mkdir '/run/xo-server/mounts/bb4532ab-12a7-4103-9420-7847da8ca9ff'",
       "name": "Error",
       "stack": "Error: EEXIST: file already exists, mkdir '/run/xo-server/mounts/bb4532ab-12a7-4103-9420-7847da8ca9ff'"
      } 
      

      i destroyed the remote now and made it new, only to see

      remote.test
      {
        "id": "86109d77-9600-48c6-b131-0ca475cd1ad4"
      }
      {
        "code": 1,
        "stdout": "",
        "stderr": "mount: only root can use \"--options\" option
      ",
        "failed": true,
        "signal": null,
        "cmd": "mount -t nfs 192.168.30.60:/mnt/Brutus/Remote /run/xo-server/mounts/86109d77-9600-48c6-b131-0ca475cd1ad4 -o vers=3",
        "timedOut": false,
        "killed": false,
        "message": "Command failed: mount -t nfs 192.168.30.60:/mnt/Brutus/Remote /run/xo-server/mounts/86109d77-9600-48c6-b131-0ca475cd1ad4 -o vers=3
      mount: only root can use \"--options\" option
      
      ",
        "name": "Error",
        "stack": "Error: Command failed: mount -t nfs 192.168.30.60:/mnt/Brutus/Remote /run/xo-server/mounts/86109d77-9600-48c6-b131-0ca475cd1ad4 -o vers=3
      mount: only root can use \"--options\" option
      
      

      is this expected behaviour, does the xo vm need a reboot between this operations?

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        goorooj @goorooj
        last edited by

        ok, logged into linux, su root, and tried the command on the console

         mount -t nfs 192.168.30.60:/mnt/Brutus/Remote /run/xo-server/mounts/86109d77-9600-48c6-b131-0ca475cd1ad4 -o vers=3
        mount.nfs: requested NFS version or transport protocol is not supported  
        

        tried without -o vers=3 and it worked.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post