0

I am trying to create a filesystem in ZFS with the following command:

zfs create -o compression=on -o recordsize=1M -o encryption=on pool/dataset

I am unable to do so, since I receive the following error:

cannot create 'pool/dataset': Keyformat required for new encryption root.

There are 3 results for this in Google, none of them are particularly helpful. What am I doing wrong here?

1 Answer 1

1

I met the same issue, and it worked when I specified the keyformat option.  Try this, for example:

zfs create -o compression=on -o recordsize=1M -o encryption=on -o keyformat=passphrase pool/dataset

Or any other supported format.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.