Update Workflows/Linux/Expand RHEL Filesystem.md

This commit is contained in:
2024-12-09 16:40:33 -07:00
parent 3d9f5221d6
commit f0c47caa04

View File

@ -17,19 +17,19 @@ This step goes over how to increase the usable space of the virtual disk within
=== "Using GDISK" === "Using GDISK"
``` 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)
4 <ENTER> # (6) 4 <ENTER> # (6)
<DEFAULT-FIRST-SECTOR-VALUE> (Just press ENTER) # (7) <DEFAULT-FIRST-SECTOR-VALUE> (Just press ENTER) # (7)
<DEFAULT-LAST-SECTOR-VALUE> (Just press ENTER) # (8) <DEFAULT-LAST-SECTOR-VALUE> (Just press ENTER) # (8)
<FILESYSTEM-TYPE=8300 (Linux Filesystem)> (Just press ENTER) # (9) <FILESYSTEM-TYPE=8300 (Linux Filesystem)> (Just press ENTER) # (9)
w <ENTER> # (10) 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. 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. 2. This will list all of the partitions on the disk.