- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Command to find the tapes status in HPUX 10.2
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-11-2009 07:42 AM
11-11-2009 07:42 AM
Command to find the tapes status in HPUX 10.2
We have B.10.20 A 9000/803 HP UX box. i want to know the status of tpae in 0mn. Please let me the command to find the tapes status in HPUX 10.2
(Such as mr -f /dev/rmt/Omn status)
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 07:49 AM
11-11-2009 07:49 AM
Re: Command to find the tapes status in HPUX 10.2
You could probably do:
# mt -t /dev/rmt/0mn rew
...and examine the return code ($?).
http://docs.hp.com/en/B2355-90128/mt.1.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 08:00 AM
11-11-2009 08:00 AM
Re: Command to find the tapes status in HPUX 10.2
mt -t /dev/rmt/0m rew
/dev/rmt/0m: No such device or address
# mt -t /dev/rmt/0mb rew
/dev/rmt/0mb: No such device or address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 08:06 AM
11-11-2009 08:06 AM
Re: Command to find the tapes status in HPUX 10.2
> when i run the mt -t /dev/rmt/0m rew command, getting output like
mt -t /dev/rmt/0m rew
/dev/rmt/0m: No such device or address
# mt -t /dev/rmt/0mb rew
/dev/rmt/0mb: No such device or address
First, use a Berkley, no-rewind device, like '/dev/rmt/0mnb'.
An 'ioscan -kfnC tape' will show your available tape devices.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 08:07 AM
11-11-2009 08:07 AM
Re: Command to find the tapes status in HPUX 10.2
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 08:19 AM
11-11-2009 08:19 AM
Re: Command to find the tapes status in HPUX 10.2
mt -f /dev/rmt0mn rewind
for more information (man mt)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 08:30 AM
11-11-2009 08:30 AM
Re: Command to find the tapes status in HPUX 10.2
First do (to know about the tapes in the server)
# ioscan -fnC tape
then, with the correct device name, perform
# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn stat
where ? should be replaced with your correct tape drive name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 08:31 AM
11-11-2009 08:31 AM
Re: Command to find the tapes status in HPUX 10.2
In ioscan -fnC it showing the tape
But when i run the command mt is shoiwn errro
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 8/16/5.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/0mn /dev/rmt/c1t0d0BEST /dev/rmt/c1t0d0BESTn
/dev/rmt/0mb /dev/rmt/0mnb /dev/rmt/c1t0d0BESTb /dev/rmt/c1t0d0BESTnb
# mt -t /dev/rmt/0mn rew
/dev/rmt/0mn: No such device or address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 08:35 AM
11-11-2009 08:35 AM
Re: Command to find the tapes status in HPUX 10.2
did you try it second time ???
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2009 01:11 PM
11-11-2009 01:11 PM
Re: Command to find the tapes status in HPUX 10.2
2) can you read or write /dev/rmt/0mn with something like tar?
what does "ls -l /dev/rmt" show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2009 07:55 AM
11-12-2009 07:55 AM
Re: Command to find the tapes status in HPUX 10.2
mt -f
maybe type letter t instead f
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2009 08:51 AM
11-12-2009 08:51 AM
Re: Command to find the tapes status in HPUX 10.2
besides, the errors noted are complaining about the device .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 08:26 AM
11-16-2009 08:26 AM
Re: Command to find the tapes status in HPUX 10.2
I am getting the following output and I am not able to run Ignite Backup.
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 8/16/5.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/0mn /dev/rmt/c1t0d0BEST /dev/rmt/c1t0d0BESTn
/dev/rmt/0mb /dev/rmt/0mnb /dev/rmt/c1t0d0BESTb /dev/rmt/c1t0d0BESTnb
# mt -t /dev/rmt/0m rew
/dev/rmt/0m: No such device or address
# mt -t /dev/rmt/0mb rew
/dev/rmt/0mb: No such device or address
#
# ls -l /dev/rmt
total 0
crw-rw-rw- 2 bin bin 205 0x010000 Nov 6 02:28 0m
crw-rw-rw- 2 bin bin 205 0x010080 Jun 10 1996 0mb
crw-rw-rw- 2 bin bin 205 0x010040 Nov 16 09:53 0mn
crw-rw-rw- 2 bin bin 205 0x0100c0 Jun 10 1996 0mnb
crw-rw-rw- 2 bin bin 205 0x010000 Nov 6 02:28 c1t0d0BEST
crw-rw-rw- 2 bin bin 205 0x010080 Jun 10 1996 c1t0d0BESTb
crw-rw-rw- 2 bin bin 205 0x010040 Nov 16 09:53 c1t0d0BESTn
crw-rw-rw- 2 bin bin 205 0x0100c0 Jun 10 1996 c1t0d0BESTnb
crw-r--r-- 1 bin bin 205 0xfffffe Jun 10 1996 stape_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 08:44 AM
11-16-2009 08:44 AM
Re: Command to find the tapes status in HPUX 10.2
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 11:23 AM
11-16-2009 11:23 AM
Re: Command to find the tapes status in HPUX 10.2
dd if=anyfile of=/dev/rdsk/...
to see if you can write to the device. Do a man on the dd command.
Jacques
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 12:37 PM
11-16-2009 12:37 PM
Re: Command to find the tapes status in HPUX 10.2
Sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2009 12:56 PM
11-16-2009 12:56 PM
Re: Command to find the tapes status in HPUX 10.2
/dev/rmt/0m: No such device or address
# mt -t /dev/rmt/0mb rew
/dev/rmt/0mb: No such device or address
#"
No...you must specify a non-rewind device, as in /dev/rmt/0mnb, as previously noted. I no longer recall what happens (on 10.20) when you give "mt" the wrong type of device.
"I am getting the following output and I am not able to run Ignite Backup. "
gee, the error you're getting might be of use.....
So, basically, you're trying to diagnose a non-functioning tape drive?
Has this drive ever worked?
Has the drive been replaced / moved lately?
SCSI address changed?
Can you "tar" anything to /dev/rmt/0m using a new tape?
Will it read a known good tape?
Anything in syslog?
Is the power indicator light on the drive lit?