- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Recognizing tape drives!!
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-25-2004 02:48 AM
12-25-2004 02:48 AM
Recognizing tape drives!!
recently we got a problem that Drive 2 is broken. How can we know from the ioscan output which one is Drive 2??or is there any other way to recognize the same.
#ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 3 8/0.2.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/3m /dev/rmt/3mn /dev/rmt/c0t2d0BEST /dev/rmt/c0t2d0BESTn
/dev/rmt/3mb /dev/rmt/3mnb /dev/rmt/c0t2d0BESTb /dev/rmt/c0t2d0BESTnb
tape 1 10/0.2.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/1m /dev/rmt/1mn /dev/rmt/c1t2d0BEST /dev/rmt/c1t2d0BESTn
/dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c1t2d0BESTb /dev/rmt/c1t2d0BESTnb
tape 2 10/12/5.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/2m /dev/rmt/2mnb /dev/rmt/c4t0d0BESTn /dev/rmt/c4t0d0DDSb
/dev/rmt/2mb /dev/rmt/c4t0d0BEST /dev/rmt/c4t0d0BESTnb /dev/rmt/c4t0d0DDSn
/dev/rmt/2mn /dev/rmt/c4t0d0BESTb /dev/rmt/c4t0d0DDS /dev/rmt/c4t0d0DDSnb
Awaiting for help from anybody!!
Thanks and Regards
Amit Manna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2004 03:14 AM
12-25-2004 03:14 AM
Re: Recognizing tape drives!!
You would have to know how the tape library is set up. The library itself should have the drives numbered. If you have a maintenance contract on the drive, just call in the problem and the engineer will know (or at least he/she better know) which one is drive #2 and fix the appropriate one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2004 08:57 AM
12-25-2004 08:57 AM
Re: Recognizing tape drives!!
please let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2004 11:05 AM
12-25-2004 11:05 AM
Re: Recognizing tape drives!!
A way to keep track of this stuff is to document your system before it breaks.
Do an ioscan to a file. Print the file. Run some basic tests to figure out which drive is with. Fbackup would be fine.
Then when something is missing you KNOW which drive it is because you can compare current ioscan output which will not have the drive to baseline paper output upon which you have made some notes.
Item #454 on Steve's lists of how to make a sysadmin's live easier. Coming soon in paperback.
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-27-2004 12:59 AM
12-27-2004 12:59 AM
Re: Recognizing tape drives!!
hey amit,
this is abhijeet Kulkarni & i am working
for TIL/BSE project..(hope u remember!!)
i have heard a lot about you...:D
(sorry to post message here..)
regards
abhik
(abhijeet_kulkarni@tatainfotech.com)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 03:32 AM
12-27-2004 03:32 AM
Re: Recognizing tape drives!!
Simple mt commands that will fsf, rew, offl, etc...
The drive that does not respond is the drive at issue.
Per your ioscan output, you only have 2 DLT drives so not much trail and error work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 12:50 PM
12-27-2004 12:50 PM
Re: Recognizing tape drives!!
From the ioscan you can see 3 tape drives,
Firstly is this hyow many you would expect to see?
There are two DLT8000 drives and a dat drive shown from the ioscan.
If there are only two DLT drives and the problem was with one of these then put a tape in Drive 2 and run the follwoing commands on both drives
# mt -t /dev/rmt/3m
Drive: QUANTUM DLT8000
Format:
Status: [41118985] BOT online compression immediate-report-mode
File: 0
Block: 0
# mt -t /dev/rmt/1m status
$ mt -t /dev/rmt/1m status
Drive: QUANTUM DLT8000
Format:
Status: [0]
File: 0
Block: 0
On my example, tape 3 from the ioscan is what you know as drive 2, this is shown by the status from the above command:
Status: [41118985] BOT online compression immediate-report-mode
If you have more than 2 DLT drives and more than 1 dat then here is your problem.
HTH
Lawzo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 08:57 PM
12-27-2004 08:57 PM
Re: Recognizing tape drives!!
I reckon ioscan will just tell you the SCSI physical connection. For the Drive to test as mentioned rightly by Rick, Patrick, Lawzo, Steve need to use the mt to track down the right one.
Cheers,
Shailendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 09:01 PM
12-27-2004 09:01 PM
Re: Recognizing tape drives!!
ioscan would not help. In the AIX environment we used to use the 'mtlib' command.
I bet lot of people prior to this post are pointing in the same direction. I would urge that you try mt
rgds
Mobeen