簡體   English   中英

ubuntu 18.04 重啟后無法訪問 fsx 共享卷

[英]Unable to access fsx shared volume after ubuntu 18.04 reboot

以前,我在 /shared 目錄上安裝了一個 fsx 卷。 但是,Ubuntu 18.04 + fsx 有一些錯誤會導致實例重新啟動以卸載 fsx 卷

臨時解決方案:

再次掛載 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 卷。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM