<?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: Drive Mounted with Foreign Qualifier in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101391#M89168</link>
    <description>This volume was mounted privately and must be dismounted by the same process that performed the mount (an implicit dismount would occur if that process was to log out). You can determine the owner process using &lt;BR /&gt;&lt;BR /&gt;$ show device/full $1$DUA32:</description>
    <pubDate>Thu, 03 Apr 2008 14:11:48 GMT</pubDate>
    <dc:creator>Jim_McKinney</dc:creator>
    <dc:date>2008-04-03T14:11:48Z</dc:date>
    <item>
      <title>Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101385#M89162</link>
      <description>A drive was mounted using the following command&lt;BR /&gt;MOUNT/FOR $1$DUA32 HIST&lt;BR /&gt;&lt;BR /&gt;This caused the following result.&lt;BR /&gt;&lt;BR /&gt;Device             Device         Error  Volume&lt;BR /&gt; Name              Status         Count  Label&lt;BR /&gt;$1$DUA32:(HSC003)  Mounted alloc    0     HIST&lt;BR /&gt;                   foreign wrtlck&lt;BR /&gt;&lt;BR /&gt;How do I dismount the drive such that it can be mounted properly?&lt;BR /&gt;&lt;BR /&gt;Thanx Fred</description>
      <pubDate>Thu, 03 Apr 2008 13:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101385#M89162</guid>
      <dc:creator>fastfreddy</dc:creator>
      <dc:date>2008-04-03T13:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101386#M89163</link>
      <description>Fred,&lt;BR /&gt;&lt;BR /&gt;$ HELP is your friend! Try it.&lt;BR /&gt;&lt;BR /&gt;And, this being VMS, you might try to guess the commands.&lt;BR /&gt;&lt;BR /&gt;The command to dismount a drive is...&lt;BR /&gt;$ DISMOUNT &lt;DRIVE&gt;&lt;BR /&gt;so, to dismount $1$DUA32 :&lt;BR /&gt;$ DISMOUNT $1$DUA32&lt;BR /&gt;&lt;BR /&gt;The same principle holds for all commands (but sometimes you WILL have to search dor the correct synonym)&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;/DRIVE&gt;</description>
      <pubDate>Thu, 03 Apr 2008 13:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101386#M89163</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-04-03T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101387#M89164</link>
      <description>So you're saying that when you mounted it foreign, it mounted it foreign AND write-locked it?  Curious...&lt;BR /&gt;&lt;BR /&gt;$ Dismount Disk$Hist&lt;BR /&gt;or&lt;BR /&gt;$ Dismount $1$DUA32:&lt;BR /&gt;&lt;BR /&gt;by itself should work.  Of course, if you logged out, it should dismount automatically since the device is allocated to your process and you didn't do a /Group or /System mount (which you can't with a /Foreign device anyways, so I don't know why I brought that up!)</description>
      <pubDate>Thu, 03 Apr 2008 13:50:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101387#M89164</guid>
      <dc:creator>Aaron Sakovich</dc:creator>
      <dc:date>2008-04-03T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101388#M89165</link>
      <description>That was the first command that I tried.&lt;BR /&gt;&lt;BR /&gt;$dismount/override=checks $1$dua32:&lt;BR /&gt;%DISM-W-CANNOTDMT, $1$DUA32: cannot be dismounted&lt;BR /&gt;%SYSTEM-F-DEVNOTMOUNT, device is not mounted</description>
      <pubDate>Thu, 03 Apr 2008 13:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101388#M89165</guid>
      <dc:creator>fastfreddy</dc:creator>
      <dc:date>2008-04-03T13:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101389#M89166</link>
      <description>Are you in a Cluster ?&lt;BR /&gt;&lt;BR /&gt;Maybe you mounted it on a node, and try the dismount on another Cluster node ?</description>
      <pubDate>Thu, 03 Apr 2008 14:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101389#M89166</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-04-03T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101390#M89167</link>
      <description>Just to clarify the issue the command was not issued by me rather by someone with limited OpenVMS knowledge.&lt;BR /&gt;&lt;BR /&gt;The device was formerly a member of a shadow set that became dis-functional due to controller problems which since have been resolved.&lt;BR /&gt;&lt;BR /&gt;The drive came back online and was then incorrectly mounted as foreign and cannot be dismounted because of a mounted allocate foreign writelock condition. &lt;BR /&gt;&lt;BR /&gt;$ dismount/override=checks $1$dua32:&lt;BR /&gt;%DISM-W-CANNOTDMT, $1$DUA32: cannot be dismounted&lt;BR /&gt;%SYSTEM-F-DEVNOTMOUNT, device is not mounted&lt;BR /&gt;&lt;BR /&gt;The process that mounted it has logged off.&lt;BR /&gt;&lt;BR /&gt;How do I clear this condition such that the device can be dismounted and re-mounted as part of its shadow set.&lt;BR /&gt;&lt;BR /&gt;Thanx Fred</description>
      <pubDate>Thu, 03 Apr 2008 14:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101390#M89167</guid>
      <dc:creator>fastfreddy</dc:creator>
      <dc:date>2008-04-03T14:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101391#M89168</link>
      <description>This volume was mounted privately and must be dismounted by the same process that performed the mount (an implicit dismount would occur if that process was to log out). You can determine the owner process using &lt;BR /&gt;&lt;BR /&gt;$ show device/full $1$DUA32:</description>
      <pubDate>Thu, 03 Apr 2008 14:11:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101391#M89168</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2008-04-03T14:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101392#M89169</link>
      <description>This is a clustered environment but no attempt was made to mount it on the other node. It shows the same condition on the other node but as a remote mount.&lt;BR /&gt;&lt;BR /&gt;Thanx Fred</description>
      <pubDate>Thu, 03 Apr 2008 14:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101392#M89169</guid>
      <dc:creator>fastfreddy</dc:creator>
      <dc:date>2008-04-03T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101393#M89170</link>
      <description>If we could see the output from a SHOW DEVICE/FULL command, that would be a big help.&lt;BR /&gt;&lt;BR /&gt;Did you try DISMOUNT/ABORT (I'm guessing that the volume is in mount verification).</description>
      <pubDate>Thu, 03 Apr 2008 14:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101393#M89170</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2008-04-03T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101394#M89171</link>
      <description>The volume appears mounted privately, given the allocation and given the command shown.  Issue the DISMOUNT in the same process that issued the MOUNT, or issue a LOGOUT and cause that whole session to log out and which will then allow the automatic DISMOUNT(s) to run.&lt;BR /&gt;&lt;BR /&gt;This case is sometimes called "operator error", and it's among the most common ways to trash production data and/or the system uptime stats.&lt;BR /&gt;&lt;BR /&gt;The following is not intended as personal nor as rude, and I do not care who issued the errant commands.  Mistakes happen.  What follows is what I've learned from similar mistakes and errors I've encountered over the years.&lt;BR /&gt;&lt;BR /&gt;Access to and the errant use of core OpenVMS system management commands such as MOUNT -- combined with inexperience or incautiousness -- is a very bad combination for continued data integrity and for continued operations in production configurations.  &lt;BR /&gt;&lt;BR /&gt;Here, I'd remove any and all non-default privileges from the user involved; from whomever issued the MOUNT command.&lt;BR /&gt;&lt;BR /&gt;This for the continued integrity of the production data and the production environment.  Not as punishment.  "Privileges" are better thought of as "Responsibilities", and are the central mechanisms used by OpenVMS to protect against "operator error".&lt;BR /&gt;&lt;BR /&gt;Next up would be creating or working with automated or local or tailored DCL procedures to perform whatever the target task might be.  This to remove the need for privileges.&lt;BR /&gt;&lt;BR /&gt;How good are the local disk backups, and how current are they?  Given what I'm reading and what I'm inferring here, I could easily see an errant DCL command leading to data loss or downtime.&lt;BR /&gt;&lt;BR /&gt;Mistakes can and do happen, and learning from and particularly working toward reducing exposure to future and similar mistakes is how better uptime is achieved.  This can be through canned procedures, site policies, OpenVMS training, use of least privileges, or other approaches.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC</description>
      <pubDate>Thu, 03 Apr 2008 14:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101394#M89171</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-04-03T14:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101395#M89172</link>
      <description>Fred,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;$1$DUA32:(HSC003) Mounted alloc 0 HIST&lt;BR /&gt;foreign wrtlck&lt;BR /&gt;=== and ===&lt;BR /&gt;$ dismount/override=checks $1$dua32:&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Foreign mount can only be process-private.&lt;BR /&gt;So, that process DOES still exist!&lt;BR /&gt;&lt;BR /&gt;As already said, SHOW DEV $1$DUA32 /full DOES show the owner PID.&lt;BR /&gt;&lt;BR /&gt;If you can not locate who that is, do a STOP/ID for that PID.&lt;BR /&gt;That SHOULD release the drive, unless for some reason the process CANNOT be deleted.&lt;BR /&gt;&lt;BR /&gt;In that case, THAT is your real problem, but let us not look too far ahead.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Apr 2008 14:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101395#M89172</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-04-03T14:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101396#M89173</link>
      <description>Oops.&lt;BR /&gt;&lt;BR /&gt;Hit Submit a little bit too quick.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;$ dismount/override=checks $1$dua32:&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;I was going to add:&lt;BR /&gt;&lt;BR /&gt;/override=checks does not apply for foreign mounted devices.&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, 03 Apr 2008 15:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101396#M89173</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-04-03T15:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101397#M89174</link>
      <description>Problem solved.&lt;BR /&gt;&lt;BR /&gt;I was told that the process that had performed the incorrect MOUNT had logged off but it hadn't so the device was still allocated to the process. &lt;BR /&gt;When I killed the process the device was deallocated and dismounted.&lt;BR /&gt;&lt;BR /&gt;It is now properly mounted and in the process of doing a shadow copy.&lt;BR /&gt;&lt;BR /&gt;My BAD I should always verify what I have been told.&lt;BR /&gt;&lt;BR /&gt;I agree with the comment the least amount of priviledges in case of lack of knowledge but it is not practical in this case because this person is a senior member of the support team and requires this level of priviledge to perform their duties.&lt;BR /&gt;&lt;BR /&gt;I am only a "contractor" brought in to assist the team need I say more.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Apr 2008 15:02:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101397#M89174</guid>
      <dc:creator>fastfreddy</dc:creator>
      <dc:date>2008-04-03T15:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Mounted with Foreign Qualifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101398#M89175</link>
      <description>I was told that the process that had performed the incorrect MOUNT had logged off but it hadn't so the device was still allocated to the process. &lt;BR /&gt;When I killed the process the device was deallocated and dismounted.&lt;BR /&gt;&lt;BR /&gt;It is now properly mounted and in the process of doing a shadow copy.&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Apr 2008 16:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/drive-mounted-with-foreign-qualifier/m-p/5101398#M89175</guid>
      <dc:creator>fastfreddy</dc:creator>
      <dc:date>2008-04-03T16:20:58Z</dc:date>
    </item>
  </channel>
</rss>

