- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Drive Mounted with Foreign Qualifier
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 06:32 AM
тАО04-03-2008 06:32 AM
MOUNT/FOR $1$DUA32 HIST
This caused the following result.
Device Device Error Volume
Name Status Count Label
$1$DUA32:(HSC003) Mounted alloc 0 HIST
foreign wrtlck
How do I dismount the drive such that it can be mounted properly?
Thanx Fred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 06:46 AM
тАО04-03-2008 06:46 AM
Re: Drive Mounted with Foreign Qualifier
$ HELP is your friend! Try it.
And, this being VMS, you might try to guess the commands.
The command to dismount a drive is...
$ DISMOUNT
so, to dismount $1$DUA32 :
$ DISMOUNT $1$DUA32
The same principle holds for all commands (but sometimes you WILL have to search dor the correct synonym)
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 06:50 AM
тАО04-03-2008 06:50 AM
Re: Drive Mounted with Foreign Qualifier
$ Dismount Disk$Hist
or
$ Dismount $1$DUA32:
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!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 06:54 AM
тАО04-03-2008 06:54 AM
Re: Drive Mounted with Foreign Qualifier
$dismount/override=checks $1$dua32:
%DISM-W-CANNOTDMT, $1$DUA32: cannot be dismounted
%SYSTEM-F-DEVNOTMOUNT, device is not mounted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 07:09 AM
тАО04-03-2008 07:09 AM
Re: Drive Mounted with Foreign Qualifier
Maybe you mounted it on a node, and try the dismount on another Cluster node ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 07:11 AM
тАО04-03-2008 07:11 AM
Re: Drive Mounted with Foreign Qualifier
The device was formerly a member of a shadow set that became dis-functional due to controller problems which since have been resolved.
The drive came back online and was then incorrectly mounted as foreign and cannot be dismounted because of a mounted allocate foreign writelock condition.
$ dismount/override=checks $1$dua32:
%DISM-W-CANNOTDMT, $1$DUA32: cannot be dismounted
%SYSTEM-F-DEVNOTMOUNT, device is not mounted
The process that mounted it has logged off.
How do I clear this condition such that the device can be dismounted and re-mounted as part of its shadow set.
Thanx Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 07:11 AM
тАО04-03-2008 07:11 AM
Re: Drive Mounted with Foreign Qualifier
$ show device/full $1$DUA32:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 07:21 AM
тАО04-03-2008 07:21 AM
Re: Drive Mounted with Foreign Qualifier
Thanx Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 07:44 AM
тАО04-03-2008 07:44 AM
Re: Drive Mounted with Foreign Qualifier
Did you try DISMOUNT/ABORT (I'm guessing that the volume is in mount verification).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 07:45 AM
тАО04-03-2008 07:45 AM
Re: Drive Mounted with Foreign Qualifier
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.
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.
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.
Here, I'd remove any and all non-default privileges from the user involved; from whomever issued the MOUNT command.
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".
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.
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.
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.
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 07:47 AM
тАО04-03-2008 07:47 AM
Solution>>>
$1$DUA32:(HSC003) Mounted alloc 0 HIST
foreign wrtlck
=== and ===
$ dismount/override=checks $1$dua32:
<<<
Foreign mount can only be process-private.
So, that process DOES still exist!
As already said, SHOW DEV $1$DUA32 /full DOES show the owner PID.
If you can not locate who that is, do a STOP/ID for that PID.
That SHOULD release the drive, unless for some reason the process CANNOT be deleted.
In that case, THAT is your real problem, but let us not look too far ahead.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 08:02 AM
тАО04-03-2008 08:02 AM
Re: Drive Mounted with Foreign Qualifier
Hit Submit a little bit too quick.
>>>
$ dismount/override=checks $1$dua32:
<<<
I was going to add:
/override=checks does not apply for foreign mounted devices.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 08:02 AM
тАО04-03-2008 08:02 AM
Re: Drive Mounted with Foreign Qualifier
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.
When I killed the process the device was deallocated and dismounted.
It is now properly mounted and in the process of doing a shadow copy.
My BAD I should always verify what I have been told.
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.
I am only a "contractor" brought in to assist the team need I say more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 09:20 AM
тАО04-03-2008 09:20 AM
Re: Drive Mounted with Foreign Qualifier
When I killed the process the device was deallocated and dismounted.
It is now properly mounted and in the process of doing a shadow copy.