- Urgent
I have a RaidZ2 Zfs Pool encrypted with the passphrase "1234Test" via the gui. manually uploading a keyfile with the phrase via gui also works to start the pool.
However when I try to automate it, the gui states "Wrong Encryption Key". Here is my /boot/config/go file
#!/bin/bash # Define the key content key_content='1234Test' # Write the key content to /root/keyfile echo "$key_content" > /root/keyfile # Secure the keyfile by setting permissions chmod 600 /root/keyfile # Start the unraid web based Management Utility /usr/local/sbin/emhttp
I have verified the contents of keyfile are "1234Test" without the quotes, and also tried changing the go file to copy a keyfile instead of creating it by script.
Why urgent: it seems zfs pools can not be automatically decrypted, and perhaps the passphrase used to encrypt is not byte identical to user input
Edit: attached is an image after reboot. I can press the "Delete encryption keyfile" button, then type 1234Test into the passphrase and it will start.