Jump to content

rotorhead8

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by rotorhead8

  1. 2 hours ago, nuhll said:

    add a timer, add a "wait if mtn/user is there" condition.

    Thank you for the input! This might be my best option it seems like. What would that condition look like? *noob-ish to scripts*

     

    Here is what the script looks like:

    ssh ubuntu sudo ./mntservershares.sh 

     

    30 minutes ago, Squid said:

    By design.  Schedule at start or stop of array does this.  At first start only, it will run in the background and not tie up the boot process.

     

    You can get around this by having your script simply

     

    
    /path/to/real/script | at NOW -M 

     

    Thank you for the help! So would I just add 

    | at NOW -M

    to the end of the script just like this?

    ssh ubuntu sudo ./mntservershares.sh | at NOW -M

     

    Also, does this option work at array start or only on the first array start?

  2. Hey all, 

     

    I'm using shares between two unraid servers, each one can see shares from eachother in unassigned devices. If I reboot one server, I run into issues with the shares not re mounting. I'm thinking about writing a script to re-mount the shares when they become available, possibly through userscripts to mount the shares on the opposite server upon array start. I have persistent keys setup between the two servers as well. 

     

    Thanks in advance! 

×
×
  • Create New...