Update Workflows/Linux/Expand XFS Filesystem.md
This commit is contained in:
@ -18,7 +18,7 @@ This step goes over how to increase the usable space of the virtual disk within
|
|||||||
``` sh
|
``` sh
|
||||||
sudo dnf install gdisk -y
|
sudo dnf install gdisk -y
|
||||||
gdisk /dev/<diskNumber> # (1)
|
gdisk /dev/<diskNumber> # (1)
|
||||||
p ++enter++ # (2)
|
p <ENTER> # (2)
|
||||||
d <ENTER> # (3)
|
d <ENTER> # (3)
|
||||||
4 <ENTER> # (4)
|
4 <ENTER> # (4)
|
||||||
n <ENTER> # (5)
|
n <ENTER> # (5)
|
||||||
@ -59,8 +59,8 @@ w <ENTER> # (10)
|
|||||||
`Last sector (19826688-2147483614, default = 2147483614) or {+-}size{KMGTP}: 2147483614`
|
`Last sector (19826688-2147483614, default = 2147483614) or {+-}size{KMGTP}: 2147483614`
|
||||||
9. Just leave this as-is and press ++enter++ without entering any values. Assuming you are using XFS, as this guide was written for, the default "Linux Filesystem" is what you want for XFS.
|
9. Just leave this as-is and press ++enter++ without entering any values. Assuming you are using XFS, as this guide was written for, the default "Linux Filesystem" is what you want for XFS.
|
||||||
10. This will write the changes to the partition table making them reality instead of just staging the changes.
|
10. This will write the changes to the partition table making them reality instead of just staging the changes.
|
||||||
!!! warning "Point of No Return"
|
!!! warning "Point of No Return"
|
||||||
When you press `w` then ++enter++ the changes will be written to disk, meaning there is no turning back unless you have full GuestVM backups with something like Veeam Backup & Replication. Be certain the first and last sector values are correctly configured before proceeding.
|
When you press `w` then ++enter++ the changes will be written to disk, meaning there is no turning back unless you have full GuestVM backups with something like Veeam Backup & Replication. Be certain the first and last sector values are correctly configured before proceeding.
|
||||||
|
|
||||||
## Detect the New Partition Sizes
|
## 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.
|
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.
|
||||||
|
Reference in New Issue
Block a user