January 29, 20251 yr Updated to 7.0.0 and tried to switch my btrfs pools to be zfs-encrypted, but ran into issues. I did the following: erased the pool switched the filesystem to zfs-encrypted started array with my luks key checked box for format unreadable disks to format the new zfs-encrypted pools because of "Unmountable disk" notification Format *seems* successful, but it's stuck on orange padlock I also tried rebooting several times and switching the pool to non-encrypted btrfs and then back to zfs-encrypted, but nothing worked. Here's a bit of the syslog from when I clicked "Format" after first switching the drives to zfs-encrypted: Jan 28 16:16:50 DeeperVisor emhttpd: creating volume: cache (zfs - encrypted) Jan 28 16:16:50 DeeperVisor emhttpd: shcmd (793): /sbin/wipefs -af --lock /dev/sdb1 Jan 28 16:16:50 DeeperVisor root: wipefs: error: /dev/sdb1: probing initialization failed: No such file or directory Jan 28 16:16:50 DeeperVisor emhttpd: shcmd (793): exit status: 1 Jan 28 16:16:50 DeeperVisor emhttpd: writing MBR on disk (sdb) with partition 1 offset 2048, erased: 0 Jan 28 16:16:50 DeeperVisor kernel: sdb: sdb1 Jan 28 16:16:51 DeeperVisor emhttpd: re-reading (sdb) partition table Jan 28 16:16:51 DeeperVisor emhttpd: shcmd (794): udevadm settle Jan 28 16:16:51 DeeperVisor kernel: sdb: sdb1 Jan 28 16:16:53 DeeperVisor emhttpd: shcmd (795): /sbin/blkdiscard /dev/sdb1 Jan 28 16:16:53 DeeperVisor emhttpd: shcmd (796): /sbin/wipefs -af --lock /dev/sdc1 Jan 28 16:16:53 DeeperVisor root: wipefs: error: /dev/sdc1: probing initialization failed: No such file or directory Jan 28 16:16:53 DeeperVisor emhttpd: shcmd (796): exit status: 1 Jan 28 16:16:53 DeeperVisor emhttpd: writing MBR on disk (sdc) with partition 1 offset 2048, erased: 0 Jan 28 16:16:53 DeeperVisor kernel: sdc: sdc1 Jan 28 16:16:54 DeeperVisor emhttpd: re-reading (sdc) partition table Jan 28 16:16:54 DeeperVisor emhttpd: shcmd (797): udevadm settle Jan 28 16:16:54 DeeperVisor kernel: sdc: sdc1 Jan 28 16:16:57 DeeperVisor emhttpd: shcmd (798): /sbin/blkdiscard /dev/sdc1 Jan 28 16:16:57 DeeperVisor emhttpd: shcmd (799): /usr/sbin/zpool create -f -o ashift=12 -O dnodesize=auto -O acltype=posixacl -O xattr=sa -O utf8only=on -m /mnt/cache cache mirror /dev/sdb1 /dev/sdc1 Jan 28 16:16:57 DeeperVisor emhttpd: update_pool_cfg: 30 cache 0 Jan 28 16:16:57 DeeperVisor emhttpd: shcmd (800): /usr/sbin/zpool export -f cache Jan 28 16:16:57 DeeperVisor emhttpd: mounting /mnt/cache Jan 28 16:16:57 DeeperVisor emhttpd: shcmd (801): mkdir -m 0666 -p /mnt/cache Jan 28 16:16:57 DeeperVisor emhttpd: shcmd (802): /usr/sbin/zpool import -f -m -N -o autoexpand=on -d /dev/sdb1 -d /dev/sdc1 6554892298978727352 cache Jan 28 16:16:57 DeeperVisor emhttpd: cache: zfs verify devices Jan 28 16:16:57 DeeperVisor emhttpd: /usr/sbin/zpool status -P cache 2>&1 The `root: wipefs: error: /dev/sdb1: probing initialization failed: No such file or directory` line appears once for each drive in the pool. This line also appeared when I tried to do normal btrfs without encryption. deepervisor-diagnostics-20250128-1721.zip Edited January 29, 20251 yr by nearcatch
January 29, 20251 yr Community Expert Solution Do you have a script auto-deleting the LUKS key after array start?
January 29, 20251 yr Author 2 hours ago, JorgeB said: Do you have a script auto-deleting the LUKS key after array start? THANK YOU! Yes, I did! (In fact my first post ever on this forum was thanking someone for the script). But it's been so long since the key_fetch script worked, I completely forgot that the key_delete might still be running. Moved the key_delete.sh script out of emhttp, erased the pools, and started the drives, and they mounted correctly.
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.