If you’ve created a new larger elastic block store volume from a snapshot with more disk space and size you will need to also resize the partition.

Let’s say you have mounted the new volume on /dev/sdh at the mount point /vol on an xfs partition. Note you need to have the new volume mounted already.

Type into your terminal:


xfs_growfs -d /vol

The above will expand space out to the maximum available. Also if you cannot umount your old elastic block volume so you can detach and attach your new volume try the following:


umount -l /vol
umount -f /vol

Post a Comment

*
*