fsx 客户端安装和挂载
安装
curl https://fsx-lustre-client-repo-public-keys.s3.amazonaws.com/fsx-rpm-public-key.asc -o /tmp/fsx-rpm-public-key.asc
sudo rpm --import /tmp/fsx-rpm-public-key.asc
sudo curl https://fsx-lustre-client-repo.s3.amazonaws.com/el/7/fsx-lustre-client.repo -o /etc/yum.repos.d/aws-fsx.repo
uname -r
sudo yum install -y kmod-lustre-client lustre-client
arm架构更新
yum --disablerepo="*" --enablerepo="aws-fsx" list available
sudo yumdownloader --source kmod-lustre-client
installonlypkgs=kernel, kernel-big‐mem, kernel-enterprise, kernel-smp,
kernel-debug, kernel-unsupported, kernel-source, kernel-devel, kernel-PAE,
kernel-PAE-debug, kmod-lustre-client
挂载
fsx### 和 name### 分别替换 aws 控制台 fsx 的 DNS解析域名和装载名称
sudo mount -t lustre -o noatime,flock fsx###@tcp:name### /fsx
pbsorofile script
-l instance_ami=ami-013e1c6f30fefb4df,root_size=1200,fsx_lustre=s3://soca-ywb-matlab,fsx_lustre_size=1200,fsx_lustre_deployment_type=scratch_2,spot_price=auto,subnet_id=..