April 28, 20251 yr TL;DR new RAID1 pool created. No partitions. `btrfs encrypted` selected as format, applied. No formatting happened prior to doing this. drives formatted *after* setting btrfs encrypted. Reference docs used after the first try failed (I've gone through this multiple times thinking I missed a step) The system has been rebooted. First try, within an hour of creating the pool. Second time after a long wait (24h I think?) The pool remains on "Drive to be encrypted" with an orange padlock icon (screenshot attached for reference). The first time I rebuilt the cache I forgot about setting the format and saw a different version of this icon (shackle swing left of the body, vs over it). Longer version Due to a power loss, UPS sent server into graceful shutdown. On the first boot after, two of the four 2TB ssds in a RAID10 pool were missing, and seem to be completely dead - no system recognizes them at all. That's a different saga, as they're the two WD Red SA500; Crucial MX500 drives are fine. But... I seem to have had the WDs in the same slot in the array (or I made mistakes) as nothing I did allowed it to be recovered. Data backup/recovery went fine so no real loss other than time there (and wondering why I bothered with the mirror set at all). However, as part of this I did end up rebuilding the pool with just a RAID1 on the pair of 2TB still working. I've migrated from unencrypted to encrypted drives in the past, and even did a rebuild from RAID1 to RAID10. These all start with a new pool on emptied drives (no partitions etc). I've gone through this process multiple times and it's always worked. This time around, it doesn't. What am I missing? Diagnostics also attached in case those are helpful. diagnostics-20250428-1059.zip
April 28, 20251 yr Community Expert due to the shutdown and encrypted. the encryption key was half processed and lossed. you may need to reboot into a live distro like ubunutu run disks and reformat the drives to be empty raw then launch unraid and select teh btrfs encrypted... when starting the array it will prompt at the bottom to format and you should be presented with a pasphrase to set a unlock... https://docs.unraid.net/unraid-os/manual/security/data-encryption/
April 29, 20251 yr Author I can try clearing externally. I thought doing so in unraid would do the trick. Thanks for the suggestion. The other encrypted drives are all still working/decrypting fine.
April 29, 20251 yr Community Expert Solution Do you have a script or something, deleting the encryption key after array start?
April 30, 20251 yr Author 3 hours ago, JorgeB said: Do you have a script or something, deleting the encryption key after array start? Ooh, yes! That actually seems rather likely the cause. Just need to find a minute to babysit a reboot. Can't believe it didn't occur to me.
May 5, 20251 yr Author Finally found time to start fresh and indeed, the problem was a missing keyfile *at the time of format* - simple and obvious in hindsight but in the heat of frustration over hardware failed suspiciously and for no apparent reason, that clear view is always tough to find. Appreciate the responses and the point in the right direction. Simply rebooting w/o deleting the keyfile on boot doesn't encrypt an already-formatted drive though - hoped it might since it was formatted understanding it was to be encrypted, but no go. Edited May 5, 20251 yr by _cjd_
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.