繁体   English   中英

一段时间后,EFS 以某种方式从 ec2 linux 服务器卸载

[英]EFS is somehow being unmounted from ec2 linux servers after some time

我目前有一个 EFS 挂载到 2 个 linux 服务器。 几周后,其中一个会随机卸载。 我一直在尝试研究为什么会发生这种情况。 是否存在与 EFS 相关的任何日志或任何一般性问题? 这是我用来挂载 EFS 的命令:

sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 fs-xxxxxxx.efs.us-west-2.amazonaws.com:/ /var/lib/emapi/static

任何帮助将非常感激。

谢谢!

您是否已将卷添加到/etc/fstab

当实例重新启动时,它可能会丢失。

请参阅https://docs.aws.amazon.com/efs/latest/ug/mount-fs-auto-mount-onreboot.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM