Skip to content

Commit 232d595

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b5bb25b commit 232d595

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

docs/howto/providers/google.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,45 +8,44 @@ Google Cloud virtual machine.
88
(howto-providers-google-resize-disk)=
99

1010
## Increasing your boot disk size
11-
Google Cloud Compute Engine supports *increasing* (but not *decreasing*) the size of existing disks.
12-
If you selected a boot disk with a supported version of **Ubuntu** or **Debian** as the operating
11+
12+
Google Cloud Compute Engine supports _increasing_ (but not _decreasing_) the size of existing disks.
13+
If you selected a boot disk with a supported version of **Ubuntu** or **Debian** as the operating
1314
system, then your boot disk can be resized easily from the console with these steps.
1415

1516
:::{note}
16-
Google Cloud resizes the root partition and file system for *boot* disks with *public* images
17-
(such as the TLJH supported **Ubuntu** and **Debian** images) automatically after your increase
18-
the size of your disk. If you have any other *non-boot* disks attached to your instance, you
19-
will need to perform extra steps yourself after resizing your disk. For more information on
20-
this and other aspects of resizing persistent disks, see
21-
[Google's documentation](https://cloud.google.com/compute/docs/disks/resize-persistent-disk).
17+
Google Cloud resizes the root partition and file system for _boot_ disks with _public_ images
18+
(such as the TLJH supported **Ubuntu** and **Debian** images) automatically after your increase
19+
the size of your disk. If you have any other _non-boot_ disks attached to your instance, you
20+
will need to perform extra steps yourself after resizing your disk. For more information on
21+
this and other aspects of resizing persistent disks, see
22+
[Google's documentation](https://cloud.google.com/compute/docs/disks/resize-persistent-disk).
2223
:::
2324

24-
2525
1. Go to [Google Cloud Console -> Compute Engine -> VM instances](https://console.cloud.google.com/compute/instances) and select your TLJH instance.
2626

27-
2827
1. Scroll down until you find your boot disk and select it.
28+
2929
```{image} ../../images/providers/google/boot-disk-resize.png
3030
:alt: Boot disk with Ubuntu jammy image
3131
```
3232

33-
3433
1. Select **Edit** in the top menu. This may require selecting the kebab menu (the 3 vertical dots).
34+
3535
```{image} ../../images/providers/google/boot-disk-edit-button.png
3636
:alt: Disk edit button
3737
```
3838

39-
4039
1. Update the **Size** property and save the changes at the bottom of the page.
40+
4141
```{image} ../../images/providers/google/boot-disk-resize-properties.png
4242
:alt: Boot disk size property
4343
```
4444

45-
4645
1. Reboot the VM instance by logging into your TLJH, opening the terminal, and running `sudo reboot`.
4746
You will lose your connection to the instance while it restarts. Once it comes back up, your disk
48-
will reflect your changes. You can verify that the automatic resize of your root partition and
49-
file system took place by running `df -h` in the terminal, which will show the size of the disk
47+
will reflect your changes. You can verify that the automatic resize of your root partition and
48+
file system took place by running `df -h` in the terminal, which will show the size of the disk
5049
mounted on `/`:
5150
```bash
5251
$ df -h

docs/troubleshooting/providers/google.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ TLJH on Google Cloud, and how they have fixed them!
55

66
## Viewing VM instance logs
77

8-
In addition to [installer, JupyterHub, traefik, and other logs](#troubleshooting-logs)
8+
In addition to [installer, JupyterHub, traefik, and other logs](#troubleshooting-logs)
99
you can view VM instance logs on Google Cloud to help diagnose issues. These logs will contain
1010
detailed information and error stack traces and can be viewed from
11-
[Google Cloud Console -> Compute Engine -> VM instances](https://console.cloud.google.com/compute/instances).
11+
[Google Cloud Console -> Compute Engine -> VM instances](https://console.cloud.google.com/compute/instances).
1212
Once you select your TLJH instance, select **Serial port 1 (console)**:
13+
1314
```{image} ../../images/providers/google/serial-port-console.png
1415
:alt: Serial port 1 (console) under Logs heading
1516
```
@@ -37,10 +38,10 @@ your server is using.
3738
If your boot disk becomes full, this can cause your instance to become unavailable,
3839
among other problems. If your instance appears up and running in the console but
3940
you cannot access it at your configured external IP/domain name, this could be caused
40-
by a lack of disk space.
41+
by a lack of disk space.
4142

42-
You can explore your [VM logs in the console](#viewing-vm-instance-logs) to determine
43-
if any issues you are experiencing indicate disk space issues.
43+
You can explore your [VM logs in the console](#viewing-vm-instance-logs) to determine
44+
if any issues you are experiencing indicate disk space issues.
4445

45-
To resolve these types of issues, you can
46+
To resolve these types of issues, you can
4647
[increase your boot disk size](#howto-providers-google-resize-disk).

0 commit comments

Comments
 (0)