- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can i use diskinfo to query the size of a tape loa...
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
06-19-2004 09:23 PM
06-19-2004 09:23 PM
Can i use diskinfo to query the size of a tape loaded?
diskinfo -v /dev/rmt/0m
Or does this only give me info on the tapedrive in question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2004 10:38 PM
06-19-2004 10:38 PM
Re: Can i use diskinfo to query the size of a tape loaded?
hope
mt -f /dev/rmt/0m status
is the command you are looking for.
or you could do a
mt status
and it will query the default tape which is /dev/rmt/0m
hope this helps
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2004 11:01 PM
06-19-2004 11:01 PM
Re: Can i use diskinfo to query the size of a tape loaded?
mt -f /dev/rmt/0m status
Drive: HP C5683A
Format: DDS-2 format
Status: [41112400] BOT online compression immediate-report-mode
File: 0
Block: 0
Namely the Status part: Does this show the size of the tape inh the tape drive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2004 11:04 PM
06-19-2004 11:04 PM
Re: Can i use diskinfo to query the size of a tape loaded?
Have you got a similar cmd for HPUX version 10.20 aswell, as it wont work on an older version. MT man pages wont give me a substitute.
Thanks thijs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 01:37 AM
06-20-2004 01:37 AM
Re: Can i use diskinfo to query the size of a tape loaded?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 01:50 AM
06-20-2004 01:50 AM
Re: Can i use diskinfo to query the size of a tape loaded?
We normally run a little script that looks at the data on the system minus the data that is excluded and this gives us the amount of compressed data that needs to be backed up. We use both 4 and 8gig tapes and if the data wont fit on a tape we need to ask the user what tape they use and this is a bit of a longwinded process so it would be handy to find out 1) what tape they use by issuing a cmd remotely (ie the size of the tape. 2) see how much data is on the tape that has been used and is still in the tapedrive. (know that this can be done by looking at the header info ie: fbackup -f (device) -V /file ) but somebody used a diskinfo on the device but I did not understand the output of this. I
thought that this might tell us info on the tape and was wondering if this is the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 01:52 AM
06-20-2004 01:52 AM