【问题标题】:Unable to access fsx shared volume after ubuntu 18.04 rebootubuntu 18.04 重启后无法访问 fsx 共享卷
【发布时间】:2021-08-25 19:15:53
【问题描述】:

以前,我在 /shared 目录上安装了一个 fsx 卷。 但是,Ubuntu 18.04 + fsx 有一些错误会导致实例重启以卸载 fsx 卷

【问题讨论】:

    标签: ubuntu-18.04 fsx


    【解决方案1】:

    临时解决方案:

    再次挂载 fsx 卷

    wget -O - https://fsx-lustre-client-repo-public-keys.s3.amazonaws.com/fsx-ubuntu-public-key.asc | sudo apt-key add -
    sudo bash -c 'echo "deb https://fsx-lustre-client-repo.s3.amazonaws.com/ubuntu bionic main" > /etc/apt/sources.list.d/fsxlustreclientrepo.list'
    sudo apt update -y
    sudo apt install -y lustre-client-modules-$(uname -r)
    sudo mount -t lustre -o noatime,flock fs-<id of the fsx>.fsx.us-east-1.amazonaws.com@tcp:/fsx /shared
    ubuntu@<>:~$ ls /shared/
    DeepLearningExamples  checkpoint  checkpoints  checkpoints-1.data-00000-of-00001  checkpoints-1.index  conda_tf25  conda_tf25_hvd  deep-learning-models  nccl_hosts
    

    但是,更简洁的解决方案不需要在实例重启后重新安装 fsx 卷。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-10
      • 2020-06-05
      • 1970-01-01
      • 2019-04-30
      相关资源
      最近更新 更多