<?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: How to restart NFS server safely in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547014#M370171</link>
    <description>&lt;!--!*#--&gt;&amp;gt; check the man page : &lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Who thinks that a "man" page for an obsolete&lt;BR /&gt;version of Tru64 is the best source of&lt;BR /&gt;information for "HP-UX 11.11"?</description>
    <pubDate>Thu, 10 Dec 2009 13:59:03 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-12-10T13:59:03Z</dc:date>
    <item>
      <title>How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547005#M370162</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am using HP-UX 11.11, NFS service are running on that.&lt;BR /&gt;&lt;BR /&gt;Now i want to add some new NFS shares in /etc/exports file. so that i have to restart the NFS service running.&lt;BR /&gt;&lt;BR /&gt;I have some following questions on restarting NFS service:&lt;BR /&gt;&lt;BR /&gt;1)How to view what are the NFS clients are accessing NFS shares available in NFS server?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)What happen if we are restarting the NFS server while NFS client is accessing some NFS shares?&lt;BR /&gt;&lt;BR /&gt;3)Will the NFS mount points of NFS client automatically connect to NFS server after restarting the NFS server?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4)How to restart the NFS server safely? what are the commands to be used.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Dec 2009 12:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547005#M370162</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-12-09T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547006#M370163</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;just add lines ( entries ) to the /etc/exports and use command exportfs -va&lt;BR /&gt;&lt;BR /&gt;the server will automaticaly using new settings without restarting of the NFS server.&lt;BR /&gt;&lt;BR /&gt;on the client side add the entries to the /etc/fstab and mount -a or youst mount it manually.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Wed, 09 Dec 2009 12:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547006#M370163</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-12-09T12:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547007#M370164</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;showmount -e hostname_of_nfs_server&lt;BR /&gt;&lt;BR /&gt;will show you wich FS are exported for which hosts, and which access privileges.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Wed, 09 Dec 2009 12:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547007#M370164</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-12-09T12:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547008#M370165</link>
      <description>1)So if we are using "exportfs -a", the existing NFS mount will not be disconnected? am i correct?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)But if we are restarting NFS, then all the NFS mounts will be disconnected and connected (after some times) automatically? am i correct?</description>
      <pubDate>Wed, 09 Dec 2009 13:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547008#M370165</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-12-09T13:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547009#M370166</link>
      <description>1) correct&lt;BR /&gt;&lt;BR /&gt;2) sounds more like NFS with automounter - NFS by itself will not mount/dismount automatically.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 09 Dec 2009 13:54:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547009#M370166</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-12-09T13:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547010#M370167</link>
      <description>what is the purpose of the service NFSLOCK.</description>
      <pubDate>Thu, 10 Dec 2009 13:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547010#M370167</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-12-10T13:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547011#M370168</link>
      <description>It handles file locking for remote and local NFS requests.&lt;BR /&gt;&lt;BR /&gt;Have a look at the rpc.lockd manual page for details</description>
      <pubDate>Thu, 10 Dec 2009 13:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547011#M370168</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-12-10T13:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547012#M370169</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;NFS Lock handles file locking for NFS. NFS file locking in version three of NFS is not very reliable. NFS version 4, which is only available on 11.31 HP-UX handles file locking efficiently.&lt;BR /&gt;&lt;BR /&gt;sEP</description>
      <pubDate>Thu, 10 Dec 2009 13:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547012#M370169</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-12-10T13:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547013#M370170</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;check the man page :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN8/0209____.HTM" target="_blank"&gt;http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN8/0209____.HTM&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Thu, 10 Dec 2009 13:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547013#M370170</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-12-10T13:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547014#M370171</link>
      <description>&lt;!--!*#--&gt;&amp;gt; check the man page : &lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Who thinks that a "man" page for an obsolete&lt;BR /&gt;version of Tru64 is the best source of&lt;BR /&gt;information for "HP-UX 11.11"?</description>
      <pubDate>Thu, 10 Dec 2009 13:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547014#M370171</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-10T13:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547015#M370172</link>
      <description>hi Steven,&lt;BR /&gt;&lt;BR /&gt;yes you have right, my misteak,&lt;BR /&gt;&lt;BR /&gt;in the attachment you will find the man page.&lt;BR /&gt;&lt;BR /&gt;sorry for my wrong response.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Thu, 10 Dec 2009 14:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547015#M370172</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-12-10T14:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547016#M370173</link>
      <description>&amp;gt;1)How to view what are the NFS clients are accessing NFS shares available in NFS server?&lt;BR /&gt;&lt;BR /&gt;you can check it this way:&lt;BR /&gt;&lt;BR /&gt;# showmount -a&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2)What happen if we are restarting the NFS server while NFS client is accessing some NFS shares?&lt;BR /&gt;&lt;BR /&gt;the client will report a stale NFS file handle, and then you must forcibly umount the share, or you should start serving NFS again on the server&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Dec 2009 15:15:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547016#M370173</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-12-10T15:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547017#M370174</link>
      <description>So that other users can not access the same file if one user is accessing, am i correct?</description>
      <pubDate>Thu, 10 Dec 2009 17:17:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547017#M370174</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-12-10T17:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547018#M370175</link>
      <description>&amp;gt;So that other users can not access the same file if one user is accessing, am i correct?&lt;BR /&gt;&lt;BR /&gt;No, this locking is only for writing. Concurrent acces is permitted, but only one can write to the file at once. Before every write this logfile will be stat'ed, if it fails then it cannot be written to the file.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Dec 2009 19:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547018#M370175</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-12-10T19:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547019#M370176</link>
      <description>s/logfile/loCKfile/</description>
      <pubDate>Thu, 10 Dec 2009 19:20:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547019#M370176</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-12-10T19:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547020#M370177</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have configured NFS server in HP-UX 11.31.&lt;BR /&gt;&lt;BR /&gt;I have done following steps:&lt;BR /&gt;&lt;BR /&gt;1)Created NFS share entry in /etc/exports on sys1 (host name of NFS server):&lt;BR /&gt;&lt;BR /&gt;# vi /etc/exports&lt;BR /&gt;&lt;BR /&gt;/var -root=sys3:sys2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)Restarted NFS services needed for NFS server:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/nfs.core start&lt;BR /&gt;    Starting NFS CORE networking&lt;BR /&gt;&lt;BR /&gt;    Starting up the rpcbind&lt;BR /&gt;        /usr/sbin/rpcbind&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/lockmgr start&lt;BR /&gt;    Starting up the Status Monitor daemon&lt;BR /&gt;        rpc.statd already started, using pid: 987&lt;BR /&gt;    Starting up the lock manager daemon&lt;BR /&gt;        /usr/sbin/rpc.lockd &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/nfs.server start&lt;BR /&gt;    Starting NFS SERVER subsystem&lt;BR /&gt;&lt;BR /&gt;    Reading in /etc/dfs/dfstab&lt;BR /&gt;    Starting up the mount daemon&lt;BR /&gt;        /usr/sbin/rpc.mountd&lt;BR /&gt;    Starting up the NFS server daemon&lt;BR /&gt;        /usr/sbin/nfsd&lt;BR /&gt;      Starting up nfsmapid daemon&lt;BR /&gt;        /usr/sbin/nfsmapid&lt;BR /&gt;&lt;BR /&gt;3)Now i have executed the below command to view the NFS shares in NFS server (sys1):&lt;BR /&gt;&lt;BR /&gt;# showmount -e&lt;BR /&gt;no exported file systems for emdlaghpvm05&lt;BR /&gt;&lt;BR /&gt;# showmount -a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4)Then i executed the below command since the NFS shares are not shown by "showmount -e":&lt;BR /&gt;&lt;BR /&gt;# exportfs -va&lt;BR /&gt;shareall -F nfs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5)I am getting below mentioned error while mounting NFS share from NFS client (sys3):&lt;BR /&gt;&lt;BR /&gt;# mount -F nfs sys1:/var /nfs&lt;BR /&gt;nfs mount: sys1:/var: Permission denied&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How to solve this issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Dec 2009 13:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547020#M370177</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-12-14T13:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547021#M370178</link>
      <description>Hi Senthil&lt;BR /&gt;&lt;BR /&gt;As this is 11.31 you need to use the /etc/dfs/dfstab insted of /etc/exports&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;add the entries in the /etc/dfs/dfstab as follows:&lt;BR /&gt;&lt;BR /&gt;share -F nfs /var -o root=sys1:sys2&lt;BR /&gt;save and exit&lt;BR /&gt;&lt;BR /&gt;exportfs -au&lt;BR /&gt;exportfs -a&lt;BR /&gt;&lt;BR /&gt;make sure that on the nfs server as well as the nfs clients the /etc/hosts have the each others entries.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if you /etc/exports there and want to convert the saem to the /etc/dfs/dfstab format, just run the commands as &lt;BR /&gt;&lt;BR /&gt;exportfs -au&lt;BR /&gt;exp2dfs&lt;BR /&gt;exportfs -a&lt;BR /&gt;showmount -e&lt;BR /&gt;&lt;BR /&gt;make sure the nfs server and the nfs clients have each others entries in the /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit</description>
      <pubDate>Mon, 14 Dec 2009 14:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547021#M370178</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-12-14T14:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547022#M370179</link>
      <description>Hi Senthil&lt;BR /&gt;&lt;BR /&gt;As this is 11.31 you need to use the /etc/dfs/dfstab insted of /etc/exports&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;add the entries in the /etc/dfs/dfstab as follows:&lt;BR /&gt;&lt;BR /&gt;share -F nfs /var -o root=sys1:sys2&lt;BR /&gt;save and exit&lt;BR /&gt;&lt;BR /&gt;exportfs -au&lt;BR /&gt;exportfs -a&lt;BR /&gt;&lt;BR /&gt;make sure that on the nfs server as well as the nfs clients the /etc/hosts have the each others entries.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if you /etc/exports there and want to convert the saem to the /etc/dfs/dfstab format, just run the commands as &lt;BR /&gt;&lt;BR /&gt;exportfs -au&lt;BR /&gt;exp2dfs -- this shall convert the /etc/export entries to /etc/dfs/dfstab entries.&lt;BR /&gt;exportfs -a&lt;BR /&gt;showmount -e&lt;BR /&gt;&lt;BR /&gt;make sure the nfs server and the nfs clients have each others entries in the /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit</description>
      <pubDate>Mon, 14 Dec 2009 14:39:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547022#M370179</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-12-14T14:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547023#M370180</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;showmount -e localhost&lt;BR /&gt;&lt;BR /&gt;To see after all these changes you have made have altered your NFS shares.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 14 Dec 2009 15:21:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547023#M370180</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-12-14T15:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart NFS server safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547024#M370181</link>
      <description>So both "/etc/exports" and "/etc/dfs/dfstab" are differing lot in configuration method.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What about the options like root, rw, ro, anon, aync.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Could you please explain about what those options are meaning in /etc/dfs/dfstab.</description>
      <pubDate>Mon, 14 Dec 2009 15:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restart-nfs-server-safely/m-p/4547024#M370181</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-12-14T15:53:21Z</dc:date>
    </item>
  </channel>
</rss>

