GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Errors with mc command
Operating System - HP-UX
1846078
Members
3043
Online
110253
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-25-2002 10:20 AM
06-25-2002 10:20 AM
Errors with mc command
I'm not sure where to put this wuestion, so I'm dropping it in familiar waters. The situation:
ADIC Tape library: a tape had jammed during retrieval from the mailbox and then fallen to the floor. I popped open the front and reslotted the tape. No problem, right?
Well, in teh past I have had issues with the door not being "really shut" so that while the initial barcode scan would function properly nothing else would. I use mc commands to test library operations when that happens. No problem, right?
I wish. While these commands have functioned for me in the past, I now receive:
# mc -p /dev/picker -r DS
ERROR: 0x5 Illegal Request : 0x2400 Invalid field in command descriptor block
Confused by this, I tried using uma to do some tape manipulations:
# /opt/omni/lbin/uma -ioctl /dev/picker
*** PROGRAM: UMA VERSION: HP OpenView OmniBack II A.03.50
*** Copyright (C) 1996 Hewlett-Packard Company
*** License is restricted for use with licensed
*** HP OpenView OmniBack II products.
/dev/picker> stat
'Element Status (T=Transport, X=Im/Export, D=Drive, S=Storage):
1 T1 Empty "" ""
16 X1 Empty "" ""
.
.
.
/dev/picker> move from 4182 to 16
move: Invalid element address.
dev/picker> move from S87 to X1
move: Invalid element address.
So, door not seated right? Nope. Library self-checks and direct manipulations work fine. And, here's the kicker, I can load and initialize tapes successfully through omniback! So, am I missing something in the mc/uma commands? I admit that I don't use these evrfyday, but I can't see the errors (invalid field/invalid element) the error message is referencing. Any ideas?
Now, it has been a very long start of the week
ADIC Tape library: a tape had jammed during retrieval from the mailbox and then fallen to the floor. I popped open the front and reslotted the tape. No problem, right?
Well, in teh past I have had issues with the door not being "really shut" so that while the initial barcode scan would function properly nothing else would. I use mc commands to test library operations when that happens. No problem, right?
I wish. While these commands have functioned for me in the past, I now receive:
# mc -p /dev/picker -r DS
ERROR: 0x5 Illegal Request : 0x2400 Invalid field in command descriptor block
Confused by this, I tried using uma to do some tape manipulations:
# /opt/omni/lbin/uma -ioctl /dev/picker
*** PROGRAM: UMA VERSION: HP OpenView OmniBack II A.03.50
*** Copyright (C) 1996 Hewlett-Packard Company
*** License is restricted for use with licensed
*** HP OpenView OmniBack II products.
/dev/picker> stat
'Element Status (T=Transport, X=Im/Export, D=Drive, S=Storage):
1 T1 Empty "" ""
16 X1 Empty "" ""
.
.
.
/dev/picker> move from 4182 to 16
move: Invalid element address.
dev/picker> move from S87 to X1
move: Invalid element address.
So, door not seated right? Nope. Library self-checks and direct manipulations work fine. And, here's the kicker, I can load and initialize tapes successfully through omniback! So, am I missing something in the mc/uma commands? I admit that I don't use these evrfyday, but I can't see the errors (invalid field/invalid element) the error message is referencing. Any ideas?
Now, it has been a very long start of the week
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 10:41 AM
06-25-2002 10:41 AM
Re: Errors with mc command
Hi Alan:
This is rather puzzling. One thing you might try is the uma 'doorlock 0' to unlock the mailslot door and 'doorlock 1' to lock it.
It might require these commands before any 'move' commands are issued.
I assume that your uma 'stat' command indeed shows that S87 is valid. I suppose that it's also possible that you have some OB2 processes hung (possibly on other hosts) - or hung mc commands.
This is rather puzzling. One thing you might try is the uma 'doorlock 0' to unlock the mailslot door and 'doorlock 1' to lock it.
It might require these commands before any 'move' commands are issued.
I assume that your uma 'stat' command indeed shows that S87 is valid. I suppose that it's also possible that you have some OB2 processes hung (possibly on other hosts) - or hung mc commands.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 02:25 PM
06-25-2002 02:25 PM
Re: Errors with mc command
It is puzzling, but it appears to be patch related. PHKL_22460 (cumulative SCSI) apparently broke some ioctls that send null data (like mc). It is corrected in PHKL_22759 and later. I will try the patch and see whether it resolves my problem.
If not, then I will be well and truly stumped.
If not, then I will be well and truly stumped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 07:31 AM
06-27-2002 07:31 AM
Re: Errors with mc command
I know it is rather plebian, but have you tried the old standby of power/cycle the library and reboot the cell-server?
Another possibility is that your picker is going out. It happened to me on my HP branded StorageTek after about 4 years of service. Got the exact same errors with uma and mc. Eventually, they started showing up in omniback as well.
I think your idea of the patch is definitely the proper place to start though.
Another possibility is that your picker is going out. It happened to me on my HP branded StorageTek after about 4 years of service. Got the exact same errors with uma and mc. Eventually, they started showing up in omniback as well.
I think your idea of the patch is definitely the proper place to start though.
There are 10 types of people in the world, those who understand binary and those who don't - Author Unknown
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP