Environment: Amazon Linux AMI release 2015.09 What you want to do: Add 50GB to your backup volume
It is good to add and assign the added volume in the AWS console.
① Log in to the target environment with teraterm and become root authority
# sudo -s
② Use the following command to grasp the current volume
# lsblk
# df -h
③ Change the volume of the target virtual machine on the AWS console
④ Log in to the target environment again with teraterm and become root authority.
# sudo -s
⑤ Change the size
# resize2fs /dev/xvda
[Volume name to change]
⑥ Confirm that the size has been changed
# lsblk
# df -h
The above is the volume expansion method of EBS.
We look forward to helping you.
Recommended Posts