我跟随https://docs.aws.amazon.com/efs/latest/ug/using-amazon-efs-utils.html#installing-amazon-efs-utils将efs-utils添加到实例(没有通道)。
然后我在/ etc / fstab中添加了挂载点。
一切都正确安装(即使反复重启也是如此),但是我在mount.log中看到这些错误消息
ERROR - Unable to reach the instance metadata service at http://169.254.169.254/latest/dynamic/instance-identity/document/. If this is an on-premises instance, replace "{region}" in the "dns_name_format" option in /etc/amazon/efs/efs-utils.conf with the region of the EFS file system you are mounting
如果能进一步调试此功能,我将不胜感激。