- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make_tape_recovery ---- I/O error
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-19-2003 07:39 PM
12-19-2003 07:39 PM
make_tape_recovery ---- I/O error
Although hpux can detect tape drive, make_tape_recovery gives the I/O error ( attachment).
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
tape 0 0/1/1/0/1/0.2.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c2t2d0BESTn /dev/rmt/c2t2d0DDSb
/dev/rmt/0mb /dev/rmt/c2t2d0BEST /dev/rmt/c2t2d0BESTnb /dev/rmt/c2t2d0DDSn
/dev/rmt/0mn /dev/rmt/c2t2d0BESTb /dev/rmt/c2t2d0DDS /dev/rmt/c2t2d0DDSnb
#
Is this hardware not ok?
TIA,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 08:23 PM
12-19-2003 08:23 PM
Re: make_tape_recovery ---- I/O error
1) make sure tape is not write protected. It happens.
2) try a differnet tape. How old is the one you're using?
3) Use stm (mstm, xstm) to run diags on the tape drive with a scratch tape. It it passes diags, it's not the drive.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2003 12:09 AM
12-20-2003 12:09 AM
Re: make_tape_recovery ---- I/O error
In addition to the comments Tom mad i would like to add, try using a cleaning tape for you drive. If cleaned you can try writing something to the drive ( after inserting writable tape with the right format ( DDS1-2-3-4)) with the tar command.
#tar cvf /dev/rmt/0m /etc/hosts
# mt -t /dev/rmt/0m rew
restart your make_recovery session.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2003 01:46 AM
12-20-2003 01:46 AM
Re: make_tape_recovery ---- I/O error
it says that vgdisplay -v was unsuccessful. I assume that command has exited with a return code that was not 0, which indicates one or more errors in your volume group configuration. Try running vgdisplay -v manually; check the return code and check for errors. It is a little difficult to tell what to look for, but if this command:
# vgdisplay -v | grep stale
returns anything, then post the output.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2003 02:28 AM
12-20-2003 02:28 AM
Re: make_tape_recovery ---- I/O error
Make sure the tape is readable & wirteable simply by tar, but first run:
# lssf /dev/rmt/0m this should display the right info stape is the driver card instance .. AT&T best density then HW path, make sure the hw path is not replace by ??? cause that means it not correct
now send one file to be written to tape
# tar cvf /dev/rmt/0m /etc/hosts
if it works then make sure you can view tape content:
# tar tvf /dev/rmt/0m
Here is another Tip, make sure all filesystems listed in /etc/fstab are mounted properly, keep only the ones that should be mounted, check vg00 for any unused lvol, remove unused ones.
good luck
T+, pliz assign points!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2003 07:38 AM
12-20-2003 07:38 AM
Re: make_tape_recovery ---- I/O error
The second error is a tape error and most likely you'll see tape errors logged in syslog (unless you disabled the online diagnostics). Use a simple tool like tar to verify that the tape has a problem. make_tape_recovery does not have much in the way of error recovery for the tape device.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2003 08:10 AM
12-20-2003 08:10 AM
Re: make_tape_recovery ---- I/O error
(I don't wish to play points policeman, but your point assignment of 17 from 188 is terrible. People are less likely to assist you when they see these type of stats, see the forum etiquette)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2003 01:15 PM
12-20-2003 01:15 PM
Re: make_tape_recovery ---- I/O error
I'm attaching a script that will help with that.
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
12-20-2003 05:01 PM
12-20-2003 05:01 PM
Re: make_tape_recovery ---- I/O error
Recently I am giving points to people who are assisting me. Before that, actually I could not assign points as I did not see the button for assigning points. But anyway, thanks for reminding me!
Here is the outputs:
# mt -t /dev/rmt/0m rew
# lssf /dev/rmt/0m
stape card instance 2 SCSI target 2 SCSI LUN 0 at&t best density available at address 0/1/1/0/1/0.2.0 /dev/rmt/0m
# tar cvf /dev/rmt/0m /etc/hosts
a /etc/hosts 2 blocks
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.
/dev/rmt/0mn
User opened file /dev/rmt/0mn to continue.
Tar: error on new volume
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.
User entered a null name for next device file.
# tar tvf /dev/rmt/0m
Tar: blocksize = 0; broken pipe?
#
#vgdisplay -v vg00 | grep stale
I should not worry about 'vgunicorn' as it is cluster vg and running on another node.
Thanks for your reply,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2003 06:48 PM
12-20-2003 06:48 PM
Re: make_tape_recovery ---- I/O error
Problem is solved after changing the tape drive to another BAY( bay 4, before it was at bay 2). I guess the problem is in SCSI interface or in termintor.
Thanks a lot,
Richard