Update Workflows/Linux/Expand XFS Filesystem.md
This commit is contained in:
@ -31,7 +31,7 @@ w <ENTER> # (10)
|
||||
|
||||
1. The first command needs you to enter the disk identifier. In most cases, this will likely be the first disk, such as `/dev/sda`. You do not need to indicate a partition number in this step, as you will be asked for one in a later step after identifying all of the partitions on this disk in the next command.
|
||||
2. This will list all of the partitions on the disk.
|
||||
3. This will ask you for a partition number to delete. Generally this is the last partition number listed. In the example below, you would type `4` then press ++ENTER++ to schedule the deletion of the partition.
|
||||
3. This will ask you for a partition number to delete. Generally this is the last partition number listed. In the example below, you would type `4` then press ++enter++ to schedule the deletion of the partition.
|
||||
```
|
||||
Command (? for help): p
|
||||
Disk /dev/sda: 2147483648 sectors, 1024.0 GiB
|
||||
@ -57,10 +57,10 @@ w <ENTER> # (10)
|
||||
`First sector (34-2147483614, default = 19826688) or {+-}size{KMGTP}: 19826688`
|
||||
8. We just want to leave this as the default. In my example, it would look like this:
|
||||
`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.
|
||||
!!! 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
|
||||
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