【问题标题】:EFS is somehow being unmounted from ec2 linux servers after some time一段时间后,EFS 以某种方式从 ec2 linux 服务器上卸载
【发布时间】:2020-08-14 04:06:08
【问题描述】:

我目前有一个 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了吗?

标签: linux amazon-web-services amazon-ec2 mount amazon-efs


【解决方案1】:

您是否已将音量添加到/etc/fstab

实例重启时可能会丢失。

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-24
    • 1970-01-01
    • 2016-08-03
    • 2012-02-01
    • 1970-01-01
    • 2012-12-17
    相关资源
    最近更新 更多