From de4757b0c7ca6e4533acb44da6575c09a193ef38 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Fri, 10 Apr 2026 21:40:47 -0600 Subject: [PATCH] Update workflows/operations/Linux/Expanding Linux Filesystems.md --- workflows/operations/Linux/Expanding Linux Filesystems.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/workflows/operations/Linux/Expanding Linux Filesystems.md b/workflows/operations/Linux/Expanding Linux Filesystems.md index f39034c..06690af 100644 --- a/workflows/operations/Linux/Expanding Linux Filesystems.md +++ b/workflows/operations/Linux/Expanding Linux Filesystems.md @@ -95,6 +95,14 @@ This step goes over how to increase the usable space of the virtual disk within **Point of No Return**: When you press `w` in both cases of `gdisk` or `fdisk`, then ++enter++ the changes will be written to disk, meaning there is no turning back unless you have full GuestVM backups or a snapshot to rollback with, or something like Veeam Backup & Replication. Be certain the first and last sector values are correctly configured before proceeding. (Default values generally are good for this) +=== "Using GROWPART (Ubuntu)" + + ``` sh + echo 1 | sudo tee /sys/class/block/sda/device/rescan + growpart /dev/sda 2 + sudo resize2fs /dev/sda2 # Assuming ext4 filesystem, if unsure, run "df -Th" + ``` + ## Detect the New Partition Sizes At this point, the operating system wont detect the changes without a reboot, so we are going to force the operating system to detect them immediately with the following commands to avoid a reboot (if we can avoid it). ``` sh