Creating a pool with compression impossible when using -d option?? #17266
Replies: 3 comments
-
Pools of version 28 did not yet support LZ4 compression, so the first failure is actually right. Before LZ4 default was LZJB, so you may try specifying it instead. Or if you don't care about specific algorithm, just use |
Beta Was this translation helpful? Give feedback.
-
Thank you! However, I do not yet understand the reason why the -d option does not allow re-enabling the compression methods option choice afterwards. |
Beta Was this translation helpful? Give feedback.
-
Not if you're using ZFSBootMenu! |
Beta Was this translation helpful? Give feedback.
-
When trying to find out what caused my zpool creation script to error out, I found that
zpool create -d -O compression=lz4 testpool
always fails: "cannot create 'testpool': operation not supported on this type of pool"
It fails differently with
zpool create -d -o feature@lz4_compression=enabled -O compression=lz4 testpool
Then the message is "cannot create 'testpool': feature 'lz4_compression' unsupported by kernel".
Another approach (-o version=28) is not viable, because "compatibility=GRUB2" is essential for ZFS on root.
So my question: How do I get the effect of -d or version options, so I can make sure the pools are readable and writable by other OSes also? Which other ways exist to avoid that all features are active?
Beta Was this translation helpful? Give feedback.
All reactions