- Shutdown the target VM
- Locate the zvol where the storage is allocated in the Storage blade in the TrueNAS Scale Web UI
- Resize the zvol by editing it-this can ONLY be increased, not shrunk!
- Save your changes
- Start your target VM up again
- Log in to the VM
- Execute the
growpart
command, ie.sudo growpart /dev/vda 2
- Execute the
resize2fs
command, ie.sudo resize2fs /dev/vda2
- Verify that the disk has increased in size using
df -h
Created
March 19, 2022 14:45
-
-
Save troyfontaine/de1b157cf5d9ceb6842c4cf2ad177032 to your computer and use it in GitHub Desktop.
Resize Ubuntu VM Disk on TrueNAS Scale
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment