<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Windows HPC Team Blog : NFS mount automount</title><link>http://blogs.technet.com/windowshpc/archive/tags/NFS+mount+automount/default.aspx</link><description>Tags: NFS mount automount</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Accessing an NFS Server from Windows HPC compute nodes</title><link>http://blogs.technet.com/windowshpc/archive/2009/04/05/accessing-an-nfs-server-from-windows-hpc-compute-nodes.aspx</link><pubDate>Sun, 05 Apr 2009 20:55:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3222462</guid><dc:creator>Steve Roach</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/windowshpc/comments/3222462.aspx</comments><wfw:commentRss>http://blogs.technet.com/windowshpc/commentrss.aspx?PostID=3222462</wfw:commentRss><wfw:comment>http://blogs.technet.com/windowshpc/rsscomments.aspx?PostID=3222462</wfw:comment><description>&lt;P&gt;Because most&amp;nbsp;HPC environments already have enterprise data stored on an NFS server,&amp;nbsp;we often get asked how to enable the Windows HPC compute nodes to access the NFS server.&amp;nbsp; In Windows Server 2008, the NFS Client is included as part of the Services for Network File System (NFS), which is a Role Service under the File Server role.&amp;nbsp;&amp;nbsp;There is&amp;nbsp;a complete&amp;nbsp;step-by-step guide available at this&amp;nbsp;link:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc753302.aspx" mce_href="http://technet.microsoft.com/en-us/library/cc753302.aspx"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;http://technet.microsoft.com/en-us/library/cc753302.aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;Included on that page is a description of how to install Services for NFS using the Server Manager GUI.&amp;nbsp; But in an HPC&amp;nbsp;cluster, it is not practical to&amp;nbsp;log in to each compute node and run through those steps.&amp;nbsp; Fortunately, there is a&amp;nbsp;command line method for performing the same function.&amp;nbsp; To install the Services for NFS, the following command should be run&amp;nbsp;from the command line:&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;servermanagercmd.exe -install FS-NFS-Services&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;Once the Services for NFS have been installed, use the &lt;SPAN style="FONT-WEIGHT: bold"&gt;mount&lt;/SPAN&gt; command to map the NFS fileshare to a logical drive letter.&amp;nbsp; Be aware that there&amp;nbsp;is no automount option for the mount command, so to make this connection survive a reboot, you must execute this command first:&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;net use /persistent:yes&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;Then,&lt;SPAN style="FONT-WEIGHT: bold"&gt; &lt;/SPAN&gt;you can execute the mount command using this syntax:&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;mount&lt;/SPAN&gt;&amp;nbsp;-u:&amp;lt;UserName&amp;gt; -p:&amp;lt;Password&amp;gt;&amp;nbsp;&amp;lt;ComputerName&amp;gt;:/&amp;lt;ShareName&amp;gt; &amp;lt;Drive Letter&amp;gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;The complete description of all of the options for the mount command is available at this link:&lt;/P&gt;
&lt;P style="MARGIN: 0in"&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc733084.aspx" mce_href="http://technet.microsoft.com/en-us/library/cc733084.aspx"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;http://technet.microsoft.com/en-us/library/cc733084.aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Arial"&gt;All of these commands may be run from the headnode using the &lt;SPAN style="FONT-WEIGHT: bold"&gt;clusrun&lt;/SPAN&gt; command.&amp;nbsp; Or, to have everything set up automatically as part of the provisioning process for new compute nodes, these commands may be added to the Node Template. To do this, open the Node Template in the Editor, select Add Task, then Maintenance, then Post Install Command.&amp;nbsp; Then add the&amp;nbsp;&lt;SPAN style="FONT-WEIGHT: bold"&gt;servermanagercmd&lt;/SPAN&gt; command above to the row at the bottom of the properties section.&amp;nbsp;Repeat these steps to add the other two commands to the Node Template.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3222462" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/windowshpc/archive/tags/NFS+mount+automount/default.aspx">NFS mount automount</category></item></channel></rss>