-
Notifications
You must be signed in to change notification settings - Fork 494
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
NAS-118328 / 22.12 / Do not encrypt ix-applications dataset #9954
Conversation
@sonicaj That's not really solution I envisioned when I reported this issue. :D How do I move my encrypted ix-application dataset then? |
I can confirm that replication of ix-applications between encrypted datasets (more specifically: with an encrypted source), is wonky at times. This has been the case since Alpha. However, I think we need to take current users into account. "cannot move apps, sorry" is not really an acceptable solution for current users. |
I am not sure if this is related, but after reboot today, I have some issue on the dataset I tried migrated https://www.truenas.com/community/threads/some-datasets-locked-for-no-apparent-reason.104495/ Some of my child datasets on that device are locked, but I can't unlock them. |
Try relocking the parent and unlocking it again. to be fair: it's issues like this i've seen more with bad/wrong replication options when (trying to) replicate ix-applications. |
Weird thing is that, I haven't touched that dataset at all. I only worked with the ix-applications one. Could the parent somehow be corrupted after this? I tried rebooting already. And when I create a new dataset, it is affected the same way. It may be completely unreated issue. Btw, can anybody suggest how to unencrypted my ix-application dataset? I can move it around etc. |
To be clear: So it isn't weird, it's confirmed to be "not working as expected". |
This PR is not for fixing your issue, it intends to block new users from trying what you did. However your frequent comment do push my code related comment into being less vissible, which interferes with development. |
To clarify, we will be adding some validation right now to not allow migrating encrypted ix-applications but in another PR conditionally allow migrating encrypted ix-applications dataset. |
Awesome, that solves both cases! |
Yes, I wholeheartedly support any improvement in this regard. Btw my suggestion would be to create |
I have created related issue in openzfs as this is most likely cause of my broken dataset: |
Wrong place, It needs to be reported on the iX Systems Jira. |
This PR already creates it unencrypted. |
This PR adds changes to not allow encrypting ix-applications dataset even if parent is encrypted and also not allow migrating ix-applications dataset to another pool if source is encrypted as this results in various edge cases which after discussing with Caleb we have decided not to handle.