Why hasn't my Block Storage Volume resized?

Linode Staff

I just sized my Block Storage Volume up, but it looks like the actual space available hasn't changed at all. What's going on?

2 Replies

Linode Staff

Thanks for bringing this up! It's actually a really easy step to miss in the process of resizing a Block Storage Volume. You see, after your resize the Volume it just increases the amount of space that you have available. The filesystem does not automatically expand to fill the available space.

You can see the steps you will need to take in this guide, under the section How to Resize a Block Storage Volume. For the sake of brevity I will include the steps here as well.


Once your Linode has restarted, make sure the Volume is unmounted for safety:

umount /dev/disk/by-id/scsi-0Linode_Volume_BlockStorage1

Assuming you have an ext2, ext3, or ext4 partition,first run a file system check:

e2fsck -f /dev/disk/by-id/scsi-0Linode_Volume_BlockStorage1

Then resize it to fill the new Volume size:

resize2fs /dev/disk/by-id/scsi-0Linode_Volume_BlockStorage1

Mount your volume back onto the filesystem:

mount /dev/disk/by-id/scsi-0Linode_Volume_BlockStorage1 /mnt/BlockStorage1


It is important to note that you will need to replace BlockStorage1 with the Label that you have assigned your Block Storage Volume.

Will the data on the volume be affected?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct