Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

EFS backup data pipeline bad format #87

Open
marromang opened this issue Oct 10, 2018 · 0 comments
Open

EFS backup data pipeline bad format #87

marromang opened this issue Oct 10, 2018 · 0 comments

Comments

@marromang
Copy link

I've been trying to use the script https://github.com/aws-samples/data-pipeline-samples/blob/master/samples/EFSBackup/efs-backup.sh to make my efs backups. Even though Data Pipeline said it was healthy, the stderr file shows:

mount.nfs: remote share not in 'host:dir' format

When i did it manually, it also showed the message and I realized that the mount command format for efs has changed from

sudo mount -t nfs -o nfsvers=4.1 -o rsize=1048576 -o wsize=1048576 -o timeo=600 -o retrans=2 -o hard {efs-ip-addr} /backup

to

sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport {efs-id}.efs.eu-west-1.amazonaws.com:/ /backup

It took me a bit to realize or maybe I am doing something wrong and the older command is still valid?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant