- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- About tape device
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-12-2007 05:20 AM
12-12-2007 05:20 AM
I have little query.
I completed data backup on a tape and I want to sure that backed up tape has been removed from system. Some outputs to help you:
#ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 1 0/8/0/0.6.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/1m /dev/rmt/1mn /dev/rmt/c3t6d0BEST /dev/rmt/c3t6d0BESTn
/dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c3t6d0BESTb /dev/rmt/c3t6d0BESTnb
#diskinfo /dev/rmt/1m
diskinfo: can't open /dev/rmt/1m: No such device or address
So in ioscan i can see tape and in diskinfo its throwing error.... :o What does that mean??
Is tape is present in the drive or not???
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2007 05:30 AM
12-12-2007 05:30 AM
Re: About tape device
If you knew the address of your robotic arm (since a DLT8000 usually has one..) you could run:
/opt/omni/lbin/uma -ioctl /dev/rac/c-t-d-
Then run:
stat d
But "uma" is a bit on the older side, so if you want to see if there is a tape in there you could just run:
tar tvf /dev/rmt/1m
This will display everything on the tape - if there is one there.
And there are the "mt" commands - so try:
mt -f /dev/rmt/1m rew
If there's a tape it will rewind, if not the command will fail.
Hope this helps,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2007 05:31 AM
12-12-2007 05:31 AM
Re: About tape device
Try
# mt status /dev/rmt/0m
Drive: HP C1533A
Format:
Status: [0]
File: 0
Block: 0
(this is for my empty drive).
Remember, even if you "unload" the tape by any command or push button, you need to pull the handle for that DLT to really remove it.
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
12-12-2007 05:33 AM
12-12-2007 05:33 AM
Re: About tape device
;-)
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
12-12-2007 05:39 AM
12-12-2007 05:39 AM
Re: About tape device
#mt status /dev/rmt/1m
Drive: HP C1537A
Format: DDS-3 format
Status: [41112500] BOT online compression immediate-report-mode
File: 0
Block: 0
In your case for empty tape Status was diffenert as in your reply. And look at my output. Does that mean it is filled tape?? I confuse becuase of "41112500" number. Although its showing file n block as zero :D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2007 05:46 AM
12-12-2007 05:46 AM
Re: About tape device
It was a DLT and now it is a DDS?
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
12-12-2007 05:57 AM
12-12-2007 05:57 AM
Re: About tape device
I have 2 tapes on system DDS and DLT. And mt command showing ouput of DDS tp both. i.e.
#mt status /dev/rmt/1m
Drive: HP C1537A
Format: DDS-3 format
Status: [41112500] BOT online compression immediate-report-mode
File: 0
Block: 0
#mt status /dev/rmt/0m
Drive: HP C1537A
Format: DDS-3 format
Status: [41112500] BOT online compression immediate-report-mode
File: 0
Block: 0
In ioscan both tapes are showing claimed with exact H/W type i.e. DDS and DLT..
Comment, Torsten ????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2007 06:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2007 06:18 AM
12-12-2007 06:18 AM
Re: About tape device
mt -f /dev/rmt/1m status
Drive: QUANTUM DLT8000
Format:
Status: [0]
File: 0
Block: 0
Means I have fresh tape in drive. Problem solved got answer....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2007 06:19 AM
12-12-2007 06:19 AM