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.

Cannot mount keyfile encrypted volumes in rc9f

Featured Replies

I use a keyfile of 1MB in size. Upgraded to rc9f, inputted my keyfile, and server was unable to mount any of my disks with the following error repeated for each one. Reverting to rc8q allowed me to mount the drives again.

Sep 28 17:26:33 core emhttpd: Opening encrypted volumes...
Sep 28 17:26:33 core emhttpd: shcmd (2902): /usr/sbin/cryptsetup luksOpen /dev/md1 md1 --key-file /root/keyfile
Sep 28 17:26:35 core root: No key available with this passphrase.
Sep 28 17:26:35 core emhttpd: shcmd (2902): exit status: 2
Sep 28 17:26:35 core emhttpd: shcmd (2903): /usr/sbin/cryptsetup luksOpen /dev/md2 md2 --key-file /root/keyfile
Sep 28 17:26:38 core root: No key available with this passphrase.
Sep 28 17:26:38 core emhttpd: shcmd (2903): exit status: 2
Sep 28 17:26:38 core emhttpd: shcmd (2904): /usr/sbin/cryptsetup luksOpen /dev/md3 md3 --key-file /root/keyfile
Sep 28 17:26:40 core root: No key available with this passphrase.
Sep 28 17:26:40 core emhttpd: shcmd (2904): exit status: 2
Sep 28 17:26:40 core emhttpd: shcmd (2905): /usr/sbin/cryptsetup luksOpen /dev/md4 md4 --key-file /root/keyfile
Sep 28 17:26:42 core root: No key available with this passphrase.
Sep 28 17:26:42 core emhttpd: shcmd (2905): exit status: 2
Sep 28 17:26:42 core emhttpd: shcmd (2906): /usr/sbin/cryptsetup luksOpen /dev/md5 md5 --key-file /root/keyfile
Sep 28 17:26:44 core root: No key available with this passphrase.
Sep 28 17:26:44 core emhttpd: shcmd (2906): exit status: 2
Sep 28 17:26:44 core emhttpd: shcmd (2907): /usr/sbin/cryptsetup luksOpen /dev/md6 md6 --key-file /root/keyfile
Sep 28 17:26:47 core root: No key available with this passphrase.
Sep 28 17:26:47 core emhttpd: shcmd (2907): exit status: 2
Sep 28 17:26:47 core emhttpd: Failed opening encrypted volumes: Wrong encryption key
Sep 28 17:26:47 core kernel: mdcmd (43): stop 
Sep 28 17:26:47 core kernel: md1: stopping
Sep 28 17:26:47 core kernel: md2: stopping
Sep 28 17:26:47 core kernel: md3: stopping
Sep 28 17:26:47 core kernel: md4: stopping
Sep 28 17:26:47 core kernel: md5: stopping
Sep 28 17:26:47 core kernel: md6: stopping
Sep 28 17:26:47 core emhttpd: shcmd (2908): rmmod md-mod
Sep 28 17:26:47 core kernel: md: unRAID driver removed
Sep 28 17:26:47 core emhttpd: shcmd (2909): modprobe md-mod super=/boot/config/super.dat
Sep 28 17:26:47 core kernel: md: unRAID driver 2.9.0 installed

 

Edited by jayseejc

Version rc8 does not store a binary file in the proper format, this has been corrected in rc9. You need to redo the encryption when using a keyfile.

 

  • Author

Ah thanks a lot! Now that you point it out, the md5sum, sha1, and sha256 of the keyfile are different on the file than they should be. Strange, but understandable.

  • Author

Thanks for the pointer. I was able to use cryptsetup luksAddKey to temporarily add an additional password key to the drives, upgraded to rc9f, then re-added the keyfile correct keyfile. No need to start over with luks support :D

Archived

This topic is now archived and is closed to further replies.

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.