- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tape analysis
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-08-2002 12:23 AM
02-08-2002 12:23 AM
tape analysis
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c0t0d0BESTn
/dev/rmt/0mb /dev/rmt/c0t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c0t0d0DDS
/dev/rmt/0mnb /dev/rmt/c0t0d0DDSb
/dev/rmt/c0t0d0BEST /dev/rmt/c0t0d0DDSn
/dev/rmt/c0t0d0BESTb /dev/rmt/c0t0d0DDSnb
# tar -tvf /dev/rmt/0m
Tar: blocksize = 0; broken pipe?
# dd if=/dev/rmt/0m of=/dev/null
/dev/rmt/0m: No such device or address
dd: cannot open /dev/rmt/0m
#
# dd if=/etc/hosts of=/dev/rmt/0mn
I/O error
2+0 records in
1+1 records out
# tar -cvf /dev/rmt/0mn /etc/hosts
tar: cannot open /dev/rmt/0mn
#
Question: What is wrong?
Thanks
joks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2002 01:10 AM
02-08-2002 01:10 AM
Re: tape analysis
How about use this command:
# mt -f /dev/rmt/0m status
What error messages you have got??
Regards,
Kenny.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2002 01:13 AM
02-08-2002 01:13 AM
Re: tape analysis
What does lssf /dev/rmt/0m show?
It sounds like you may have a broken tape drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2002 01:16 AM
02-08-2002 01:16 AM
Re: tape analysis
Drive: HP C1537A
Format: DDS-1 format
Status: [81111300] EOF online compression immediate-report-mode
File: 2
Block: -1
root @ yoda : { / }
::> lssf /dev/rmt/0m
stape card instance 0 SCSI target 0 SCSI LUN 0 at&t best density available at address 0/0/1/0.0.0 /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2002 08:11 PM
02-08-2002 08:11 PM
Re: tape analysis
echo "selclass type tape ;info;wait;infolog | cstm > /tmp/tapeinfo
You can also do this with cpu, memory
From the command line type
#cstm
cstm>map
>sel type tape
>info
>infolog
cstm tutorial
http://docs.hp.com//hpux/onlinedocs/diag/stm/stt_crun.htm
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2002 10:03 PM
02-08-2002 10:03 PM
Re: tape analysis
First do a rewind on the tape device,
mt -f /dev/rmt/0m rewind
Next do a tar,
tar cvf /dev/rmt/0m some_file
Now do a list,
tar tvf /dev/rmt/0m
If you use a norewind device file 0mn, you should rewind the tape first and then do a tar list. Otherwise it may give you a broken pipe error.
Follow this link if you want to put multiple backup on a single tape,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=ba97806c171d7182c9/screen=ckiDisplayDocument?docId=200000007950095
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2002 09:55 AM
02-09-2002 09:55 AM
Re: tape analysis
Please read:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=ebbc5e3d0ed6965e8f/screen=ckiDisplayDocument?docId=200000057219202
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2002 05:07 PM
02-10-2002 05:07 PM
Re: tape analysis
/dev/rmt/0m: No such device or address
::> mt -f /dev/rmt/0mn rewind
/dev/rmt/0mn: No such device or address
Thanks,
joks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2002 07:36 PM
02-10-2002 07:36 PM
Re: tape analysis
I guess, if you have not rebooted the system after the first few failures, a reboot and trying after that might help.
Hope this helps.
Regds.