Skip to content

Instantly share code, notes, and snippets.

@laocoi
Created July 14, 2018 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laocoi/4118aec2e336d53193bf423d40484e15 to your computer and use it in GitHub Desktop.
Save laocoi/4118aec2e336d53193bf423d40484e15 to your computer and use it in GitHub Desktop.

Kiểm tra dung lượng hiện tại

df -h -x tmpfs -x devtmpfs

Tăng trong dashboard

Cập nhật

sudo resize2fs /dev/disk/by-id/scsi-0DO_Volume_[volume name]
#example: sudo resize2fs /dev/disk/by-id/scsi-0DO_Volume_volume-sgp1-01

Kiểm tra lại dung lượng

df -h -x tmpfs -x devtmpfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment