Skip to content

Commit 9596303

Browse files
authored
Merge pull request #46029 from github/repo-sync
Repo sync
2 parents 03d2e24 + 7df102a commit 9596303

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

‎content/admin/monitoring-and-managing-your-instance/updating-the-virtual-machine-and-physical-resources/increasing-storage-capacity.md‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,20 +112,18 @@ Ensure the appliance is in maintenance mode and no background jobs are running:
112112
> [!WARNING]
113113
> Before increasing the root partition size, you must put your instance in maintenance mode. For more information, see [AUTOTITLE](/admin/administering-your-instance/configuring-maintenance-mode/enabling-and-scheduling-maintenance-mode).
114114
115-
Before resizing the root partition, determine whether the appliance has a GUID partition table.
116-
117-
On instances created from GHES releases 3.14 and later, follow the instructions for [Increasing the root partition size on a GUID partition table](#increasing-the-root-partition-size-on-a-guid-partition-table).
118-
119-
On instances created from GHES releases prior to 3.14, follow the instructions for [Increasing the root partition size on a legacy partition table](#increasing-the-root-partition-size-on-a-legacy-partition-table).
120-
121-
To verify the partition table type, run the following command. The result should be either `gpt` or `msdos`.
115+
1. Attach a new disk with the desired size to your {% data variables.product.prodname_ghe_server %} appliance.
116+
1. Run the `lsblk` command to identify the new disk's device name.
117+
1. Before proceeding, determine whether the appliance has a globally unique identifier (GUID) partition table (`gpt`) or a master boot record (MBR) partition table (`dos`). The partition table type depends on how the appliance's root disk was originally provisioned, not on the release version of {% data variables.product.prodname_ghe_server %}, so always verify it directly rather than assuming based on the version.
122118

119+
To check the partition table type, run the following command. The result will be either `gpt` or `dos`.
120+
123121
```shell
124122
sudo lsblk -no pttype $(findmnt -no source /)
125123
```
126124

127-
1. Attach a new disk to your {% data variables.product.prodname_ghe_server %} appliance.
128-
1. Run the `lsblk` command to identify the new disk's device name.
125+
* If the result is `gpt`, follow the instructions for [Increasing the root partition size on a GUID partition table](#increasing-the-root-partition-size-on-a-guid-partition-table).
126+
* If the result is `dos`, follow the instructions for [Increasing the root partition size on an MBR partition table](#increasing-the-root-partition-size-on-an-mbr-partition-table).
129127

130128
### Increasing the root partition size on a GUID partition table
131129

@@ -180,7 +178,7 @@ To verify the partition table type, run the following command. The result should
180178

181179
If your appliance is configured for high-availability or geo-replication, remember to start replication on each replica node using `ghe-repl-start` after the storage on all nodes has been upgraded.
182180

183-
### Increasing the root partition size on a legacy partition table
181+
### Increasing the root partition size on an MBR partition table
184182

185183
1. Run the `parted` command to format the disk, substituting your device name for `/dev/xvdg`:
186184

0 commit comments

Comments
 (0)