I resized my Block Storage Volume to be larger, but it's not showing on the Linode
I recently resized my Linode from 250 GiB to a 500 GiB volume. After I resized the volume, I rebooted my Linode. But, when I run
df -h /dev/disk//by-id/scsi-0Linode_Volume_CommunitySiteVolume
I'm still seeing the same storage in the output's Avail
column. After I resized, I saw a message in Linode Manager that read:
Volume scheduled to be resized.
Is this why I'm not seeing the new storage allotment? How long do I need to wait for this?
1 Reply
When a Block Storage device is resized, it's updated very quickly on the backend, so this most likely isn't what's causing you to not see different storage size.
When you resize a Block Storage volume, rebooting your Linode is required, but there are a couple more steps needed to complete the resizing. These steps are outlined in our guide, How to Use Block Storage with Your Linode, specifically the section labeled Steps for resizing a Block Storage Volume
- Once your Linode has restarted, make sure the volume is unmounted for safety:
umount /dev/disk/by-id/scsi-0Linode_Volume_CommunitySiteVolume
- Assuming you have an ext2, ext3, or ext4 partition, resize it to fill the new volume size:
resize2fs /dev/disk/by-id/scsi-0Linode_Volume_CommunitySiteVolume
- Mount it back onto the filesystem:
mount /dev/disk/by-id/scsi-0Linode_Volume_CommunitySiteVolume /mnt/CommunitySiteVolume
- Once you've completed those that couple steps, your should see the updated space allocation when you rerun:
df -h /dev/disk//by-id/scsi-0Linode_Volume_CommunitySiteVolume