- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tape Question
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
Discussions
Discussions
Forums
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
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-08-2006 07:48 AM
тАО08-08-2006 07:48 AM
I have a very simple question. How can I tell if a tape is in the drive?
Thanks,
Bob
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 07:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 07:54 AM
тАО08-08-2006 07:54 AM
Re: Tape Question
# mt -t /dev/rmt/0mnb rew
...for instance...
...will fail if no tape is present.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 07:57 AM
тАО08-08-2006 07:57 AM
Re: Tape Question
mt -f /dev/rmt/0m rew 2>/dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 08:10 AM
тАО08-08-2006 08:10 AM
Re: Tape Question
Of course any mt command is fine.
Why not try this:
tar cvf /dev/rmt/0m /etc/issue
Of course this can be messed up by the write tab on the table.
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-09-2006 05:49 AM
тАО08-09-2006 05:49 AM
Re: Tape Question
rewinds / ejects tape (on DLT unloads tape and set "Operate handle" light) which would leave the tape drive unusable until tape is removed and reinserted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2006 06:25 AM
тАО08-09-2006 06:25 AM
Re: Tape Question
will give you the availability of the tape !!
# mt -f /dev/rmt/0mn status
Drive: HP C1537A
Format:
Status: [0]
File: 2
Block: -1
#
Means that the tape is missing !!
#mt -f /dev/rmt/0mn status
Drive: HP C1537A
Format: DDS-3 format
Status: [41112500] BOT online compression immediate-report-mode
File: 0
Block: 0
#
Means that the drive has a DDS3 tape inside !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2006 12:05 PM
тАО08-09-2006 12:05 PM
Re: Tape Question
simple mt(magnetic tape control) command will do most of the tape releated operation like tape movement,eject,rewind etc. for more info see the man page.
mt -f /dev/rmt/0mn status -->will show whether tape is present or not.
thanks and regards
V.Manoharan