November 14, 2025Nov 14 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 importno pools available to importzpool statusno pools availableThe drives are available, see 'pool devices'...Help is deeply appreciated... Edited November 16, 2025Nov 16 by DerTom
November 14, 2025Nov 14 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 slotsassign both pool devices, leave the filesystem set to autostart the array to import the pool
November 15, 2025Nov 15 Author @JorgeB followed your steps and the second drive was missing:but still accessible...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 November 15, 2025Nov 15 by DerTom
November 16, 2025Nov 16 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 keyIt's reporting the wrong key on both devices, so they are not decrypting, I assume it should be the same keyfile?
November 16, 2025Nov 16 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...diagnostics-20251116-1228.zip Edited November 16, 2025Nov 16 by DerTom
November 16, 2025Nov 16 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 typecryptsetup luksOpen /dev/sdc1 sdc1 --key-file=/boot/file.namePost the output from that.
November 16, 2025Nov 16 Author Seems to be working now.@JorgeB Thank you for your help!!Enjoy your beer😎
November 17, 2025Nov 17 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.
November 17, 2025Nov 17 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.