- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DDS available capacity
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
04-29-2001 11:04 PM
04-29-2001 11:04 PM
I'm a beginner in the tape world so this can be an obvious question. For a DDS tape in HP-UX, is it possible to know the available (uncompressed) capacity (I mean, after writing some files to the tape)?
Or, to put it in other words, how can I know the compression ratio achieved writing a file?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 11:28 PM
04-29-2001 11:28 PM
Re: DDS available capacity
This factor depends on the utility to send data to a tape.
DDS uncompressed takes 2 GB
DDS2 uncompressed takes 4 GB
DDS3 uncompressed takes 8 GB.
If you use tar, you can check the filesizes
with the command tar tvf file/devicename
to check the files in oyur tar archive.
If you have a zip file, use gzip -test -list -verbose.
Another chane for files named file.Z is
zcat file.Z | wc -c.
Hope, this helps.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 11:28 PM
04-29-2001 11:28 PM
Re: DDS available capacity
DDS comes in serveal sizes:-
DDS2 = 2/4 (2gig and 4 compressed (Although this depends upon data type)
DDS3 = 12/24
DDS4 = 20/40
I think DDS 1 was 1 gig.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 11:36 PM
04-29-2001 11:36 PM
Re: DDS available capacity
I believe Jos? wants to know how much space is really used after a file/backup is written to tape. So for instance a file of 1GB will be ????MB on tape with autocompression on.
As far as I know there is no utility that will show this.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 11:42 PM
04-29-2001 11:42 PM
Solution1- Use stm , select tape and run info.
2- search ddsinfo on http://hpux.cs.utah.edu
3. compile the attached source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 12:00 AM
04-30-2001 12:00 AM
Re: DDS available capacity
megapoints for Carlos (he even customized it for your language ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 08:34 AM
05-03-2001 08:34 AM
Re: DDS available capacity
----------
Thanks to everybody.
After some research, I've found the following information sources:
- STM gives information about available capacity ant compression ratio
- ioctl(SIOC_CAPACITY): the lba field of the struct capacity is an estimate of the available capacity
- ddsinfo reports available capacity and compression ratio.
The problem is STM, SIOC_CAPACITY and ddsinfo give different responses for available capacity. I know they're all estimates but why so different?
And talking about compression, I supose the "Kbytes to Tape" report of the ddsinfo tool computes the real bytes written to tape, but it is rather different than the decrease of available capacity reported by STM, SIOC_CAPACITY and ddsinfo. Why?
Any suggestion?
Thanks in advance.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 08:48 AM
05-03-2001 08:48 AM
Re: DDS available capacity
Thus, the compressability of data won't be known until after it has been stored. The marketing specs are consistently bad: they state 2:1 everywhere as a 'standard' compression. So your data may be 1:1 or 10:1 or even 100:1 so the amount of space taken up by the data depends on the compressability and the amount of data that can be appended is impossible to determine. You could get a close guess by compressing all the files and adding up the results--if you want to go through that exercise.
You are guarenteed the native capacity (the lowest number) minus the space occupied by scratches and bad oxide. Everything else is a bonus.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 09:02 AM
05-03-2001 09:02 AM
Re: DDS available capacity
No problem.
1- Be sure you are not using rewind device ( /dev/rmt/0m) with ddsinfo.
2- ddsinfo can clear counters for compression.
3- You can check which one is correct: first clear statistics , and the write some files of 1Mb ussing no rewind no compress device (see man lssf and mksf ). So each Mb on disk is one Mb on tape.
4- Check it with stm, ddsinfo, and my program ( no viruses, sure).
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 03:30 AM
05-16-2001 03:30 AM
Re: DDS available capacity
After some writing tests, I concluded the capacity returned by SIOC_CAPACITY and cstm are quite similar, although about 23% higher than that reported by the tape driver logs.
I contacted Darren Lavender (the author of ddsinfo) and told me the information returned by SIOC_CAPACITY is wrong because of a bug, solved by PHKL_23790 (JAGad03741).
So the more reliable information is the one obtained from the tape driver's logs (via ddsinfo or your program).
Thans again for your answer. It was very helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 03:45 AM
05-16-2001 03:45 AM
Re: DDS available capacity
Available space returned by driver is estimated (driver can invalitade some blocks never used that may be unwritable), and it is measured in KB w/o compresion.
I'm very glad to help you, but remember to assing point to every body that helped you.
Thanks.