- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- converting blocks to bytes
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
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
тАО05-24-2005 02:17 AM
тАО05-24-2005 02:17 AM
fbackup(3055): total file blocks read for backup: 54427462
fbackup(3056): total blocks written to output file /dev/rmt/0m: 54660226..
If someone asked me to calculate how many megs or gigs of data was backed up to tape, how would I calculate this to bytes and which one of the 2 numbers would I use? Any help is greatly appreciated and points will be assigned.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:22 AM
тАО05-24-2005 02:22 AM
Re: converting blocks to bytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:24 AM
тАО05-24-2005 02:24 AM
Re: converting blocks to bytes
"+ Number of 1024-byte blocks per record."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:25 AM
тАО05-24-2005 02:25 AM
Re: converting blocks to bytes
difference comes from the fbackup structure information (how many times tape was used, right, and so on).
I think that blocks are 512 bytes. To be sure, load a tape in the drive and issue a "mt -f /dev/rmt/0m status" (use the right device)
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:28 AM
тАО05-24-2005 02:28 AM
Re: converting blocks to bytes
It depends of the tape (in my case - DLT tape - it's 512 bytes/block) but it's easy for you to calculate this:
Schedule a cron backup (with SAM) of some large files (more than 10Mb) and check the root mail. You will get something like:
"
...
a PROD/log3b.dbf 204802 blocks
..."
List the file:
"...104858624 May 24 03:47 log3b.dbf"
Dividing 104858624 by 204802, I get 512 bytes/block.
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 03:02 AM
тАО05-24-2005 03:02 AM
Re: converting blocks to bytes
Thanks for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2005 12:33 AM
тАО05-25-2005 12:33 AM
Re: converting blocks to bytes
My experience: sdlt tapes without compression can hold abou 160 GByte. With compression, the estimate is 320 GByte. In our backup, full tapes sometimes hold only 200 GByte, sometmes up to 280 but I never saw over 300 which is possible since a lot of data is already compressed.