<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to MountPoints</title><link>https://sourceforge.net/p/gnv/wiki/MountPoints/</link><description>Recent changes to MountPoints</description><atom:link href="https://sourceforge.net/p/gnv/wiki/MountPoints/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 24 Jan 2019 00:00:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnv/wiki/MountPoints/feed" rel="self" type="application/rss+xml"/><item><title>MountPoints modified by John Malmberg</title><link>https://sourceforge.net/p/gnv/wiki/MountPoints/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,6 +1,14 @@
 Mount Points
 ============
+Note: since this written, I have discovered that symbolic links should be used instead of mounting directories to other points on the disks, not mount points.  I have not had time to re-write this article.

+~~~
+Directory PSX$ROOT:[000000]
+bin.;1 -&amp;gt; /disk$bigdisk/vms$common/gnv/bin
+~~~
+
+
+---- Original text ---
 Mount point support was added to OpenVMS with VMS 8.3 as part of the Posix Root support.

 A mount point allows you to set up a Posix Root in a way similar to a Unix or Linux system.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Malmberg</dc:creator><pubDate>Thu, 24 Jan 2019 00:00:20 -0000</pubDate><guid>https://sourceforge.net8a04463e3f38d5f80f91516fe937e54abc0f6a34</guid></item><item><title>MountPoints modified by Bill Pedersen</title><link>https://sourceforge.net/p/gnv/wiki/MountPoints/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -5,13 +5,13 @@

 A mount point allows you to set up a Posix Root in a way similar to a Unix or Linux system.

-Until you mount a files on a mount point, a mount point is an ordinary directory on OpenVMS.
+Until you mount a "file system" (another directory possibly on different disk) on a mount point, a mount point is an ordinary directory on OpenVMS.

 If there were existing files in a directory used as a mount point those files are hidden when a directory is mounted on it.

-When you mount a directory tree on that directory, even if that directory tree is on a separate volume.  You can then access that directory as if it actually existed at that location.
+When you mount a directory tree on that directory, even if that directory tree is on a separate volume, you can then access that directory as if it actually existed at that location.

-Unlike Unix, the directory mounted has to be on another OpenVMS mounted volume.  Unix typically has a NFS export mounted on a mount point.
+Unlike Unix, the directory mounted has to be on OpenVMS mounted volume.  Unix typically has a NFS export mounted on a mount point.

 On OpenVMS, a NFS mounted volume appears as a VMS disk device.  It is that OpenVMS disk device that you can mount.

@@ -19,8 +19,8 @@

 OpenVMS does not have native commands to mount and unmount directories on mount point.  These commands, **mnt** and **umnt** are provided as part of the GNV kit.

-SYSTEM privileges are needed to mount a directory.  I have not yet verified the minimum
-privileges needed for this operation.
+SYSTEM privileges are needed to mount a directory.  (I have not yet verified the minimum
+privileges needed for this operation.)

 With Coreutils 8.21 the **df** command will display the directories mounted on mount points in addition to the OpenVMS mounted volumes.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bill Pedersen</dc:creator><pubDate>Wed, 30 Oct 2013 11:16:55 -0000</pubDate><guid>https://sourceforge.neta4df286c4b89353bbc70fe0e660720b2d716496e</guid></item><item><title>MountPoints modified by John Malmberg</title><link>https://sourceforge.net/p/gnv/wiki/MountPoints/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -43,9 +43,24 @@

 Cleaning up problems with Mount Points
 -----------------------------------------
-One of the problems with mount points can occur if they are not recreated by a command procedure run at system startup and directories and files are created on the mount point instead of the mounted directory.  TODO:  Will add more to this section later.
+One of the problems with mount points can occur if the intended directories are not mounted by a command procedure run at system startup.

-Depending on how badly your disk is messed up, the **mnt** and **umnt** tools will either be at **device:\[vms$common.bin\]umnt** or at **psx$root:\[bin]\umnt**.
+This can result directories and files are created on the mount point instead of the mounted directory tree.  On OpenVMS when you create a directory any missing parent directories are also created which makes this easier to happen.
+
+The HP GNV 2.1.3 and HP GNV 3.0.1 kits make this type of problem possible after it installs the files from the kit, it moves the files to be in the PSX$ROOT directory tree instead of \[vms$common.gnv\] and then it mounts the PSX$ROOT directory on \[vms$common.gnv\] using the **psx$up_startup.com** procedure that is called by the **gnv$startup.com** procedure.
+
+This means if the **gnv$startup.com** procedure is not run, it is possible to install other products into the \[vms$common.gnv\].
+
+In order to fix this, if you have a directory mounted that you need to dismount, you will need to use the **umnt** tool from the GNV kit.  This tool will either be at **device:\[vms$common.bin\]umnt.exe** or at **psx$root:\[bin]\umnt.exe** depending one what happened.
+
+If you can not find the umnt.exe tool, then if you can make sure that the OpenVMS startup will not remount the directory, you can reboot the system to clear the directory.
+
+Then you can move the files and directories off of the mount point to their correct locations.
+
+[Ticket #9, psx$root / gnv mount points backwards](https://sourceforge.net/p/gnv/bugs/9/) has been filed to track this issue.  The plan is to have a future kit or procedure to change GNV back to being installed into \[vms$common.gnv\] and mount the directories as per the example in the previous section.
+
+It may not be possible for an automatic command procedure to fix the \[vms$common.gnv\] directory if both it and the psx$root: both have files in them.
+

 Technical Note:
 ---------------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Malmberg</dc:creator><pubDate>Tue, 29 Oct 2013 23:12:26 -0000</pubDate><guid>https://sourceforge.net893a987477d91c81b259e0c27aaf5b5f7c6d84c0</guid></item><item><title>MountPoints modified by John Malmberg</title><link>https://sourceforge.net/p/gnv/wiki/MountPoints/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -41,6 +41,12 @@
 _EAGLE$DQB0:                              /EAGLE$DQB0
 ~~~~~

+Cleaning up problems with Mount Points
+-----------------------------------------
+One of the problems with mount points can occur if they are not recreated by a command procedure run at system startup and directories and files are created on the mount point instead of the mounted directory.  TODO:  Will add more to this section later.
+
+Depending on how badly your disk is messed up, the **mnt** and **umnt** tools will either be at **device:\[vms$common.bin\]umnt** or at **psx$root:\[bin]\umnt**.
+
 Technical Note:
 ---------------
 While not documented, OpenVMS mounted directories are stored in the **LNM$MNT_DATABASE** logical name table.  This is from inspecting the source code supplied with GNV.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Malmberg</dc:creator><pubDate>Tue, 29 Oct 2013 12:15:32 -0000</pubDate><guid>https://sourceforge.net019c34eb3fffb57c9512ba0a4fb95d835fc6b79e</guid></item><item><title>MountPoints modified by John Malmberg</title><link>https://sourceforge.net/p/gnv/wiki/MountPoints/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="mount-points"&gt;Mount Points&lt;/h1&gt;
&lt;p&gt;Mount point support was added to OpenVMS with VMS 8.3 as part of the Posix Root support.&lt;/p&gt;
&lt;p&gt;A mount point allows you to set up a Posix Root in a way similar to a Unix or Linux system.&lt;/p&gt;
&lt;p&gt;Until you mount a files on a mount point, a mount point is an ordinary directory on OpenVMS.&lt;/p&gt;
&lt;p&gt;If there were existing files in a directory used as a mount point those files are hidden when a directory is mounted on it.&lt;/p&gt;
&lt;p&gt;When you mount a directory tree on that directory, even if that directory tree is on a separate volume.  You can then access that directory as if it actually existed at that location.&lt;/p&gt;
&lt;p&gt;Unlike Unix, the directory mounted has to be on another OpenVMS mounted volume.  Unix typically has a NFS export mounted on a mount point.&lt;/p&gt;
&lt;p&gt;On OpenVMS, a NFS mounted volume appears as a VMS disk device.  It is that OpenVMS disk device that you can mount.&lt;/p&gt;
&lt;p&gt;On OpenVMS Mount points can only be on an ODS-5 volume, you can mount ODS-2 directory on it.&lt;/p&gt;
&lt;p&gt;OpenVMS does not have native commands to mount and unmount directories on mount point.  These commands, &lt;strong&gt;mnt&lt;/strong&gt; and &lt;strong&gt;umnt&lt;/strong&gt; are provided as part of the GNV kit.&lt;/p&gt;
&lt;p&gt;SYSTEM privileges are needed to mount a directory.  I have not yet verified the minimum&lt;br /&gt;
privileges needed for this operation.&lt;/p&gt;
&lt;p&gt;With Coreutils 8.21 the &lt;strong&gt;df&lt;/strong&gt; command will display the directories mounted on mount points in addition to the OpenVMS mounted volumes.&lt;/p&gt;
&lt;p&gt;Mounted directories are not persistent across reboots, and are local to a cluster member.&lt;/p&gt;
&lt;p&gt;When you set up a mount point, you want to avoid setting up an infinite directory loop, where by doing wild card directory of the mounted directory you reach the mount point.&lt;/p&gt;
&lt;p&gt;A typical setup would be to mount directories on the Posix root or a directory near the root of a volume.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Filesystem&lt;/span&gt;                                &lt;span class="n"&gt;Mounted&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt;
&lt;span class="n"&gt;DISK&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;BIGDISK&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;VMS&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;COMMON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gnv&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;DIR&lt;/span&gt;      &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;
&lt;span class="n"&gt;DISK&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;BIGDISK&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;VMS&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;COMMON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gnv&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="n"&gt;man&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;DIR&lt;/span&gt;      &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;man&lt;/span&gt;
&lt;span class="n"&gt;DISK&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;BIGDISK&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;VMS&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;COMMON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gnv&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;DIR&lt;/span&gt;      &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;
&lt;span class="n"&gt;DISK&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;BIGDISK&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;VMS&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;COMMON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gnv&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="n"&gt;include&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;DIR&lt;/span&gt;  &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;include&lt;/span&gt;
&lt;span class="n"&gt;DISK&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;BIGDISK&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;VMS&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;COMMON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gnv&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;DIR&lt;/span&gt;      &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;
&lt;span class="n"&gt;DISK&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;BIGDISK&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;VMS&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;COMMON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gnv&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;DIR&lt;/span&gt;      &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;
&lt;span class="n"&gt;_EAGLE&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;DQB0&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;                              &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;EAGLE&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;DQB0&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="technical-note"&gt;Technical Note:&lt;/h2&gt;
&lt;p&gt;While not documented, OpenVMS mounted directories are stored in the &lt;strong&gt;LNM$MNT_DATABASE&lt;/strong&gt; logical name table.  This is from inspecting the source code supplied with GNV.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Malmberg</dc:creator><pubDate>Mon, 28 Oct 2013 04:27:39 -0000</pubDate><guid>https://sourceforge.net3e118eb9eb1673ec6f0aaaa3abe5f934899abe00</guid></item></channel></rss>