<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NFS mounting problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670462#M915892</link>
    <description>Duncan,&lt;BR /&gt;&lt;BR /&gt;I will try mount -p later, since I cannot simulate the case when server is rebooted.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Ryan&lt;BR /&gt;</description>
    <pubDate>Mon, 25 Feb 2002 02:01:40 GMT</pubDate>
    <dc:creator>Ryan Ma</dc:creator>
    <dc:date>2002-02-25T02:01:40Z</dc:date>
    <item>
      <title>NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670454#M915884</link>
      <description>I have several questions:&lt;BR /&gt;&lt;BR /&gt;1. How to verify/test that the NFS mount point is mounted (using command)?&lt;BR /&gt;2. How can the system keep the mounting relationship when server reboot?&lt;BR /&gt;3. How can the system keep the mounting relationship when client reboot?&lt;BR /&gt;&lt;BR /&gt;My client is under firewall DMZ.  The NFS mount point is not mounted after reboot.  Here is my setting:&lt;BR /&gt;Retry Mount:   While foreground process waits (fg)&lt;BR /&gt;Mount Failure Retries (retry):       1&lt;BR /&gt;&lt;BR /&gt;Is the setting correct?</description>
      <pubDate>Sat, 23 Feb 2002 03:43:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670454#M915884</guid>
      <dc:creator>Ryan Ma</dc:creator>
      <dc:date>2002-02-23T03:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670455#M915885</link>
      <description>1. How to verify/test that the NFS mount point is mounted (using command)?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;If you do a 'bdf' all NFS mounts will be shown.&lt;BR /&gt;&lt;BR /&gt;2. How can the system keep the mounting relationship when server reboot?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;See 'man mount_nfs' for information on 'hard' and 'soft' mount optoins.&lt;BR /&gt;&lt;BR /&gt;3. How can the system keep the mounting relationship when client reboot? &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;Have the NFS mount set up in /etc/fstab so that it mounts automatically on reboot.</description>
      <pubDate>Sat, 23 Feb 2002 04:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670455#M915885</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-23T04:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670456#M915886</link>
      <description>&amp;gt;&amp;gt;&amp;gt;If you do a 'bdf' all NFS mounts will be shown. &lt;BR /&gt;I know that bdf will show all NFS mounts.  But as I know if the server is down, the bdf command will halt.  So is that I have to write a script to kill the bdf for certain when writting health check script?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;See 'man mount_nfs' for information on 'hard' and 'soft' mount optoins. &lt;BR /&gt;May be soft mount is more suitable.&lt;BR /&gt;Is it usual using soft?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;Have the NFS mount set up in /etc/fstab so that it mounts automatically on reboot. &lt;BR /&gt;There is already an entry like this:&lt;BR /&gt;server:/nfsmnt /nfsmnt nfs rw,suid 0 0&lt;BR /&gt;I donno if it is the case that my machine is in DMZ.  It just doesn't work.  When the client is boot up, it do not mount the NFS automatically.&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Feb 2002 11:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670456#M915886</guid>
      <dc:creator>Ryan Ma</dc:creator>
      <dc:date>2002-02-23T11:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670457#M915887</link>
      <description>Hi Ryan,&lt;BR /&gt;&lt;BR /&gt;1) IF the bdf hangs when trying for an NFS mount, you have to kill the process in your script. If you are using a soft link, the system will not wait for the server's answer for indefenite period ( will error out). Another option is before doing a bdf, you can check whether the server is alive or not and thus avoiding any hang ups.&lt;BR /&gt;&lt;BR /&gt;2) Using soft or hard mounts, is depend on your requirement. Both have it's own advantages. Check this thread for more useful information:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xce7db47b9a27d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xce7db47b9a27d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;3) For the third question, you have to point out the reason why it's not mounting. Some options are:&lt;BR /&gt;&lt;BR /&gt;a) Check /etc/rc.log for any errors after NFS server and client startups ( eg: RPC errors)&lt;BR /&gt;b) Try manually mounting the file system after the system boots up&lt;BR /&gt;&lt;BR /&gt;mount hostname:/directory /mount_point&lt;BR /&gt;&lt;BR /&gt;Then check the entry in the /etc/mnttab file and enter the same entry in /etc/fstab. Then add your additional options with that.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Feb 2002 19:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670457#M915887</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-23T19:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670458#M915888</link>
      <description>Hi Ryan:&lt;BR /&gt;&lt;BR /&gt;A rather elegant way to approach your problem is to call 'bdf -t nfs' from within a Perl script with an alarm signal handler. If it succeeds, it cancels the alarm and prints the bdf output on stdout and returns a zero exit status to your calling shell script; if it does not complete within 20 seconds, it sends an alarm and this triggers the signal handler to kill the process. You parent shell script then sees a non-zero exit status. This is just what you need and this approach very closely matches how one would do this is C. You can do the same sort of thing with a background process in the shell but the Perl method is much cleaner. You have a method of testing that does not 'hang' the system.&lt;BR /&gt;&lt;BR /&gt;Food for thought, Clay&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Feb 2002 22:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670458#M915888</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-02-23T22:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670459#M915889</link>
      <description>Don't muck around with bdf - use mount -p which will tell you if the file system is mounted, but won't hang.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Sun, 24 Feb 2002 19:34:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670459#M915889</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-02-24T19:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670460#M915890</link>
      <description>Hi Shiju,&lt;BR /&gt;&lt;BR /&gt;Thanks for your information.&lt;BR /&gt;&lt;BR /&gt;1) Here is my script.&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;bdf &amp;amp;&lt;BR /&gt;sleep 15&lt;BR /&gt;if [ ! -z `ps -ef | grep $$ | grep bdf` ]&lt;BR /&gt;then&lt;BR /&gt; ps -ef | grep $$ | grep bdf | awk '{ print $2 }' | xargs kill -9&lt;BR /&gt; echo "NFS not responding"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;2) After reading the link of using soft/hard mount, I decide to use hard mount.&lt;BR /&gt;&lt;BR /&gt;3a) I have checked /etc/rc.log.  There is no obvious information showing mount problem.&lt;BR /&gt;Here is some suspection.&lt;BR /&gt;&lt;BR /&gt;************ /etc/rc.log **************&lt;BR /&gt;&lt;BR /&gt;    starting up the Automount daemon&lt;BR /&gt;        /usr/sbin/automount -f /etc/auto_master&lt;BR /&gt;    mounting remote NFS file systems ...&lt;BR /&gt;Permission denied&lt;BR /&gt;FAILURE CODE: 1&lt;BR /&gt;    Mount failed!  Possible local filesystem mount.&lt;BR /&gt;    If local filesystem, then nfs.server will mount it.&lt;BR /&gt;&lt;BR /&gt;.....&lt;BR /&gt;&lt;BR /&gt;Start NFS server subsystem&lt;BR /&gt;Output from "/sbin/rc3.d/S100nfs.server start":&lt;BR /&gt;----------------------------&lt;BR /&gt;    starting NFS SERVER networking&lt;BR /&gt;&lt;BR /&gt;    starting up the rpcbind daemon&lt;BR /&gt;        rpcbind already started, using pid: 534&lt;BR /&gt;    Reading in /etc/exports&lt;BR /&gt;    starting up the mount daemon&lt;BR /&gt;        /usr/sbin/rpc.mountd&lt;BR /&gt;    starting up the NFS daemons&lt;BR /&gt;        /usr/sbin/nfsd 4&lt;BR /&gt;    starting up the Status Monitor daemon&lt;BR /&gt;        rpc.statd already started, using pid: 570&lt;BR /&gt;    starting up the Lock Manager daemon&lt;BR /&gt;        rpc.lockd already started, using pid: 576&lt;BR /&gt;&lt;BR /&gt;************ /etc/rc.log **************&lt;BR /&gt;&lt;BR /&gt;3b) I found that the entry in /etc/mnttab and /etc/fstab is different.  I will try to replace the entry in /etc/fstab by the entry in /etc/mnttab&lt;BR /&gt;&lt;BR /&gt;************ /etc/mnttab **************&lt;BR /&gt;server:/nfs_mnt /nfsmnt nfs defaults,NFSv3 0 0 1014323286&lt;BR /&gt;&lt;BR /&gt;************ /etc/fstab **************&lt;BR /&gt;server:/nfs_mnt /nfs_mnt nfs rw,suid 0 0&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Ryan</description>
      <pubDate>Mon, 25 Feb 2002 01:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670460#M915890</guid>
      <dc:creator>Ryan Ma</dc:creator>
      <dc:date>2002-02-25T01:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670461#M915891</link>
      <description>Clay,&lt;BR /&gt;&lt;BR /&gt;I will try to use perl if I have time since I am not familiar with perl.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Ryan</description>
      <pubDate>Mon, 25 Feb 2002 01:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670461#M915891</guid>
      <dc:creator>Ryan Ma</dc:creator>
      <dc:date>2002-02-25T01:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: NFS mounting problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670462#M915892</link>
      <description>Duncan,&lt;BR /&gt;&lt;BR /&gt;I will try mount -p later, since I cannot simulate the case when server is rebooted.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Ryan&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Feb 2002 02:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-mounting-problem/m-p/2670462#M915892</guid>
      <dc:creator>Ryan Ma</dc:creator>
      <dc:date>2002-02-25T02:01:40Z</dc:date>
    </item>
  </channel>
</rss>

