openSUSE Users
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1998 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1997 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1996 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1995 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1994 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1993 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1992 -----
- December
August 2019
- 76 participants
- 111 discussions
[opensuse] Trying to create a compressed (and encrypted) btrfs filesystem
by Carlos E. R. 01 Aug '19
by Carlos E. R. 01 Aug '19
01 Aug '19
Leap 15.0
/etc/fstab:
/dev/mapper/cr_my_book_tlcntr /mnt/BookTelcontar btrfs lazytime,compress=zlib:1 1 3
This is per instructions on the wiki (and man):
<https://btrfs.wiki.kernel.org/index.php/Compression>
But yields error:
Isengard:~ # mount -v /mnt/BookTelcontar/
mount: /mnt/BookTelcontar: wrong fs type, bad option, bad superblock on /dev/mapper/cr_my_book_tlcntr, missing codepage or helper program, or other error.
I have to use:
/dev/mapper/cr_my_book_tlcntr /mnt/BookTelcontar btrfs lazytime,compress 1 3
which yields:
mount:
/dev/mapper/cr_my_book_tlcntr on /mnt/BookTelcontar type btrfs (rw,relatime,lazytime,compress=zlib,space_cache,subvolid=5,subvol=/)
Is this a bug?
Is the syntax different?
man:
compress, compress=type, compress-force, compress-force=type
(default: off)
Control BTRFS file data compression. Type may be specified
as zlib, lzo, zstd or no (for no compression, used for
remounting). If no type is specified, zlib is used. If
compress-force is specified, then compression will always
be attempted, but the data may end up uncompressed if the
compression would make them larger.
Otherwise some simple heuristics are applied to detect an
incompressible file. If the first blocks written to a file
are not compressible, the whole file is permanently marked
to skip compression. As this is too simple, the
compress-force is a workaround that will compress most of
the files at the cost of some wasted CPU cycles on failed
attempts. The heuristics of compress will improve in the
future so this will not be necessary.
Note
If compression is enabled, nodatacow and nodatasum are
disabled.
--
Cheers / Saludos,
Carlos E. R.
(from 15.0 x86_64 at Telcontar)
2
3