Skip to content

Project Storage

Michael Ball edited this page Aug 19, 2020 · 1 revision

Resizing the Storage Volume:

  • Create volume snapshot
  • Resize in DigitalOcean Console
  • Run command to resize the disk
  • Verify new size
root@snap-cloud:~# resize2fs /dev/disk/by-id/scsi-0DO_Volume_snap-cloud-project-storage 
resize2fs 1.42.13 (17-May-2015)
Filesystem at /dev/disk/by-id/scsi-0DO_Volume_snap-cloud-project-storage is mounted on /mnt/snap_cloud_project_storage; on-line resizing required
old_desc_blocks = 100, new_desc_blocks = 125
The filesystem on /dev/disk/by-id/scsi-0DO_Volume_snap-cloud-project-storage is now 524288000 (4k) blocks long.

root@snap-cloud:~# df -h /dev/disk/by-id/scsi-0DO_Volume_snap-cloud-project-storage 
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda        2.0T  1.4T  489G  74% /mnt/snap_cloud_project_storage
root@snap-cloud:~# 

Clone this wiki locally