https://stackoverflow.com/questions/77121599/how-can-i-mount-my-aws-efs-from-my-ec2-server?

0

I have an AWS server running Ubuntu and cannot mount a newly created EFS by either EFS mount helper, NFS client or via IP.

I tried just what AWS suggested:

EFS mount helper -

sudo mount -t efs -o tls fs-xxxxxxxxxxxxx:/ efs

It attempts 3 times to mount then it reports

b'mount.nfs4: mount system call failed'

NFS client -

sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport fs-fs-xxxxxxxxxxxxx.efs.eu-west-2.amazonaws.com:/ efs

Reports

mount.nfs4: Connection timed out

And via IP

sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport <IP.address>:/ efs

Reports

mount.nfs4: Connection timed out

And now I don't know what to do. the server and EFS are in the same region and the three security groups are set to allow all traffic, so port 2049 isn't blocked.

What do you suggest? I have ploughed through acres of AWS guides and I am at a loss.

1개 답변
0

Hello.

Are you aware that EFS and EC2 are in the same VPC?
The security group seems to allow all traffic, but does the network ACL allow it?
Can you check whether the inbound rule of the security group set for the EFS mount point really allows NFS?
https://docs.aws.amazon.com/efs/latest/ug/network-access.html

profile picture
전문가
답변함 일 년 전
profile pictureAWS
전문가
검토됨 일 년 전

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

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

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

관련 콘텐츠