By using AWS re:Post, you agree to the AWS re:Post Terms of Use

EFS not mounted to AWS PCS Login Compute Node Group Instance

0

I followed AWS PCS documentation - Getting Started sections.

In Login Node instance, I don't see EFS mounted to it.

Typically /home should be configured as NFS mount per documentation.

Tried to mount using amazon-efs-utils as below (replaced REAL_EFS_FILE_SYSTEM_ID with real EFS Id):

  - mkdir -p /tmp/home
  - rsync -a /home/ /tmp/home
  - echo REAL_EFS_FILE_SYSTEM_ID:/ /home efs tls,_netdev" >> /etc/fstab
  - mount -o iam -a -t efs defaults

Got Error:

mount.nfs4: access denied by server while mounting 127.0.0.1:/

I have following Policy in IAM Role associated with IAM Instance Profile attached to Login Node:

arn:aws:iam::aws:policy/AmazonElasticFileSystemClientReadWriteAccess

Wonder why EFS is not mounted ?

asked 2 months ago93 views
1 Answer
0

Hi @RDX, were you able to solve the issue?

In case like this I'd start checking Security Groups associated to the cluster, checking if port 2049 is accessible.

References:

Enrico

AWS
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions