Created
November 20, 2017 08:28
-
-
Save luckymancvp/f47b0b71ff6c5dba2b9bed22730f9fb4 to your computer and use it in GitHub Desktop.
resize disk
This file contains 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
(echo d; echo n; echo p; echo 1; echo ; echo; echo w) | sudo fdisk /dev/sda | |
#Then restart your server. Once restarted, grow your partition | |
xfs_growfs /dev/sda1 | |
# Verify with: | |
df -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment