Resize a volume
At any time after the Block Storage volume has been created, it can be increased to a larger size.
Volume size cannot be decreased
At this time, the size of volumes are only able to be increased (not decreased). To decrease the size of your volume, you will need to create a new volume at your preferred size, attach it to a Compute Instance, copy over your data, and remove the original volume.
-
Log in to 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 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
Updated 3 months ago