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.

zfs invalid config?

Featured Replies

Hi!

I rebooted my server and now there are no zfs pools available. Both pools #1 with hdds and #2 ssds are not available anymore.

Trying to start the pool results in an error 'wrong pool state'.

zpool import

no pools available to import

zpool status

no pools available

The drives are available, see 'pool devices'...

Help is deeply appreciated...

error.png

pool devices.png

Edited by DerTom

  • Community Expert

Since you are using encryption, no zpool import won't work until the disks are decrypted. The problem appears to be only with the ssd_pool config. Do this:

click on the first device for that pool and then "remove pool"

create a new pool with the same name and number of slots

assign both pool devices, leave the filesystem set to auto

start the array to import the pool

  • Author

@JorgeB

followed your steps and the second drive was missing:

missing ssd.png

but still accessible...

unassigned.png

Solved it by stopping the pool, adding the device again and starting the pool - seems to be ok for now.

Is it a safer option to replace this drive? Right now I would say everything seems to good but I do not have that much of an experience with this things.

Edited by DerTom

  • Community Expert

Post new diags to check pool status.

  • Author

too happy, too early...

Bildschirmfoto_20251115_192733.png

I think I need two new ssd's now???

  • Community Expert

Please post new diags.

  • Community Expert
Nov 16 10:44:12 HalutNAS emhttpd: shcmd (46): /usr/sbin/cryptsetup luksOpen /dev/nvme1n1p1 nvme1n1p1 --allow-discards --key-file=/root/keyfile
Nov 16 10:44:14 HalutNAS root: No key available with this passphrase.
Nov 16 10:44:14 HalutNAS emhttpd: shcmd (46): exit status: 2
Nov 16 10:44:14 HalutNAS emhttpd: ssd_pool: Wrong encryption key
Nov 16 10:44:14 HalutNAS emhttpd: shcmd (48): /usr/sbin/cryptsetup luksOpen /dev/nvme0n1p1 nvme0n1p1 --allow-discards --key-file=/root/keyfile
Nov 16 10:44:16 HalutNAS root: No key available with this passphrase.
Nov 16 10:44:16 HalutNAS emhttpd: shcmd (48): exit status: 2
Nov 16 10:44:16 HalutNAS emhttpd: ssd_pool2: Wrong encryption key

It's reporting the wrong key on both devices, so they are not decrypting, I assume it should be the same keyfile?

  • Author

yes

  • Author

It is not the drives...

I created a new ssd_pool with two other drives and after rebooting the server it is the same error...

ssd-2.png

diagnostics-20251116-1228.zip

Edited by DerTom

  • Community Expert
32 minutes ago, DerTom said:

It is not the drives...

The problem is the encryption key, not the drives.

Copy what you think is the encryption key to the flash drive, then open a terminal window and type

cryptsetup luksOpen /dev/sdc1 sdc1 --key-file=/boot/file.name

Post the output from that.

  • Author

ssd-ok.png

  • Author

Seems to be working now.

@JorgeB

Thank you for your help!!

Enjoy your beer😎

  • Community Expert

Thnaks! Note that if this keeps happening, i.e., some devices failing to decrypt when using the correct key, it typically means there' a hardware issue, like bad RAM or CPU.

  • Author
5 hours ago, JorgeB said:

Thnaks! Note that if this keeps happening, i.e., some devices failing to decrypt when using the correct key, it typically means there' a hardware issue, like bad RAM or CPU.

I do hope that it was the encryption tool that had problems with me changing the router and reinstalling the key for decryption during 'auto-start'...

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.