Backup NG Remote "File already exists"
-
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 saidremote.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?
-
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.