public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH docs] installation: document advanced btrfs options
Date: Tue, 12 Nov 2024 15:33:52 +0100	[thread overview]
Message-ID: <20241112143441.867474-1-c.heiss@proxmox.com> (raw)

Also includes the new `compress` option that has been recently
introduced in the installer.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
The `compress` option will only be included starting with the next (8.3)
ISO release, FWIW. 

I can leave it out for later if preferred, but a newer pve-docs will
probably not bumped/hit the repos until the next release, I'd guess?

 pve-installation.adoc | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/pve-installation.adoc b/pve-installation.adoc
index d292895..6109b35 100644
--- a/pve-installation.adoc
+++ b/pve-installation.adoc
@@ -349,6 +349,25 @@ on the hard disk(s) for further partitioning (for example to create a
 swap-partition). `hdsize` is only honored for bootable disks, that is only the
 first disk or mirror for RAID0, RAID1 or RAID10, and all disks in RAID-Z[123].
 
+[[advanced_btrfs_options]]
+Advanced BTRFS Configuration Options
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+No swap space is created when BTRFS is used but you can reserve some
+unpartitioned space on the install disks for swap. You can either create a
+separate partition, BTRFS subvolume or a swapfile using the `btrfs filesystem
+mkswapfile` command.
+
+`compress`::
+
+Defines whether compression is enabled for the BTRFS subvolume. Different
+compression algorithms are supported: 'on' (equivalent to 'zlib'), 'zlib', 'lzo'
+and 'zstd'. Defaults to 'off'.
+
+`hdsize`::
+
+Defines the total hard disk size to be used. This is useful to save free space
+on the hard disk(s) for further partitioning (for example, to create a
+swap partition).
 
 ZFS Performance Tips
 ~~~~~~~~~~~~~~~~~~~~
-- 
2.47.0



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2024-11-12 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-12 14:33 Christoph Heiss [this message]
2024-11-13 15:40 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241112143441.867474-1-c.heiss@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal