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.

Unraid 7rc1: Encrypted Zfs can not be decrypted via `/root/keyfile` automatically at startup

  • 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.

 

image.thumb.png.916bb02c698cb0b930eea6d9772d75ad.png

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.