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 Resposta
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
ESPECIALISTA
respondido há um ano
profile pictureAWS
ESPECIALISTA
avaliado há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas