<?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: Correct use of NFS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630546#M71303</link>
    <description>Wim, now I see You have both sides VMS, so my Unix examples are irrelavant.&lt;BR /&gt;&lt;BR /&gt;Would You explain, what "B knows only of /export, not DISK and DIR" really means ?&lt;BR /&gt;&lt;BR /&gt;The NFS client MOUNT command has to know the exported path, wether it is /export or /export/dir. The tcpip mount command still can choose which local directory it mounts it on:&lt;BR /&gt;TCPIP MOUNT DNFSn: results in DNFSn:[000000] being the exported directory. The users never see what is behind /export/dir. If You want to hide [000000] then You can choose any "mount point" like&lt;BR /&gt;TCPIP MOUNT DNFSn:[systemA]&lt;BR /&gt;&lt;BR /&gt;Or is Your problem with existing system-management (or whoever does the TCPIP MOUNT on B), which now mounts /export, and can't be asked to change ?</description>
    <pubDate>Wed, 21 Sep 2005 05:56:53 GMT</pubDate>
    <dc:creator>Joseph Huber_1</dc:creator>
    <dc:date>2005-09-21T05:56:53Z</dc:date>
    <item>
      <title>Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630538#M71295</link>
      <description>TCP 5.3. On system A I have a disk DISK with directory DIR. I want to NFS mount it on system B as "/export". System B may not know of DISK and DIR, only of /export.&lt;BR /&gt;&lt;BR /&gt;What do I need to map/export/mount ?&lt;BR /&gt;&lt;BR /&gt;(tried it for an hour and went crazy of the error messages, also crazy because operator.log is deferred write)&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 20 Sep 2005 13:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630538#M71295</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-09-20T13:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630539#M71296</link>
      <description>No immediate idea on NFS, sorry, but an idea how to work around OPCOM's buffering:&lt;BR /&gt;&lt;BR /&gt;if you send the '$REPLY/LOG' command, it looks like all buffers are flushed to the current OPERATOR.LOG before a new file is opened. You can then access the contents, e.g. with:&lt;BR /&gt;&lt;BR /&gt;$ type/tail sys$manager:operator.log;-1</description>
      <pubDate>Tue, 20 Sep 2005 14:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630539#M71296</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-09-20T14:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630540#M71297</link>
      <description>tcpip map /disk DISK:&lt;BR /&gt;tcpip add export /disk/dir &lt;BR /&gt;&lt;BR /&gt;On the client side: mount point is /disk/dir.&lt;BR /&gt;Unix fstab: node:/disk/dir:/mnt/vmsdir:rw:0:0&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 15:10:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630540#M71297</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-09-20T15:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630541#M71298</link>
      <description>Sorry, in my previous answer, the Unix style pathes /disk, /disk/dir must be enclosed in string quotes ("").&lt;BR /&gt;&lt;BR /&gt;And: for root to access the VMS export, there must be a NFS proxy for /gid=/uid=0.&lt;BR /&gt;At least I don't know off hand how to specify non-root mounts.</description>
      <pubDate>Tue, 20 Sep 2005 16:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630541#M71298</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-09-20T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630542#M71299</link>
      <description>Hi Wim,&lt;BR /&gt;&lt;BR /&gt;If system B is not to know about DISK and DIR, you may have to use the container file.&lt;BR /&gt;&lt;BR /&gt;On system A:-&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; add proxy local_user /host=systemB /GID=gid /UID=uid/NFS=incoming&lt;BR /&gt;TCPIP&amp;gt; create container  DISK:[DIR]/user=local_user/host=systemB&lt;BR /&gt;TCPIP&amp;gt; map "/disk" DISK:&lt;BR /&gt;TCPIP&amp;gt; map "/export" DISK:[DIR]&lt;BR /&gt;TCPIP&amp;gt; add export "/export"/host=systemB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On system B:-&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; add proxy local_user /host=systemA /GID=gid /UID=uid/NFS=outgoing&lt;BR /&gt;TCPIP&amp;gt; mount dnfs0: /host=systemA /path="/export"&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 20:21:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630542#M71299</guid>
      <dc:creator>Michael Yu_3</dc:creator>
      <dc:date>2005-09-20T20:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630543#M71300</link>
      <description>Joseph : System B may not know of DISK and DIR, only of /export&lt;BR /&gt;&lt;BR /&gt;Michael : not possible without a container ?&lt;BR /&gt;&lt;BR /&gt;It's VMS to VMS.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Sep 2005 00:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630543#M71300</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-09-21T00:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630544#M71301</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;Create container wants to create the directory itself while it already exists.&lt;BR /&gt;I want to present an EXISTING directory !&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 21 Sep 2005 01:37:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630544#M71301</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-09-21T01:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630545#M71302</link>
      <description>Wim, You are completely free to name the map as You like. But You can't map a subdirectory unless it is a container, that's what You don't want, You want to share the directory between systems A and B.&lt;BR /&gt;So, if You don't want to export the whole disk, there is no way around exporting the path to the particular directory. &lt;BR /&gt;Why can't the client system mount /export/dir ?&lt;BR /&gt;It is just the path in the mount command (or in the /etc/fstab entry).&lt;BR /&gt;If the other system is Unix, then You can choose any local mount point (the Unix directory to mount the export TO).&lt;BR /&gt;So the mount would be&lt;BR /&gt; A:/export/dir:/mnt/export&lt;BR /&gt;and the access on Unix to VMSs disk:[dir] would be /mnt/export .</description>
      <pubDate>Wed, 21 Sep 2005 02:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630545#M71302</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-09-21T02:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630546#M71303</link>
      <description>Wim, now I see You have both sides VMS, so my Unix examples are irrelavant.&lt;BR /&gt;&lt;BR /&gt;Would You explain, what "B knows only of /export, not DISK and DIR" really means ?&lt;BR /&gt;&lt;BR /&gt;The NFS client MOUNT command has to know the exported path, wether it is /export or /export/dir. The tcpip mount command still can choose which local directory it mounts it on:&lt;BR /&gt;TCPIP MOUNT DNFSn: results in DNFSn:[000000] being the exported directory. The users never see what is behind /export/dir. If You want to hide [000000] then You can choose any "mount point" like&lt;BR /&gt;TCPIP MOUNT DNFSn:[systemA]&lt;BR /&gt;&lt;BR /&gt;Or is Your problem with existing system-management (or whoever does the TCPIP MOUNT on B), which now mounts /export, and can't be asked to change ?</description>
      <pubDate>Wed, 21 Sep 2005 05:56:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630546#M71303</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-09-21T05:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630547#M71304</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;I wanted clients to use a logical when mounting. This way I can move the files to other disks / directories without having to modify all 100 clients.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 22 Sep 2005 08:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630547#M71304</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-09-22T08:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630548#M71305</link>
      <description>But then the solution is easy:&lt;BR /&gt;&lt;BR /&gt;the clients mount command needs once and for all fix the mount path (or the logical name resulting in) to say "/export/dir".&lt;BR /&gt;There is to my knowledge no way around specifying a subdirectory: in Unix speech "/export" is a device path only, and TCPIP mount "speaks" Unix in this regard. &lt;BR /&gt;&lt;BR /&gt;Then only the server side need to change when the disk/directory becomes different:&lt;BR /&gt;&lt;BR /&gt;Map /export to the new disk.&lt;BR /&gt;Create a directory alias (or hardlink on ODS5 disks) [DIR] pointing to the new directory,&lt;BR /&gt;then "/export/dir" need not be changed at all, and all the clients can mount without changing a single character in the pathname.</description>
      <pubDate>Thu, 22 Sep 2005 09:25:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630548#M71305</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-09-22T09:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630549#M71306</link>
      <description>Ok J but I avoid hardlinks. I was searching for a pure tcpip thing (e.g. via mapping).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 22 Sep 2005 09:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630549#M71306</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-09-22T09:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Correct use of NFS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630550#M71307</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;if I understand correctly, you want to be able to just use:&lt;BR /&gt;&lt;BR /&gt;SOMEDIR:&lt;BR /&gt;&lt;BR /&gt;as a directory spec?&lt;BR /&gt;&lt;BR /&gt;In that case you CAN &lt;BR /&gt;$  DEFINE/SYSTEM/EXEC SOMEDIR DNFS:[topdir.subdir]&lt;BR /&gt;Then you just&lt;BR /&gt;We have been using it for some time (although it has been quite some time ago).&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Thu, 22 Sep 2005 12:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/correct-use-of-nfs/m-p/3630550#M71307</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-09-22T12:46:27Z</dc:date>
    </item>
  </channel>
</rss>

