- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Problem with removing LDA device
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
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
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
12-18-2006 11:32 PM
12-18-2006 11:32 PM
Problem with removing LDA device
I have a device LDA59: , not mounted, not allocated.
$ LD DISCONNECT LDA59: /ABORT gives
%LD-F-DEVASSIGN, Device has channels assigned
I have tried everything I know, even
$ANA/SYS
SDA> SHOW PROC ALL/CHANN
I found no process with channels open to LDA59:
Help.
Greetings,
Piet
I know, a reboot will solve this??!!??
(but this is an OpenVMS node, not windows...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 11:42 PM
12-18-2006 11:42 PM
Re: Problem with removing LDA device
LD SHOW /ALL looks o.k.?
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 11:46 PM
12-18-2006 11:46 PM
Re: Problem with removing LDA device
did you happen to use LD CONNECT/REPLACE ?
What does $ LD SHOW LDA59: report ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 11:50 PM
12-18-2006 11:50 PM
Re: Problem with removing LDA device
$ SHOW DEVI LD says status Online
The node is part of a cluster, but the LD driver is only started on the current node.
Greetings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 11:53 PM
12-18-2006 11:53 PM
Re: Problem with removing LDA device
$ MOUNT LDA59: label gives
device already allocated to another user.
$ MOUNT/CLUSTER LDA59: label, the device is mounted and can be used.
Frustrating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 12:10 AM
12-19-2006 12:10 AM
Re: Problem with removing LDA device
$ ld help error devassign
talks about a possible LD trace operation, that may stil be active ?!
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 12:12 AM
12-19-2006 12:12 AM
Re: Problem with removing LDA device
Ayup an 'allocate' will also increase the reference count, giving 'assigned channels'.
Your last reply confirms this.
So find the owning process and either shoot it, or issue a DEASSIGN LDA59: and proceed.
[Ik heb dit 'probleem' / misverstand ook gehad, en dat was het advies van Jur]
Met vriendelijke groetjes,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 12:22 AM
12-19-2006 12:22 AM
Re: Problem with removing LDA device
%LD-F-CONTTRACENOTACT, Continuous tracing is not active for device LDA59:
$ pipe sh log | sear sys$pipe lda59
%SEARCH-I-NOMATCHES, no strings matched
Sorry, both did not work.
ps. the sh log command i tried also with SYSMAN to execute this on all nodes in the cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 12:53 AM
12-19-2006 12:53 AM
Re: Problem with removing LDA device
Hmm,
Why do you think SHOW LOG would show it?
You still have not shown us a simple $SHOW DEV LDA59:/FULL.
Is there anything in the "Owner process ID"?
If there is, then it is allocated and can not be destroyed as the reference count is non-zero.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 12:56 AM
12-19-2006 12:56 AM
Re: Problem with removing LDA device
Why do you think SHOW LOG would show it?
Because you wrote 'DEASSIGN LDA59:' to get rid of it ?!
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 12:56 AM
12-19-2006 12:56 AM
Re: Problem with removing LDA device
sh dev lda59/full
Disk $1$LDA59: (NODE), device type Foreign disk type 1, is online, file-
oriented device, shareable.
Error count 0 Operations completed 671
Owner process "" Owner UIC [AP_HTTPD,APACHE$WWW]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 2 Default buffer size 512
Total blocks 10000 Sectors per track 10
Total cylinders 100 Tracks per cylinder 10
Allocation class 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 01:58 AM
12-19-2006 01:58 AM
Re: Problem with removing LDA device
this is the problem:
Reference count 2 <<<
After connecting a LD device to a container file, the LD device reference count is 0 (with OpenVMS V8.2).
Whether it's possible to find existing references or whether some bug had let to not decrementing the reference count, may be hard to find out.
I'm now left with a LD device in 'Mounted dismount alloc', allocated to a non-existing PID after playing around with devices spooled to a LD: device. After all, it's only software ;-(
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 03:53 AM
12-19-2006 03:53 AM
Re: Problem with removing LDA device
try patching the UCB with xdelta to clear the owner PID :-)
You could allocate the device, patch the owner count to 1 then deallocate - as long as you don't mind risking a crash :-)
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 09:25 AM
12-19-2006 09:25 AM
Re: Problem with removing LDA device
Is LD now part of OpenVMS? If so, please log a formal report. Anything that leaves an orphan reference count is, by definition, a bug and needs to be fixed.
Even if it isn't supported by HP, I'm sure there must be a feedback address somewhere in the docs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 07:41 PM
12-19-2006 07:41 PM
Re: Problem with removing LDA device
May I ask why you used /ABORT on the diconnect? (I should probably remove that qualifier as it makes no sense nowadays).
It could be an issue with the abort handling. Is it possible to force a crashdump and send me a pointer?
Thanks,
Jur (LDdriver author).
(Don't bother to log a call with HP for this, there's probably nobody with a clue about this driver. And my support is way faster :-))