Action After Increasing A Volume on Digitalocean

Increasing the size of a volume, connected to your droplet, is easy with digitalocean.

Note that it is recommended to shutdown your connected droplet before resizing a volume.

Image for post
Image for post

The only issue is that though you increased the size of your volume, the newly available space will not reflect into any of your droplets until you have changed the partition table. But this is as easy as running one simple command, if your partition is ext4-based:

sudo resize2fs /dev/disk/by-id/scsi-MY_VOLUME

More information can be found here:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store