Digital ocean

From Wasya Wiki
Jump to: navigation, search

Develop

Resize a disk (partition)

 echo '/dev/disk/by-id/scsi-0DO_Volume_volume-sfo2-02 /mnt/volume_sfo2_01 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
 resize2fs /dev/vda1