- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- TAPE Size
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
тАО07-17-2002 10:53 PM
тАО07-17-2002 10:53 PM
Is there anyway to know the size of TAPE DATA CART thru unix command ?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 11:08 PM
тАО07-17-2002 11:08 PM
Re: TAPE Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 11:17 PM
тАО07-17-2002 11:17 PM
Re: TAPE Size
This may seem a long way around the solution but if you have got no one at the remote site to tell you what type the tape is and have plenty of time and a little curiosity
First here's a link to the page
http://www.hp.com/products1/storage/products/media/tapebackup_media/tape_dds/
What you can do
After your full backup create an index of the tape
frecover -I /tmp/tapeindex
See what the last file is in the index
tail /tmp/tapeindex
Then , to make sure you have all the files on the index recover the last file.
cd /tmp
frecover -xXv -f /dev/rmt/0m -i /
upper case X will restore file to current dir
You can then add the totals of the files in the index
cat /tmp/tapeindex | awk 'BEGIN {total=0;} {total=total+$1;} END {print total,"\n";}'
Again would be grateful for more efficent solutions
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 11:21 PM
тАО07-17-2002 11:21 PM
Re: TAPE Size
since HP-UX 11.00 the 'mt' command knows the option 'status' which can show you at least what kind of cartridge you have currently loaded:
einstein:/ # mt status
Drive: HP C1537A
Format: DDS-2 format
Status: [41112400] BOT online compression immediate-report-mode
File: 0
Block: 0
einstein:/ #
Then you can approx. check how many data will go onto the tape, but this depends from the kind of data and the possibility for the drive to compress it.
Heiner