Questions tagged [zstd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

Using Debian Stretch to build 5.15.x kernel with zstd compression fails with incorrect parameters

I had to move from Jessie to Stretch as kernel 5.15.49 requires gcc 5.x version (Jessie had 4.9 version Stretch 6.x). I decided to try the ZSTD module compression option in 5.15.x. I ensured to apt-...
user avatar
0 votes
2 answers
4k views

zst compression not supported by apt/dpkg

I'm running Debian, namely: # uname -A Linux martlins2 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux and for some time I see some errors telling that some parts of some ...
user avatar
1 vote
1 answer
978 views

How to tell if btrfs subvolumes are actually compressed or not

I have mounted Btrfs subvolumes (including /home) with the compress=no option in /etc/fstab. However, when I run btrfs inspect-internal dump-super -a <device_name> (both, on the running system, ...
user avatar
0 votes
1 answer
44 views

tar creates an absolute sub directory within the compressed file

I would like to tar a folder using zstd. My folder contains subfolders a and b. I am tar-ing using this: tar --zstd -cvf /dest/path/to/output/archive.tar.zstd /full/path/to/src/folder However, this ...
user avatar
1 vote
1 answer
97 views

Is there an equivalent of zdiff for zstandard

Is there an equivalent of the gzip utility zdiff(1), but for zstandard? I have not been able to find anything in the zstandard repository other than zstdgrep and zstdless.
user avatar
  • 519
7 votes
1 answer
990 views

Is there a compression tool with an arbitrarily large dictionary?

I am looking for a compression tool with an arbitrarily large dictionary (and "block size"). Let me explain by way of examples. First let us create 32MB random data and then concatenate it to itself ...
user avatar
  • 323
2 votes
1 answer
1k views

How can I separate multiple files from single file caused by zstd -r folder -o output.zst?

I didn't read enough the manual and run the following command $ zstd -r folder -o output.zst The following command gave me back a single file called output $ unzstd output.zst The output file ...
user avatar
  • 161
2 votes
0 answers
42 views

Avoid pipeline stalls from write caching to usb drive

I have the following process I use for backups: btrfs send snapshots/home-2016-06-04 | zstd --verbose -T4 - | gpg --batch --passphrase-file /tmp/secret --compress-algo none --symmetric - > /mnt/...
user avatar
  • 141
9 votes
2 answers
17k views

compressing and decompressing dd image - zstd instead of gzip

Earlier I was using fsarchiver to create compressed partition image. Due to some weird behavior I am choosing to replace it with dd. However, I like how fsarchiver compressed with zstd. So, I ...
user avatar
  • 1,319
3 votes
1 answer
1k views

Is zstd for zram actually available in Linux 4.15?

I found zstd in /drivers/block/zram/zcomp.c, but I can't find anything zstd-related in /crypto. So is zstd for zram actually available in Linux 4.15 or not?
user avatar
14 votes
3 answers
14k views

How to set a non default zstd compression level at btrfs filesystem defragment?

# btrfs filesystem defragment -r -v -czstd:15 / ERROR: unknown compression type zstd:15 # btrfs filesystem defragment -r -v -czstd_15 / ERROR: unknown compression type zstd_15 # btrfs filesystem ...
user avatar
  • 4,254