AWS EC2 Block Device は/dev/sda
、/dev/sdf
およびとして識別され/dev/sdg
ますが、EC2 CentOS インスタンス内ll /dev/sd*
では次のようになります。
lrwxrwxrwx. 1 root root 4 Feb 17 03:10 /dev/sda -> xvde
lrwxrwxrwx. 1 root root 4 Feb 17 03:10 /dev/sdj -> xvdj
lrwxrwxrwx. 1 root root 4 Feb 17 03:10 /dev/sdk -> xvdk
lrwxrwxrwx. 1 root root 5 Feb 17 03:10 /dev/sdk1 -> xvdk1
出力を実行するec2-describe-instances --aws-access-key xxxxxx<MyKey>xxx --aws-secret-key xxxxxx<MyKey>xxx --region us-east-1 ``curl -s http://169.254.169.254/latest/meta-data/instance-id`` | grep -i BLOCKDEVICE
と、次のようになります。
/dev/sda
/dev/sdf
/dev/sdg
これら 2 つをリンクする方法を考えています: AWS GUI コンソールのブロック デバイスと EC2 インスタンス ブロック デバイス内?
ありがとう、