- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Any HP-UX commands that test/initialize a DDS-...
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
тАО09-07-2001 11:21 AM
тАО09-07-2001 11:21 AM
Any HP-UX commands that test/initialize a DDS-3 tape for error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2001 11:24 AM
тАО09-07-2001 11:24 AM
Re: Any HP-UX commands that test/initialize a DDS-3 tape for error
Hi kevin
you can try
mt status
GK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2001 11:25 AM
тАО09-07-2001 11:25 AM
Re: Any HP-UX commands that test/initialize a DDS-3 tape for error
As far as I know, there is no command to find whether the tape is DDS-2 or DDS-3.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2001 12:04 PM
тАО09-07-2001 12:04 PM
Re: Any HP-UX commands that test/initialize a DDS-3 tape for error
In our old fbackup scripts, we used to check for a zero return on "mt rew" to make sure a tape was in the drive.
You can also do a diskinfo on the tape device to get the rough capacity of the tape in the drive. Take the DDS-3 drive in my workstation, for instance. If I insert a 90m DDS-2 tape and run "diskinfo /dev/rmt/0m", I get:
# diskinfo /dev/rmt/0m
SCSI describe of /dev/rmt/0m:
vendor: HP
product id: C1537A
type: sequential access
size: 1161216 Kbytes
bytes per sector: 1024
After removing the 90m DDS-2 tape and inserting a 125m DDS-3 tape, the size changes:
# diskinfo /dev/rmt/0m
SCSI describe of /dev/rmt/0m:
vendor: HP
product id: C1537A
type: sequential access
size: 10833711 Kbytes
bytes per sector: 1024
It's not an exact science, but it gets you in the ballpark.
All the best,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2001 04:32 PM
тАО09-07-2001 04:32 PM
Re: Any HP-UX commands that test/initialize a DDS-3 tape for error
Use man mt to see the various options available with the mt command.
use
mt status # returns status of drive
mt reten # does a retention of the cartridge
mt reset # resets the cartridge drive subsystem
There are some other options associated with the mt command. man pages will be able to help.
Have not tried to find out the DDS2/3 format of the cartridge, since it is generally written on the cartridge, but Jim's solution should work. Am out of office and so cannot give that a try myself.
Hope this helps
Thanks