IamSpartacus

Members
  • Posts

    802
  • Joined

  • Last visited

Report Comments posted by IamSpartacus

  1. Ok, still no go on the auto start.  Now I get past the mkdir part but the mount of the cifs share fails.  I get the following error:

     

    mount error(115): Operation now in progress
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

     

  2. 7 minutes ago, limetech said:

     

    Ok I'll copy your code into a test server here and see what happens.  btw: I like this idea of yours to fetch keyfile from another machine (presumably) on your LAN.  This is effective theft protection, assuming thief doesn't take all your machines 😉

     

    Wish I could take credit but this was @bonienl's code.  In my case, the other machine is actually not on my LAN but instead on the other side of a Site-to-Site VPN I have between mine and my parents' home which is where my second (backup) unRAID server lives 😉.

     

     

  3. 1 minute ago, limetech said:

    If somehow the /unlock. was created instead of /unlock that would explain behavior.  What do you mean by "cron job code in your GO file"?  Do you mean those lines are in your 'go' file or that you are setting up an actual cron job to execute?

     

    Ignore the cron part of that statement, that was a typo.  I just have that code in my GO file.  But I'm not understanding why the /unlock directory is all of a sudden not being created correctly.

  4. So the dynamix.plg is definitely an issue.  That has to be removed before the server will boot up properly.  I fixed that manually.

     

     

    Second issue I run into is the code I have in my GO file to autostart my encrypted array (see below) doesn't seem to be working as the array will not autostart (claiming it's missing the encryption key).

    mkdir -p /unlock
    mount -t cifs -o user=USER,password=PASSWORD,iocharset=utf8 //10.0.10.30/flash/temp /unlock
    cp -f /unlock/temp.png /root/keyfile
    umount /unlock
    rm -r /unlock

     

    EDIT:  When I run the commands manually, it tells me "Couldn't chdir to /unlock: No such file or directory" when I try to mount the cifs share.  I can't cd to it but I can see it in Midnight Commander but there is a period after it so it shows as /unlock.