I'm struggling to mount an UD disk in a user script.
When I mount the disk in the console with
/usr/local/sbin/rc.unassigned mount /dev/sdg
I get "unassigned.devices: Successfully mounted" in the log. Perfect. Great
When I try in a user script with the same command...the mount process is stuck and log report: "unassigned.devices: Adding disk '/dev/mapper/mountpointname..."
Any idea of why in the script the mount process do not proceed ?
<edit> when I kill the script I get "emhttpd: shcmd (452): /usr/sbin/cryptsetup luksOpen /dev/sdg1 mountpointname" in the log.
<edit> retried and got :"
Apr 2 09:49:28 Tower unassigned.devices: Adding disk '/dev/mapper/partitionname'...
Apr 2 09:49:38 Tower emhttpd: shcmd (197): /usr/sbin/cryptsetup luksOpen /dev/sdg1 paritionname"
Do I need a keyfile or array passphase is alright to mount with UD like that ?