Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS DataSync could not detect any files in the source NFS filesystem

I am trying to Sync the data from a On Premise VM to AWS S3 bucket using AWS Data Sync, I have already configured the AWS Data Sync Agent on the On Prem VM , The Agent is now Online and we have also created a new task, The task is available in state.

As I am trying to sync the data from the NFS File System to S3 bucket using the task we get the below mentioned error:

"DataSync could not detect any files in the source NFS filesystem"

like image 793
Ajinkya Avatar asked Jan 19 '26 04:01

Ajinkya


1 Answers

The issue was the NFS version. Since it was a windows VM we tried disabling the older NFS versions and tried it did work when we selected the right version.

But we moved to SMB since it was easier to setup on Windows VM

AWS Data Sync agent uses below command to mount the share folder

mount -o uid=65534, gid=65534, file_mode=0755, dir_mode=0755, forceuid, forcegid, noperm, noacl,rsize=1048576, wsize=1048576, soft -o user=awsDS, password=, vers=2.1 -t cifs <MOUNT_TARGET> <MOUNT_PATH>
like image 147
Ajinkya Avatar answered Jan 21 '26 18:01

Ajinkya



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!