LoginSignup
2
2

More than 5 years have passed since last update.

EC2 に EBS を増設する

Last updated at Posted at 2014-11-06

(1) EC2 と EBS を Attach

/dev/sdf として Attach したとする。
sdf 部分は変化するので注意。

(2) Manual で Mount

mkdir /var/hoge/fuge
mkfs -t ext4 /dev/sdf
mount /dev/sdf /var/hoge/fuge

(3) Fstab で自動 Mount するよう設定

vim /etc/fstab
/dev/sdf /var/hoge/fuge ext4 defaults 1 1
2
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2