- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tape drive problem HP-UX 11i
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
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
08-03-2004 07:04 AM
08-03-2004 07:04 AM
This is the sequence of steps that I use to test a tape drive on an HP-UX 11i machine
1) ioscan -fnC tape
2) rmsf -H 0/12/0/../../..
3) insf -H 0/12/0/../../..
were performed. Verified 4) ioscan -fnC tape and I could see the listing.
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 14/0/3.0.0 stape CLAIMED DEVICE HP C5713A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c3t0d0BESTn /dev/rmt/c3t0d0DDSb
/dev/rmt/0mb /dev/rmt/c3t0d0BEST /dev/rmt/c3t0d0BESTnb /dev/rmt/c3t0d0DDSn
/dev/rmt/0mn /dev/rmt/c3t0d0BESTb /dev/rmt/c3t0d0DDS /dev/rmt/c3t0d0DDSnb
However, I issued tar cf /dev/rmt/0m /var
result:
# tar cf /dev/rmt/0m /var
tar: cannot open /dev/rmt/0m
Also,
# mt -f /dev/rmt/0m rewind
/dev/rmt/0m: No such device or address
I issued:
# lssf /dev/rmt/0m
result:
#stape card instance 3 SCSI target 0 SCSI LUN 0 at&t best density available at address 14/0/3.0.0 /dev/rmt/0m
Any ideas what's going wrong? Please suggest me some steps that test the tape. After testing is complete approx. 30GB data should be backed up into it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:13 AM
08-03-2004 07:13 AM
Re: tape drive problem HP-UX 11i
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:19 AM
08-03-2004 07:19 AM
Re: tape drive problem HP-UX 11i
I was doing that as root. Here's the listing. Please help.
# ls -l /dev/rmt
total 0
crw-rw-rw- 2 bin bin 205 0x030000 Aug 3 14:08 0m
crw-rw-rw- 2 bin bin 205 0x030080 Aug 3 14:08 0mb
crw-rw-rw- 2 bin bin 205 0x030040 Aug 3 14:08 0mn
crw-rw-rw- 2 bin bin 205 0x0300c0 Aug 3 14:08 0mnb
crw-rw-rw- 2 bin bin 205 0x030000 Aug 3 14:08 c3t0d0BEST
crw-rw-rw- 2 bin bin 205 0x030080 Aug 3 14:08 c3t0d0BESTb
crw-rw-rw- 2 bin bin 205 0x030040 Aug 3 14:08 c3t0d0BESTn
crw-rw-rw- 2 bin bin 205 0x0300c0 Aug 3 14:08 c3t0d0BESTnb
crw-rw-rw- 1 bin bin 205 0x030001 Aug 3 14:08 c3t0d0DDS
crw-rw-rw- 1 bin bin 205 0x030081 Aug 3 14:08 c3t0d0DDSb
crw-rw-rw- 1 bin bin 205 0x030041 Aug 3 14:08 c3t0d0DDSn
crw-rw-rw- 1 bin bin 205 0x0300c1 Aug 3 14:08 c3t0d0DDSnb
crw-r--r-- 1 bin bin 205 0xfffffe Nov 23 1999 stape_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:20 AM
08-03-2004 07:20 AM
Re: tape drive problem HP-UX 11i
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
08-03-2004 07:21 AM
08-03-2004 07:21 AM
Re: tape drive problem HP-UX 11i
The tar cf error could be either.
mt rewind could be no tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:22 AM
08-03-2004 07:22 AM
Re: tape drive problem HP-UX 11i
Check the thread below:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=635088
I think it simulates your problem.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:30 AM
08-03-2004 07:30 AM
Re: tape drive problem HP-UX 11i
I read it, not sure what
"for those devices that only seem to have a cXtYdZ device file" means
I don't seem to have that one here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:31 AM
08-03-2004 07:31 AM
Re: tape drive problem HP-UX 11i
#mt -f /dev/rmt/0m rewind
It said:
#/dev/rmt/0m: No such device or address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:35 AM
08-03-2004 07:35 AM
Re: tape drive problem HP-UX 11i
How to confirm there is tape in the drive?
Please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:38 AM
08-03-2004 07:38 AM
Re: tape drive problem HP-UX 11i
what i would suggest is to do rmsf on all unused speial files in /dev/rmt but be carefull and then execute insf -e. That thread addresses that there are 2 files accesing the same device.
That should create fresh and unique file for your tape device.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:44 AM
08-03-2004 07:44 AM
Re: tape drive problem HP-UX 11i
Thank you very much for the response.
I did this a couple of hours back
) ioscan -fnC tape
2) rmsf -H 0/12/0/../../..
3) insf -H 0/12/0/../../..
I also issued insf -e.
Now, could you please explain the steps little bit clear? Could you please give me what to do in an order? Thanks a million in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:48 AM
08-03-2004 07:48 AM
Re: tape drive problem HP-UX 11i
What does it say??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:49 AM
08-03-2004 07:49 AM
Re: tape drive problem HP-UX 11i
mt -f /dev/rmt/c3t0d0BEST
usage: mt [ -f tapename ] command [ count ]
command is one of:
eof, fsf, bsf, fsr, bsr, rewind, offline, eod, smk, fss, bss, reserve, release, status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:50 AM
08-03-2004 07:50 AM
Re: tape drive problem HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:50 AM
08-03-2004 07:50 AM
Re: tape drive problem HP-UX 11i
Go look at the drive, or try
# mt -f /dev/rmt/0mn status
If it returns an error you almost certainly do NOT have a tape in the drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:51 AM
08-03-2004 07:51 AM
Re: tape drive problem HP-UX 11i
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 07:54 AM
08-03-2004 07:54 AM
Re: tape drive problem HP-UX 11i
mt -f /dev/rmt/c3t0d0BEST stat
Drive: HP C5713A
Format:
Status: [0]
File: 0
Block: 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 08:01 AM
08-03-2004 08:01 AM
Re: tape drive problem HP-UX 11i
ls -il /dev/rmt/0m
ls -il /dev/rmt/c3t0d0BEST
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 08:03 AM
08-03-2004 08:03 AM
Re: tape drive problem HP-UX 11i
ls -il /dev/rmt/0m
1856 crw-rw-rw- 2 bin bin 205 0x030000 Aug 3 14:08 /dev/rmt/0m
ls -il /dev/rmt/c3t0d0BEST
1856 crw-rw-rw- 2 bin bin 205 0x030000 Aug 3 14:08 /dev/rmt/c3t0d0BEST
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 08:06 AM
08-03-2004 08:06 AM
Re: tape drive problem HP-UX 11i
rmsf /dev/rmt/0m
mknod /dev/rmt/0m c 205 0x030000
chown bin:bin /dev/rmt/0m
chmod 666 /dev/rmt/0m
mt -f /dev/rmt/0m stat
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 08:12 AM
08-03-2004 08:12 AM
Re: tape drive problem HP-UX 11i
Thanks again.
# rmsf /dev/rmt/0m
# mknod /dev/rmt/0m c 205 0x030000
# chown bin:bin /dev/rmt/0m
# chmod 666 /dev/rmt/0m
# mt -f /dev/rmt/0m stat
Drive: HP C5713A
Format:
Status: [0]
File: 0
Block: 0
# mt -f /dev/rmt/0m rewind
/dev/rmt/0m: No such device or address
I see "No such device or address" message again. Whats happening?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 08:13 AM
08-03-2004 08:13 AM
Re: tape drive problem HP-UX 11i
What does it say???
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 08:15 AM
08-03-2004 08:15 AM
Re: tape drive problem HP-UX 11i
mt -f /dev/rmt/0m stat
Make sure it is at file 0
mt -f /de/rmt/0mn fsf 1
mt -f /dev/rmt/0m rewind
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 08:17 AM
08-03-2004 08:17 AM
Re: tape drive problem HP-UX 11i
mt rewind
/dev/rmt/0mnb: No such device or address
It says "/dev/rmt/0mnb" not "/dev/rmt/0". May I know why?
Please tell if I should test these now?
mt -f /dev/rmt/0m stat
Make sure it is at file 0
mt -f /de/rmt/0mn fsf 1
mt -f /dev/rmt/0m rewind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 08:20 AM
08-03-2004 08:20 AM
Re: tape drive problem HP-UX 11i
Yes, please try following.
mt -f /dev/rmt/0m stat
Make sure it is at file 0
mt -f /de/rmt/0mn fsf 1
mt -f /dev/rmt/0m rewind
Anil