Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unraid says "missing encryption key" but doesn't give me a prompt to enter passphrase

Featured Replies

Hi guys,

 

tl,dr:

i have encrypted drives in one of my zfs pool which unraid seems to detect but doesn't give me the option to enter my passphrase. Neither does it seem to care if i unlock the drives via terminal manually (with which i could start the zfs pool and zfs detect all drives again), but unraid still doesn't let me start my array.

 

image.thumb.png.4be81b8ae421f483a7195f088d05d4f3.png

image.png.4e27623a4a6a22240901c3c475f9cadb.png

 

long story:

im in some weird kind of pickle here. I'm in the process of moving most of my data from standard unraid array to a zfs pool. 
I started out with a 6 x 16TB raidz2 pool with luks encryption. When i got to the point to add another 6 drive raidz2 vdev but with 12TB drives unraid said id couldnt do that for some reason.

 

Thats where i just added the drives via the cli only to notice after the fact that this way none of the 6 new drives where encrypted like the first 6 drives. And also that unraid didn't seem to care about the change to the pool i made in cli and still only showed the first 6 encrypted drives but showed the expanded storage and also the scrub page showed the new drives.


After this i thought it would probably be best to remove the encrypted drives from the pool and use zfs encryption in one of the future releases. Therefore i started to replace the 16TB encrypted drives with unencrypted drives which went really well for the first drive.... 

 

Then i had to stop the array to move some drives around again and make a new config to remove some drives from the unraid array. In this step i wanted to try to reimport also the pool since the first 16tb drive at the top of the pool (was dev4/sdd in unassigned devices) was already replace by a new unencrypted drive and therefore wasn't a member of the zfs pool anymore....

 

And now i am at the moment i already described in the tl,dr section... Does anybody now what i might have missed when manually unlocking the the encrypted drives or a way to tell unraid everything is ok. 

At the end a tip how to properly import such a drive pool in unraid in the future would be much appreciated, since i have to add another 6 drive raidz2 in the near future to get the needed storage space.....

 

 

Thanks already in advance for the time reading this and i hope some can help me out here...

homeserver-diagnostics-20230809-2302.zip

Solved by DaLeberkasPepi

  • Community Expert

Can't help with the current situation, but ZFS' own encryption isn't supported in unraid, and also deprecated/not maintained anymore in ZFS itself so not recommended in general.

  • Author
3 minutes ago, Kilrah said:

Can't help with the current situation, but ZFS' own encryption isn't supported in unraid, and also deprecated/not maintained anymore in ZFS itself so not recommended in general.

Thats why i wrote i would use zfs native encryption when its implemented in unraid.

 

And would you be able to post the source to this claim that ZFS deprecated native encryption? (which they only implemented in the last few years or so)

  • Community Expert

Some discussion here for example:

 
Quote

Datto wrote the original support, got it merged, maintained it for a while, aggressively fixing problems as they arose, then stopped.

 

Typical FOSS conundrum, someone got excited about something then dropped it and nobody took over. Recent or not doesn't matter. 

 

I doubt it'll ever get supported by unraid unless the situation changes drastically.

Edited by Kilrah

  • Author
  • Solution

i had to move one of the encrypted drive to the first spot in the pool to get the prompt from unraid again....

 

image.thumb.png.7d32f6d7459b8c0a3ea5db7b69efac3d.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.