Cloud Sync relationship fails to start Sync with mount error(13): Permission denied
Applies to
- NetApp Cloud Sync
- CIFS/SMB
Issue
- Cloud Sync fails to sync relationships with
"mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)"
- Cloud sync UI shows "permission denied" errors when data broker attempted to mount the share on it during the sync start.
- Data Broker logs show :
[INFO] [MASTER] [0] [1980] Executing command { command: "mount -t cifs //10.xxx.xxx.228/'z2' mnt/61ed939c5744bedd9f346bc1/85xxx-xxx-xxx-xxx_src -o domain=netapp,vers=2.1,file_mode=0666,dir_mode=0666,iocharset=utf8,mapchars,mfsymlinks", timeout: 20000 }
[INFO] [MASTER] [0] [1980] Executing command { command: "mount -t cifs //10.xxx.xxx.230/'z1' mnt/61ed939c5744bedd9f346bc1/85xxx-xxx-xxx-xxx_trg -o domain=netapp,vers=2.1,file_mode=0666,dir_mode=0666,iocharset=utf8,mapchars,mfsymlinks", timeout: 20000 }
[ERROR] [MASTER] [0] [1980] Failed to execute command Error: Command failed: mount -t cifs //10.xxx.xxx.230/'z1' mnt/61ed939c5744bedd9f346bc1/85xxx-xxx-xxx-xxx_trg -o domain=netapp,vers=2.1,file_mode=0666,dir_mode=0666,iocharset=utf8,mapchars,mfsymlinks
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
at ChildProcess.exithandler (child_process.js:383:12)
at ChildProcess.emit (evnetapps.js:400:28)
at ChildProcess.emit (domain.js:475:12)
at maybeClose (internal/child_process.js:1058:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5) {
killed: false,
code: 32,
signal: null,
cmd: "mount -t cifs //10.xxx.xxx.230/'z1' mnt/61ed939c5744bedd9f346bc1/85xxx-xxx-xxx-xxx_trg -o domain=netapp,vers=2.1,file_mode=0666,dir_mode=0666,iocharset=utf8,mapchars,mfsymlinks"
}
[INFO] [MASTER] [0] [1980] SEND MESSAGE: {"message":{"step":"INITIALIZE","relationshipId":"61ed939c5744bedd9f346bc1","status":"FAILED","reason":"mount error(13): Permission denied\nRefer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)\n","source":{"cifs":{"host":"10.xxx.xxx.228","share":"/z2","version":"2.1","provider":"anf","workingEnvironmnetappId":"70xxxx-xxxx-xxx-xxx"}},"target":{"cifs":{"host":"10.xxx.xxx.230","share":"/z1","version":"2.1","provider":"anf","workingEnvironmnetappId":"70xxxx-xxxx-xxx-xxx"}}