- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error with tape drive
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
02-07-2004 11:05 AM
02-07-2004 11:05 AM
Then when I tried to do a make_tape_recovery I get a tape drive error...
# make_tape_recovery
* Creating local directories for configuration files and archive.
======= 02/07/04 18:02:45 CST Started make_tape_recovery. (Sat Feb 07
18:02:45 CST 2004)
@(#) Ignite-UX Revision B.4.4.29
@(#) net_recovery (opt) $Revision: 10.611 $
* Testing pax for needed patch
* Passed pax tests.
* Checking Versions of Ignite-UX filesets
ERROR: Failed to open tape device /dev/rmt/0mn:No such device or address
(errno = 6).
ERROR: Check tape device failed.
I did create the default files for the tape drive thru sam.
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 11:32 AM
02-07-2004 11:32 AM
Re: error with tape drive
Write protect tab on tape set to protect.
Happens three times a month to me at work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 12:35 PM
02-07-2004 12:35 PM
Re: error with tape drive
could be bad media or incorrect tape for the drive - dds2 in a dds1 drive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 12:50 PM
02-07-2004 12:50 PM
SolutionI may be wrong, but mt might tell you if it's "write-protect".
# mt -t /dev/rmt/0mn status
If you're still having problems, do:
# ioscan -funC tape
and make sure you're using the correct driver.
(It could be on 1mn, 3mn, etc... instead of 0mn)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 01:26 PM
02-07-2004 01:26 PM
Re: error with tape drive
/sbin/ioscan -knfC tape
The device files are listed for each tape drive. Then check the drive status:
mt -t /dev/rmt/whatever status
Make sure the status shows a tape and it's not write-protected. Finally, write a short file to the tape and read it back:
mt -t /dev/rmt/whatever rewind
tar cvf /dev/rmt/whatever /tmp
mt -t /dev/rmt/whatever rewind
tar tvf /dev/rmt/whatever
This will write a copy of /tmp, then read back the table of contents. Once this works, you can run make_tape_recovery:
make_tape_recovery -I -v -x inc_entire=vg00 -a /dev/rmt/0m
Bill Hassell, sysadmin