You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9596303
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/admin/monitoring-and-managing-your-instance/updating-the-virtual-machine-and-physical-resources/increasing-storage-capacity.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,20 +112,18 @@ Ensure the appliance is in maintenance mode and no background jobs are running:
112
112
> [!WARNING]
113
113
> 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).
114
114
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.
122
118
119
+
To check the partition table type, run the following command. The result will be either `gpt` or `dos`.
120
+
123
121
```shell
124
122
sudo lsblk -no pttype $(findmnt -no source /)
125
123
```
126
124
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).
129
127
130
128
### Increasing the root partition size on a GUID partition table
131
129
@@ -180,7 +178,7 @@ To verify the partition table type, run the following command. The result should
180
178
181
179
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.
182
180
183
-
### Increasing the root partition size on a legacy partition table
181
+
### Increasing the root partition size on an MBR partition table
184
182
185
183
1. Run the `parted` command to format the disk, substituting your device name for `/dev/xvdg`:
0 commit comments