Last active
March 27, 2021 11:00
-
-
Save svengo/0d7ee276cf77d3b2049be0b1a7250400 to your computer and use it in GitHub Desktop.
Resize virtual partition and file system (Proxmox VM)
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
#!/bin/sh | |
# 1) Resize disk in Proxmox | |
# 2) Enlarge partition | |
growpart /dev/sda 1 | |
# 3) Resize filesystem | |
resize2fs /dev/sda1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment