From: Martin Steigerwald <martin@lichtvoll.de>
To: linux-btrfs@vger.kernel.org
Subject: Settings compression for a filesystem
Date: Thu, 04 Nov 2021 15:56:28 +0100 [thread overview]
Message-ID: <11237766.pNdQY1Vl8f@ananda> (raw)
Hi!
I do have a bunch of BTRFS on LUKS backup disks. Plasma desktop mounts
them unter /media… however, it does not mount with compression enabled.
I do have some older backup disks which are in /etc/fstab including
mount option "compress=zstd".
Is there any way to tell BTRFS to always use a certain compression
algorithm for all newly written files (and of course existing files which
use compression) without adding an entry in fstab for each disk?
I thought about
btrfs property set MOUNTPOINT compression zstd
but that sets the property just on the root inode of the mounted
filesystem. Does it propagate? The manpage does not seem to have any
information on that.
If not, well then I add the entries to fstab.
Thanks,
--
Martin
next reply other threads:[~2021-11-04 15:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 14:56 Martin Steigerwald [this message]
2021-11-04 15:14 ` Settings compression for a filesystem Forza
2021-11-04 17:23 ` Martin Steigerwald
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=11237766.pNdQY1Vl8f@ananda \
--to=martin@lichtvoll.de \
--cc=linux-btrfs@vger.kernel.org \
/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