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
Copy file name to clipboardExpand all lines: content/admin/enterprise-management/increasing-storage-capacity.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,10 @@ As more users join {% data variables.product.product_location %}, you may need t
31
31
1. Resize the existing user volume disk using your virtualization platform's tools.
32
32
{% data reusables.enterprise_installation.ssh-into-instance %}
33
33
3. Put the appliance in maintenance mode. For more information, see "[Enabling and scheduling maintenance mode](/enterprise/{{ currentVersion }}/admin/guides/installation/enabling-and-scheduling-maintenance-mode)."
34
-
4. Reboot the appliance to detect the new storage allocation.
34
+
4. Reboot the appliance to detect the new storage allocation:
35
+
```shell
36
+
$ sudo reboot
37
+
```
35
38
5. Run the `ghe-storage-extend` command to expand the `/data/user` filesystem:
36
39
```shell
37
40
$ ghe-storage-extend
@@ -40,7 +43,10 @@ As more users join {% data variables.product.product_location %}, you may need t
40
43
### Increasing the root partition size using a new appliance
41
44
42
45
1. Set up a new {% data variables.product.prodname_ghe_server %} instance with a larger root disk using the same version as your current appliance. For more information, see "[Setting up a {% data variables.product.prodname_ghe_server %} instance](/enterprise/{{ currentVersion }}/admin/guides/installation/setting-up-a-github-enterprise-server-instance)."
43
-
2. Shut down the current appliance.
46
+
2. Shut down the current appliance:
47
+
```shell
48
+
$ sudo poweroff
49
+
```
44
50
3. Detach the data disk from the current appliance using your virtualization platform's tools.
45
51
4. Attach the data disk to the new appliance with the larger root disk.
46
52
@@ -57,6 +63,9 @@ As more users join {% data variables.product.product_location %}, you may need t
57
63
```shell
58
64
$ ghe-upgrade PACKAGE-NAME.pkg -s -t /dev/xvdg1
59
65
```
60
-
4. Shut down the appliance.
66
+
4. Shut down the appliance:
67
+
```shell
68
+
$ sudo poweroff
69
+
```
61
70
5. In the hypervisor, remove the old root disk and attach the new root disk at the same location as the old root disk.
0 commit comments