Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to replicate zroot gives error about pbkdf iterations #56

Open
MacLemon opened this issue Jan 23, 2022 · 2 comments
Open

Trying to replicate zroot gives error about pbkdf iterations #56

MacLemon opened this issue Jan 23, 2022 · 2 comments

Comments

@MacLemon
Copy link

Summary:

Trying to replicate zroot gives error about pbkdf iteration requirements not being met on FreeBSD 13.0-RELEASE-p5.

Steps to Reproduce:

Invoke like this:

/usr/local/sbin/zxfer -dFkPv -g 375 -R zroot backups/zroot

Expected Results:

Should start replicating existing snapshots.

Actual Results:

Errors out:

Creating destination filesystem "backups/zroot" with specified properties.
cannot create 'backups/zroot': minimum pbkdf2 iterations is 100000
Error when creating destination filesystem.

Regression:

This has worked at some time on 12.1 if I recall correctly. Hasn't been working on 12.2 and 13.0.

Notes:

Neither of the datasets are encrypted.

Version Information:

FreeBSD 12.2-RELEASE-p*
FreeBSD 13.0-RELEASE-p5
zxfer 1.1.7 with the readonly properties patched as described in Bug 253418 - sysutils/zxfer: 'objsetid' is readonly

@ndruba
Copy link

ndruba commented Feb 17, 2022

Hi! Please, try -I keylocation,keyformat,pbkdf2iters. In linux with the last openzfs its work.

@MacLemon
Copy link
Author

Thanks @ndruba, I can confirm this works on

  • FreeBSD 12.2
  • FreeBSD 13.0
    (I don't use Linux.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants