From 23851640b89ab16157e2938aa4d20edb5550a5c2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 3 Feb 2021 21:50:27 +0100 Subject: docs: document how to turn off btrfs quota support in importd Fixes: #18421 #15903 --- docs/ENVIRONMENT.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'docs/ENVIRONMENT.md') diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 2cec3bdc16..d2ab3baf68 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -316,3 +316,22 @@ fuzzers: Note that is may be also useful to set `$SYSTEMD_LOG_LEVEL`, since all logging is suppressed by default. + +systemd-importd: + +* `SYSTEMD_IMPORT_BTRFS_SUBVOL` – takes a boolean, which controls whether to + prefer creating btrfs subvolumes over plain directories for machine + images. Has no effect on non-btrfs file systems where subvolumes are not + available anyway. If not set, defaults to true. + +* `SYSTEMD_IMPORT_BTRFS_QUOTA` – takes a boolean, which controls whether to set + up quota automatically for created btrfs subvolumes for machine images. If + not set, defaults to true. Has no effect if machines are placed in regular + directories, because btrfs subvolumes are not supported or disabled. If + enabled, the quota group of the subvolume is automatically added to a + combined quota group for all such machine subvolumes. + +* `SYSTEMD_IMPORT_SYNC` – takes a boolean, which controls whether to + synchronize images to disk after installing them, before completing the + operation. If not set, defaults to true. If disabled installation of images + will be quicker, but not as safe. -- cgit v1.2.3