- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- load-command with Dat-Exchanger
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
11-04-2003 08:39 PM
11-04-2003 08:39 PM
we have a couple of hp DAT-exchangers, and I was wondering if there's a command I can type to insert/load the tape?
One can ofcourse do this manually, but I would like to be able to do it through the command-line too. sometimes the tape is not loaded, or say I need tape 6 and tape1 is loaded I will have to go through all the tapes before I get to the tape I need.
I'm sure there's a "quick" solution for this.
cheers
Thomas G.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 09:17 PM
11-04-2003 09:17 PM
Re: load-command with Dat-Exchanger
Use "mc" Command.
See the man page for "mc"
If you are using HP's Omniback,
then there are some sommand line utilitis.
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 09:32 PM
11-04-2003 09:32 PM
Re: load-command with Dat-Exchanger
mknod /dev/datchgr c 203 0xcs0000
where:
c=controler number
s=SCSI ID of changer
If you have this, you can use:
mc -p /dev/datchgr [...]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 10:24 PM
11-04-2003 10:24 PM
Re: load-command with Dat-Exchanger
/dev/rmt/dat
¤ll /dev/rmt/dat
crw-rw-rw- 1 bin bin 205 0x0030c0 ... /dev/rmt/dat
Even as I do it as root, I get a Permission-error when I try to run the mc-command:
#mc -p /dev/rmt/dat -r DS
ERROR: Permission denied
#mc -p /dev/rmt/dat -s S2 -d D1
ERROR: Permission denied
#mc -p /dev/rmt/dat -c DS
ERROR: Permission denied
Thom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 11:15 PM
11-04-2003 11:15 PM
SolutionCheck out the major number you used (205) with lsdev and you'll see it is using the stape driver instead of a spt or sctl driver, which is needed for the changer to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 12:19 AM
11-05-2003 12:19 AM
Re: load-command with Dat-Exchanger
cheers
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 12:01 AM
11-26-2003 12:01 AM
Re: load-command with Dat-Exchanger
say we insert the third tape (out of six) into the drive, -when this tape is beeing ejected, we want it to return to slot 3.
If this is possible it's much easier to make a alias/script for this.
cheers
Thomas Greig