<?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 nfs share command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255094#M471407</link>
    <description>Hi all!!&lt;BR /&gt;&lt;BR /&gt;Ok, if I have a directory on server, sourceserver, we'll call it /dir/2dir/targetdir, and I want to nfs export it to another server, server2:/targetshare&lt;BR /&gt;&lt;BR /&gt;The line in my /etc/fstab on the target server is: sourceserver:/dir/2dir/tagetdir /targetdir nfs defaults 0 2&lt;BR /&gt;&lt;BR /&gt;I have my /etc/exports on the target beast as:&lt;BR /&gt;/dir/2dir/targetdir targetserver:/targetdir&lt;BR /&gt;&lt;BR /&gt;I run the share command:&lt;BR /&gt;share -F nfs -o rw /dir/2dir/targetdir&lt;BR /&gt;then:&lt;BR /&gt;exportfs -a&lt;BR /&gt;&lt;BR /&gt;Do I have to do a dance every time it reboots?  I've set the nfsclient=1 and the nfsserver=1 appropriately.&lt;BR /&gt;&lt;BR /&gt;Am I missing something?</description>
    <pubDate>Sun, 12 Sep 2010 10:09:45 GMT</pubDate>
    <dc:creator>Ron Irving</dc:creator>
    <dc:date>2010-09-12T10:09:45Z</dc:date>
    <item>
      <title>nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255094#M471407</link>
      <description>Hi all!!&lt;BR /&gt;&lt;BR /&gt;Ok, if I have a directory on server, sourceserver, we'll call it /dir/2dir/targetdir, and I want to nfs export it to another server, server2:/targetshare&lt;BR /&gt;&lt;BR /&gt;The line in my /etc/fstab on the target server is: sourceserver:/dir/2dir/tagetdir /targetdir nfs defaults 0 2&lt;BR /&gt;&lt;BR /&gt;I have my /etc/exports on the target beast as:&lt;BR /&gt;/dir/2dir/targetdir targetserver:/targetdir&lt;BR /&gt;&lt;BR /&gt;I run the share command:&lt;BR /&gt;share -F nfs -o rw /dir/2dir/targetdir&lt;BR /&gt;then:&lt;BR /&gt;exportfs -a&lt;BR /&gt;&lt;BR /&gt;Do I have to do a dance every time it reboots?  I've set the nfsclient=1 and the nfsserver=1 appropriately.&lt;BR /&gt;&lt;BR /&gt;Am I missing something?</description>
      <pubDate>Sun, 12 Sep 2010 10:09:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255094#M471407</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2010-09-12T10:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255095#M471408</link>
      <description>Oh...I forgot...the mount -a works like a champ when I'm on the target server.</description>
      <pubDate>Sun, 12 Sep 2010 10:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255095#M471408</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2010-09-12T10:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255096#M471409</link>
      <description>&amp;gt;I have my /etc/exports on the target beast as:&lt;BR /&gt;/dir/2dir/targetdir targetserver:/targetdir&lt;BR /&gt;&lt;BR /&gt;What are you trying to do here?  You can't daisy chain mounts.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Do I have to do a dance every time it reboots? &lt;BR /&gt;&lt;BR /&gt;Which reboots?</description>
      <pubDate>Sun, 12 Sep 2010 10:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255096#M471409</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-09-12T10:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255097#M471410</link>
      <description>so, if I want to nfs mount /dirA on another server, how should my /etc/exports file look?  What if either one reboots?  Do I have to run the share command every time?</description>
      <pubDate>Sun, 12 Sep 2010 10:46:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255097#M471410</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2010-09-12T10:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255098#M471411</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;What versions of hpux are you using? 11.31 doesnt use the /etc/exports file but uses&lt;BR /&gt;/etc/dfs/dfstab file and uses the share command.&lt;BR /&gt;&lt;BR /&gt;11.11 uses /etc/exports file and exportfs command&lt;BR /&gt;&lt;BR /&gt;seems like your trying to use two different ways of doing things&lt;BR /&gt;&lt;BR /&gt;so if 11.31 you would add your entry to this file on the target server and specify here the clients and r/w options &lt;BR /&gt;&lt;BR /&gt;you should also add the mountpoint on the clients fstab to mount it at reboot, not on the servers fstab.&lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Sun, 12 Sep 2010 20:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255098#M471411</guid>
      <dc:creator>Andrew Rutter</dc:creator>
      <dc:date>2010-09-12T20:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255099#M471412</link>
      <description>&amp;gt;if I want to NFS mount /dirA on another server, how should my /etc/exports file look?&lt;BR /&gt;&lt;BR /&gt;That file must either list all of your clients you want to have access or allow all.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;What if either one reboots? Do I have to run the share command every time?&lt;BR /&gt;&lt;BR /&gt;If it is in the client's /etc/fstab, it will be mounted when the client reboots.  If it is in the server's /etc/exports or /etc/dfs/dfstab, it will be exported when the server reboots.&lt;BR /&gt;&lt;BR /&gt;Basically what Andy said.</description>
      <pubDate>Mon, 13 Sep 2010 00:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255099#M471412</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-09-13T00:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255100#M471413</link>
      <description>Ok.  The systems are down presently, but here's what I have in my /etc/exports file:&lt;BR /&gt;&lt;BR /&gt;/u02/oracle/StageR12 access=fobapp&lt;BR /&gt;&lt;BR /&gt;where fobapp is the server mounting the StageR12&lt;BR /&gt;&lt;BR /&gt;Here's the line, (I think,) on fobapp's /etc/fstab&lt;BR /&gt;&lt;BR /&gt;fobdb:/u01/oracle/StageR12 /StageR12 nfs defaults 0 2&lt;BR /&gt;&lt;BR /&gt;How am I doing so far?</description>
      <pubDate>Mon, 13 Sep 2010 03:54:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255100#M471413</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2010-09-13T03:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255101#M471414</link>
      <description>AH!!  (He says as the light goes on)&lt;BR /&gt;&lt;BR /&gt;I'm running 11.31, so as was said previously, /etc/dfs/dfstab would be the thing to use.&lt;BR /&gt;&lt;BR /&gt;The question is:  upon reboot, as long as the /etc/dfs/dfstab file is set correctly, and the /etc/fstab has the appropriate parameter, I should be good to go?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2010 04:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255101#M471414</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2010-09-13T04:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255102#M471415</link>
      <description>ron,&lt;BR /&gt;&lt;BR /&gt;yes it loks like you got it.&lt;BR /&gt;&lt;BR /&gt;when you have added the entries to the dfstab file then issue the share command or stop and start nfs on the target server&lt;BR /&gt;&lt;BR /&gt;#shareall (on the target server)&lt;BR /&gt;&lt;BR /&gt;will share all nfs points&lt;BR /&gt;&lt;BR /&gt;#share (on the target server)&lt;BR /&gt;&lt;BR /&gt;will display all the shared points on your target server&lt;BR /&gt;&lt;BR /&gt;run the mount command on the clients and it should work.&lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Mon, 13 Sep 2010 07:10:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255102#M471415</guid>
      <dc:creator>Andrew Rutter</dc:creator>
      <dc:date>2010-09-13T07:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255103#M471416</link>
      <description>Soooooooooooooo...&lt;BR /&gt;&lt;BR /&gt;...once the dfstab on the 'exporting' server is correct, and the /etc/fstab on the 'mounting' server is correct, and I reboot, (exporting first, mounting 2nd,) then everything should export and mount happily, correct?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2010 08:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255103#M471416</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2010-09-13T08:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255104#M471417</link>
      <description>&amp;gt;/u02/oracle/StageR12 access=fobapp&lt;BR /&gt;&amp;gt;where fobapp is the server mounting the StageR12&lt;BR /&gt;&lt;BR /&gt;Or more precise, fobapp is the client mounting StageR12.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;once the dfstab on the 'exporting' server is correct, and the /etc/fstab on the 'mounting' server is correct, and I reboot, (exporting first, mounting 2nd,) then everything should export and mount happily, correct?&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;You can also use the automounter to mount NFS filesystems as needed on your clients.</description>
      <pubDate>Mon, 13 Sep 2010 12:54:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255104#M471417</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-09-13T12:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255105#M471418</link>
      <description>Thank you so much...here's the line in my dfstab:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/share -F nfs -o rw=/u02/oracle/StageR12&lt;BR /&gt;&lt;BR /&gt;Does that look good?</description>
      <pubDate>Tue, 14 Sep 2010 02:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255105#M471418</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2010-09-14T02:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255106#M471419</link>
      <description>&amp;gt;/usr/sbin/share -F nfs -o rw=/u02/oracle/StageR12&lt;BR /&gt;&amp;gt;Does that look good?&lt;BR /&gt;&lt;BR /&gt;rw= takes a list of machines not filesystems.&lt;BR /&gt;&lt;BR /&gt;If you want to share StageR12 to all machines you can do:&lt;BR /&gt;/usr/sbin/share -F nfs -o rw /u02/oracle/StageR12&lt;BR /&gt;&lt;BR /&gt;Or just:&lt;BR /&gt;/usr/sbin/share -F nfs /u02/oracle/StageR12&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Sep 2010 06:45:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255106#M471419</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-09-14T06:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: nfs share command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255107#M471420</link>
      <description>Thanks Dennis, Andy, and all you "smarter-than-me" guys!!!&lt;BR /&gt;&lt;BR /&gt;Have a beer!!  (Can we buy beer with our points?  I AM Canadian)</description>
      <pubDate>Tue, 14 Sep 2010 12:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-share-command/m-p/5255107#M471420</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2010-09-14T12:51:06Z</dc:date>
    </item>
  </channel>
</rss>

