February 6, 20215 yr I've been trying to mount an ISO at boot via fstab and I suspect it's not working because my drives are encrypted and aren't available until I unlock them. Is there a script or something I can tap into to do a mount automatically after I unlock the drives?
February 6, 20215 yr You could create a user script to do this and set it to run at the start of the array -- it would take a test or two to see exactly when the script was fired off, the actual start of the array when you push the button or after drives are unlocked, and modify it accordingly to adjust for it if necessary.
February 6, 20215 yr 1 hour ago, rjlan said: I've been trying to mount an ISO at boot via fstab and I suspect it's not working because my drives are encrypted and aren't available until I unlock them. Is there a script or something I can tap into to do a mount automatically after I unlock the drives? I presume you are referring to an ISO file that's on the array. The following is a hack but I don't see a reason why it shouldn't work: In your "go" script, you can drop a script into this folder /usr/local/emhttp/plugins/dynamix/event/disks_mounted/ That script will be executed when the array is started (with encryption unlocked). You can use it to mount your ISO. For completeness, you may want to also drop a script into /usr/local/emhttp/plugins/dynamix/event/stopping_array/ to unmount your ISO.
Archived
This topic is now archived and is closed to further replies.