Created
December 13, 2022 03:09
-
-
Save jazlopez/c82c507fc2be55e02633c1ca02c2cf37 to your computer and use it in GitHub Desktop.
Resize volume from system (after resize volume in digital ocean web console)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # unmount disk | |
| sudo umount /mnt/volume_nyc3_01 | |
| # check disk (if lost and found is not located press y to created) | |
| sudo e2fsck /dev/disk/by-id/scsi-0DO_Volume_volume-nyc3-01 | |
| # resize disk (if prompt accept defaults) | |
| sudo resize2fs /dev/disk/by-id/scsi-0DO_Volume_volume-nyc3-01 | |
| # mount disk | |
| sudo mount -o discard,defaults,noatime /dev/disk/by-id/scsi-0DO_Volume_volume-nyc3-01 /mnt/volume_nyc3_01 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment