Last active
June 10, 2021 15:14
-
-
Save jermainee/0b827c70601df19314dc56962dc8ddf5 to your computer and use it in GitHub Desktop.
Fix wrong disk size after server upgrade - runcloud.io
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
root@xxx:~# df -Th | |
Filesystem Type Size Used Avail Use% Mounted on | |
udev devtmpfs 16G 0 16G 0% /dev | |
tmpfs tmpfs 3.2G 7.8M 3.2G 1% /run | |
/dev/sda3 ext4 137G 36G 96G 28% / | |
tmpfs tmpfs 16G 0 16G 0% /dev/shm | |
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock | |
tmpfs tmpfs 16G 0 16G 0% /sys/fs/cgroup | |
/dev/sda2 ext4 976M 218M 692M 24% /boot | |
tmpfs tmpfs 3.2G 0 3.2G 0% /run/user/1001 | |
root@xxx:~# growpart /dev/sda 3 | |
root@xxx:~# resize2fs /dev/sda3 | |
root@xxx:~# systemctl restart runcloud-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment