0

I have a zfs pool on a production system and I would like to see if it's possible to use zstd compression instead of the current gzip setting.

Is there any way to list available compression options?

yes
  • 11
  • 2

1 Answers1

0

I found the solution: Simply running zfs get will show the available options. In my case, the answer is no - zstd is not available:

# zfs get
missing property argument
usage:
        get [-rHp] [-d max] [-o "all" | field[,...]]
            [-t type[,...]] [-s source[,...]]
            <"all" | property[,...]> [filesystem|volume|snapshot|bookmark] ...

The following properties are supported:

        PROPERTY       EDIT  INHERIT   VALUES
    enter code here
[...]
compression     YES      YES   on | off | lzjb | gzip | gzip-[1-9] | zle | lz4
[...]
yes
  • 11
  • 2