Guides - Resize a Volume
Block Storage is a scalable, high-speed, and fault tolerant storage service used to add additional storage to a Linode Compute Instance.
At any time after the Block Storage Volume has been created, it can be increased to a larger size.
Log in to the Cloud Manager.
If the Volume is attached to a Compute Instance, power off that instance.
Click on the Volumes link in the sidebar.
Locate the desired Volume within the list, click the more options ellipsis dropdown menu, and select Resize.
Enter the new Volume size. The minimum size is the current size of the Volume and maximum is 10,240 GB. Then click Submit.
Click Resize Volume to start the resize. Once the resize has been completed, you will receive a notification in the Cloud Manager.
After the Volume is resized, power back on your Compute Instance.
Once your Compute Instance has fully booted up, you need to run the following commands to resize the file system within your Volume.
Unmount the Volume, making sure to use the unique path for your own Volume:
umount /dev/disk/by-id/scsi-0Linode_Volume_BlockStorage1
Assuming you have an ext2, ext3, or ext4 partition, 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
This page was originally published on