- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio- How much tape has been used?
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
09-19-2001 01:57 PM
09-19-2001 01:57 PM
cpio- How much tape has been used?
I've used cpio to backup to tape using a device file which enables compression. At the end it tells me I've backed up 100 million blocks of data.
Is that compressed or uncompressed data?
Is it 50Gb or 500Gb? 50Gb sounds about right but then what compression have I got?
So the question is really - how can I make sure I'm getting compression and also how many bytes are actually being written to tape? (using cpio).
Any ideas welcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 02:32 PM
09-19-2001 02:32 PM
Re: cpio- How much tape has been used?
Cpio reports in 512 byte blocks. That is the uncompressed number of bytes since the host would not have a clue as to how many bytes is actually written as compressed data to tape.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 07:36 PM
09-19-2001 07:36 PM
Re: cpio- How much tape has been used?
Clay is right. Cpio reports the no of blocks it has backed up. each block size is 512 bytes. So the total amount (MB) of data backed up will be No of blocks reported by cpio divided by 2048.
Do remember that if the size of the file is, say 800 bytes, cpio reports it as two blocks.
0-512 bytes ---> 1 block
513 --1024 bytes --> 2 block
and so on.
hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2001 03:21 AM
09-20-2001 03:21 AM
Re: cpio- How much tape has been used?
If cpio reports more than the *native* (uncompressed) capacity of the tape, then, apparently, (hardware) data compression is working. If DLT7000, then all is well, because its native capacity is 35GB.
Hardware data compression *should* be working if lssf(1M) of the device file says "best density" and the tape drive is not configured incorrectly (i.e. not set to no compression). See the hardware documentation of the tape drive in question for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2001 06:40 AM
09-20-2001 06:40 AM
Re: cpio- How much tape has been used?
It can be used to display actual tape usage for newer DDS drives.
-- RH