Skip to content

Commit eb1a957

Browse files
committed
docs(dev-desktops): document available disk space
1 parent f0dd31f commit eb1a957

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/infra/docs/dev-desktop.md

+17
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,23 @@ It helps to check <https://packages.ubuntu.com/> first and make sure that the
186186
package is available for both `arm64` and `amd64` architectures. The dev
187187
desktops are currently running Ubuntu 22.04 LTS.
188188

189+
## Available disk space
190+
191+
Every user has a quota of how much disk space they can use.
192+
Currently, the quota is set to
193+
[150GB](https://github.com/rust-lang/simpleinfra/blob/8a59e4faeb75a09b072671c74a7cb70160ebef50/ansible/roles/dev-desktop/defaults/main.yml#L7).
194+
195+
Exceeding the quota will result in the error `Disk quota exceeded (os error 122)`.
196+
197+
To save disk space:
198+
199+
- Remove your `build/` directory to clear outdated artifacts.
200+
- Remove `build-rust-analyzer/` (or whatever it's named as) if you have a
201+
separate rust-analyzer build directory.
202+
- Remove unneeded toolchains with `rustup toolchain uninstall`.
203+
You can list the installed toolchains with `rustup toolchain list`.
204+
`cargo-bisect-rustc` or using `--preserve` explicitly may leave nightly toolchains behind.
205+
189206
## How to give feedback and report issues
190207

191208
If you experience any problems with the dev desktops, or have feedback and

0 commit comments

Comments
 (0)