Skip to content

Instantly share code, notes, and snippets.

@Twinuma
Last active December 19, 2015 10:09
Show Gist options
  • Save Twinuma/5938814 to your computer and use it in GitHub Desktop.
Save Twinuma/5938814 to your computer and use it in GitHub Desktop.
【TIPS】EBSをEC2にマウントとアンマウント方法
ref: http://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/InstanceStorage.html
$sudo ls /dev/sd*
$sudo mkfs -t ext4 /dev/sdf
$sudo mkdir /ebs
$sudo mount /dev/sdf /ebs
$sudo umount -d /dev/sdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment