Aimtjie Posted January 17, 2023 Share Posted January 17, 2023 Hi All After some googling, i can't seem to find my answer and really hoping for an answer. Is there a way to copy a file on boot (executed from the go file) from another external flash drive that is plugged into the unraid server? Quote Link to comment
Squid Posted January 17, 2023 Share Posted January 17, 2023 That flash would have to be mounted. Usually you'd do this via the Unassigned Devices plugin, and then I'd use the User Scripts plugin to copy the file (set to run at first array start) Quote Link to comment
Aimtjie Posted January 17, 2023 Author Share Posted January 17, 2023 Thank you, i was hoping there was a way around mounting it. 🙂 The idea was to have the keyfile copy to the root folder on boot, if that flash drive is not plugged the server can't autostart Quote Link to comment
itimpi Posted January 17, 2023 Share Posted January 17, 2023 2 hours ago, Aimtjie said: Thank you, i was hoping there was a way around mounting it. 🙂 The idea was to have the keyfile copy to the root folder on boot, if that flash drive is not plugged the server can't autostart It would be easy enough to try and mount it manually in the go file and only if that succeeds copy the keyfile across. If that fails, then without the encryption key the array would then not autostart. Quote Link to comment
Aimtjie Posted January 17, 2023 Author Share Posted January 17, 2023 Thank you, this sounds promising let me try that 🙂 Quote Link to comment
gcummings Posted January 17, 2023 Share Posted January 17, 2023 I would like to do the same, please let me know if you get it working. Quote Link to comment
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.