DataSync Task unavailable : mount.nfs: access denied by server while mounting

0

I am consistently unable to start a Datasync task to transfer from a local NAS (Synology) to s3.

Tried dozen of times with slight changes, NFS versions, squash options, agent reboot, etc... with no success.

The tasks all have the unavailable status, with an error message "mount.nfs: access denied by server while mounting..."

Setup:

  • DataSync agent running as a KVM VM on ubuntu 20.04 LTS
  • DataSync agent connected
  • NFS share on a Synology NAS on the local network
  • NFS share permissions provided for the agent IP (and even for the local network)
  • DataSync agent connectivity and NFS connectivity tests are all successful
  • mounting the NFS share on ubuntu 20.04 LTS works perfectly

Could you please help? What is going on?

질문됨 2년 전2211회 조회
3개 답변
0

DataSync mounts NFS servers as the root user (UID and GID = 0). It is recommended to enable no_root_squash on your NFS server to avoid permission issues. Relevant links:

AWS
Jeff_B
답변함 2년 전
0

SOLVED! FYI the issue was a combination of factors in the NFS share permissions, this config finally worked:

  • you have to allow the DataSync agent host IP, not the agent VM IP
  • non privileged ports (>1024) are necessary for the DataSync agent (although not necessary for ubuntu clients)
  • Squash : no mapping
  • Synology NAS NFS permissions behave strangely if there are IP overlaps accross permissions, avoid overlaps
답변함 2년 전
0

Hi there, I am trying the same scenario. Thanks for the configuration tips on Synology DSM. But I am still missing something.

Still getting the error "mount.nfs: access denied by server while mounting"

Please, any other relevant configuration on DSM or DataSync Agent to access the mounted shared folder in Synology?

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠