Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Before this is run you need to change the disk size on the cloud (or via cli)
- # Get the partition and device information
- df -h
- # Get the block size of the device and any partitions
- sudo lsblk
- # Grow the device id and partion id (in this case sda1)
- sudo growpart /dev/sda 1
- # Resize the mounted partition in this case /dev/sda1 mounts to /
- sudo xfs_growfs /
- # Check it has all worked
- df -h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement