rilles Posted June 5, 2020 Posted June 5, 2020 Hello, to protect the data on my drives I enabled encryption. To enable autostart I inserted into /boot/config/go the line "cp /boot/config/keyfile /root" This seemed to go well with the drive autostarting on bootup. Then I bought a giant usb drive to use as an array backup, so I installed unassigned devices and UD plus so that I could also encrypt the usb drive. I do a reboot and all is not well. The UD luks encrypted usb drive does auto-mount... but my array no longer auto starts its asking me for a keyfile or keyphrase. If I open a console window and go into /root the keyfile is not there. If I pass in a keyfile from the webGui then it start and the keyfile is in /root does anyone have any idea what is going on? why is the keyfile not getting copied from the go script (or why is it getting deleted after emhttp starts)? Quote
I Enjoy Creating Videos Posted September 12, 2020 Posted September 12, 2020 Hi Rilles, go to /boot/config/go if your on windows open it with notepad++ Then add this cp /boot/config/keyfile /root/keyfile then save it then when the server boots it should copy the key file to /root/keyfile to check you can open a terminal and type "ls" it should say keyfile if so you are good to go also make sure your USB Unassigned device drive has the same encryption key as your array other wise it won't mount hope this helps....JP 1 Quote
Recommended Posts
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.