ICE4 EC2:EBS mount volume

볼륨 마운트

 

lsblk

 

file -s /dev/xvdb

 

mkfs -t xfs /dev/xvdb

 

mkdir /app

 

mount /dev/xvdb /app

 

서버 재부팅 후 설정 유지

cp /etc/fstab /etc/fstab.orig

 

blkid

 

vi /etc/fstab

UUID=aebf131c-6957-451e-8d34-ec978d9581ae /app xfs defaults,nofail 0 2

 

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html