Skip navigation

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: