- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: checking tape drive.
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
тАО03-18-2009 06:09 AM
тАО03-18-2009 06:09 AM
checking tape drive.
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 2 0/0/1/0.1.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/2m /dev/rmt/2mnb /dev/rmt/c0t1d0BESTn /dev/rmt/c0t1d0DDSb
/dev/rmt/2mb /dev/rmt/c0t1d0BEST /dev/rmt/c0t1d0BESTnb /dev/rmt/c0t1d0DDSn
/dev/rmt/2mn /dev/rmt/c0t1d0BESTb /dev/rmt/c0t1d0DDS /dev/rmt/c0t1d0DDSnb
tape 3 0/0/1/0.3.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/3m /dev/rmt/3mnb /dev/rmt/c0t3d0BESTn /dev/rmt/c0t3d0DDSb
/dev/rmt/3mb /dev/rmt/c0t3d0BEST /dev/rmt/c0t3d0BESTnb /dev/rmt/c0t3d0DDSn
/dev/rmt/3mn /dev/rmt/c0t3d0BESTb /dev/rmt/c0t3d0DDS /dev/rmt/c0t3d0DDSnb
Server:
/usr/sbin $ sudo crontab -l
=====
I want to check whether the tape drive is functional or not.. May I know the how? tar -tvf failed saying no such device or address. Tape is in the drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 06:15 AM
тАО03-18-2009 06:15 AM
Re: checking tape drive.
Can you give us the full contetns of the tar command you used?
HP-Server-Literate since 1979
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 06:18 AM
тАО03-18-2009 06:18 AM
Re: checking tape drive.
There needs to be a tape in the drive without write protection to check it.
Then a tar attempt, or even a simple dd command is sufficient.
Try tar cvf, make the tape device part of the file name.
A daily backup job is enough to test this as well.
backup_command
rc=$?
if [ $rc -ne 0 ]
then
echo "Tape job failed..."
else
echo "Tape drive good..."
fi
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
тАО03-18-2009 06:19 AM
тАО03-18-2009 06:19 AM
Re: checking tape drive.
# mt -f /dev/rmt/3mn status
Will show the status of each drive. If one of the drives has a tape in it, you will see that too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 06:19 AM
тАО03-18-2009 06:19 AM
Re: checking tape drive.
OS: 11.23 # mt -f /dev/rmt/0m fsf 22
# tar -tvf /dev/rmt/0mn