<br><font size=2 face="sans-serif">I use autofs to mount smb shares at
startup. You need to add a line to the end of /etc/auto_master &nbsp;and
create /etc/auto_smb with the mounting information for the sharepoint</font>
<br>
<br><font size=2 face="sans-serif">if my share is at smb://servername/Renderfarm
and I want it mounted at /smb, with credentials username:password then
/etc/auto_master will look like this:</font>
<br>
<br><tt><font size=2>#</font></tt>
<br><tt><font size=2># Automounter master map</font></tt>
<br><tt><font size=2>#</font></tt>
<br><tt><font size=2>+auto_master &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;# Use directory service</font></tt>
<br><tt><font size=2>/net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-hosts &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-nobrowse,nosuid</font></tt>
<br><tt><font size=2>/home &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;auto_home &nbsp;
&nbsp; &nbsp; &nbsp;-nobrowse</font></tt>
<br><tt><font size=2>/Network/Servers &nbsp; &nbsp; &nbsp; &nbsp;-fstab</font></tt>
<br><tt><font size=2>/- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-static</font></tt>
<br><tt><font size=2>/smb &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;auto_smb</font></tt>
<br>
<br><font size=2 face="sans-serif">and auto_smb (all whitespace is tabs)</font>
<br>
<br><tt><font size=2>Renderfarm &nbsp; &nbsp; &nbsp; &nbsp;-fstype=smbfs
&nbsp; &nbsp; &nbsp; &nbsp;://username:password@server/Renderfarm</font></tt>
<br>
<br><font size=2 face="sans-serif">You can do this with the following terminal
commands (NB ownership and permissions for auto_smb):</font>
<br>
<br><tt><font size=2>sudo echo -e &quot;/smb\t\t\tauto_smb&quot; &gt;&gt;
/etc/auto_master</font></tt>
<br><tt><font size=2>sudo echo -e &quot;Renderfarm\t-fstype=smbfs\t://username:password@server/Renderfarm&quot;
&gt;&gt; /etc/auto_smb</font></tt>
<br><tt><font size=2>sudo chown root:wheel /etc/auto_smb</font></tt>
<br><tt><font size=2>sudo chmod 600 /etc/auto_smb</font></tt>
<br><font size=2 face="sans-serif">
<br>
<br>
<br>
Darryl Rosin<br>
<br>
Server Administrator, Digital Arts Project<br>
Griffith University AUC Developer Fund Coordinator<br>
<br>
Research Computing Services<br>
Division of Information Services<br>
South Bank Campus<br>
Griffith University 4111 Australia<br>
<br>
d.rosin@griffith.edu.au<br>
t: 04 1876 0956<br>
<br>
PRIVILEGED – PRIVATE AND CONFIDENTIAL<br>
This email and any files transmitted with it are intended solely for the
use of the addressee(s) and may contain information which is confidential
or privileged. &nbsp;If you receive this email and you are not the addressee(s)
[or responsible for delivery of the email to the addressee(s)], please
disregard the contents of the email, delete the email and notify the author
immediately</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Peter Thomas &lt;petthoma@usyd.edu.au&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">&lt;unimactech@auc.edu.au&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">31/03/09 06:59 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">[UniMacTech] Compressor render farm
network mounts</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="Calibri">Dear All,<br>
<br>
I too am setting up a render farm.<br>
<br>
I would like to use my computer labs at night as a render node and I am
trying to automate as much as possible including not having to visit the
render farm.<br>
<br>
My understanding is that the computers being used in the render node have
to have the render source files mounted and I also want to mount the render
destination as well, (another network share).<br>
<br>
My challenge is that my labs are used by students with network mounts &nbsp;who
when they &nbsp;leave them log out which unmounts any network shares. So
how do I make the render farm shares mount on these computers.<br>
<br>
I can probably write a log out script so that when a user logs out the
render farm network shares &nbsp;automatically mount but was wondering
if anyone else has already got a solution for this. Running OD Master with
bound Clients<br>
<br>
Thanks<br>
</font><font size=2 color=#4f4f4f face="Verdana"><b><br>
Peter Thomas</b></font><font size=1 color=#4f4f4f face="Verdana"><br>
IT Facilities Manager<b><br>
SYDNEY CONSERVATORIUM OF MUSIC &lt;</b></font><a href=http://www.music.usyd.edu.au/><font size=1 color=blue face="Verdana"><b><u>http://www.music.usyd.edu.au/</u></b></font></a><font size=1 color=#4f4f4f face="Verdana"><b>&gt;
<br>
The University of Sydney</b><br>
Macquarie Street Sydney NSW 2000 Australia<b><br>
P</b> 61 2 9351 1331 </font><font size=1 color=#808080 face="Verdana">|</font><font size=1 color=#4f4f4f face="Verdana">
<b>F</b> 61 2 9351 1287 </font><font size=1 color=#808080 face="Verdana">|</font><font size=1 color=#4f4f4f face="Verdana">
<b>M</b> 61 0423829 837</font><font size=1 color=blue face="Verdana"><u><br>
</u></font><a href=petthoma@usyd.edu.au><font size=1 color=blue face="Verdana"><u>petthoma@usyd.edu.au</u></font></a><font size=1 color=blue face="Verdana"><u><br>
</u></font><font size=1 color=#808080 face="Verdana"><br>
CRICOS Provider Code 00026A | DISCLAIMER NOTICE: This email and any files
transmitted with it are confidential and may be privileged. Any unauthorised
use of it is strictly prohibited. If you have received this email in error,
please delete the message and any attachments.</font><font size=1 face="Verdana"><br>
</font><font size=2 face="Calibri"><br>
</font><tt><font size=2>_______________________________________________<br>
unimactech mailing list<br>
unimactech@auc.edu.au<br>
</font></tt><a href=http://www.auc.edu.au/mailman/listinfo/unimactech><tt><font size=2>http://www.auc.edu.au/mailman/listinfo/unimactech</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>