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/monitoring-and-managing-your-instance/updating-the-virtual-machine-and-physical-resources/increasing-storage-capacity.md
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,15 +69,41 @@ Root storage refers to the total size of your instance's root disk. The availabl
69
69
> Before increasing the root partition size, you must put your instance in maintenance mode. For more information, see [AUTOTITLE](/admin/configuration/configuring-your-enterprise/enabling-and-scheduling-maintenance-mode).
70
70
71
71
1. Attach a new disk to your {% data variables.product.prodname_ghe_server %} appliance.
72
-
1. Run the `lsblk` command to identify the new disk's device name.
72
+
1. Run the `lsblk` command to identify the new disk's device name.{% ifversion ghes > 3.13 %}
sudo parted -a optimal /dev/xvdg mkpart bios fat32 1MiB 2MiB
96
+
sudo parted /dev/xvdg set 1 bios_grub on
97
+
sudo parted -a optimal /dev/xvdg mkpart efi fat32 2MiB 512MiB
98
+
sudo parted /dev/xvdg set 2 esp on
99
+
sudo parted -a optimal /dev/xvdg mkpart primary 512MiB 50%
100
+
sudo parted /dev/xvdg set 3 boot off
101
+
sudo parted /dev/xvdg set 3 esp off
102
+
sudo parted -a optimal /dev/xvdg mkpart primary 50% 100%
103
+
```
104
+
105
+
{% endif %}
106
+
81
107
1. If your appliance is configured for high-availability or geo-replication, to stop replication run the `ghe-repl-stop` command on each replica node:
82
108
83
109
```shell
@@ -86,6 +112,8 @@ Root storage refers to the total size of your instance's root disk. The availabl
86
112
87
113
1. To install the {% data variables.product.prodname_ghe_server %} software on the newly partitioned disk, run the `ghe-upgrade` command. You must replace **PACKAGE-NAME.pkg** with the path to a platform-specific upgrade package that matches the version of {% data variables.product.prodname_ghe_server %} already running on the appliance. You cannot use a universal hotpatch upgrade package, such as `github-enterprise-2.11.9.hpkg`. After the `ghe-upgrade` command completes, application services will automatically terminate.
88
114
115
+
{% ifversion ghes < 3.14 %}
116
+
89
117
```shell
90
118
ghe-upgrade PACKAGE-NAME.pkg -s -t /dev/xvdg1
91
119
```
@@ -96,6 +124,21 @@ Root storage refers to the total size of your instance's root disk. The availabl
96
124
sudo mkfs.ext4 -L fallback /dev/xvdg2
97
125
```
98
126
127
+
{% else %}
128
+
129
+
```shell
130
+
ghe-upgrade PACKAGE-NAME.pkg -s -t /dev/xvdg3
131
+
```
132
+
133
+
1. Run these commands on the secondary partitions of the newly added disk:
0 commit comments