- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Total disk space saved on DDS tape via fbackup
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
тАО08-30-2002 08:20 AM
тАО08-30-2002 08:20 AM
frecover -N -v only displays name and type.
I'm not looking for bytes on the physical tape (which could be compressed), but the total disk space the files would use if I did a restore.
TIA
-- Rod Hills
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 10:06 AM
тАО09-03-2002 10:06 AM
Re: Total disk space saved on DDS tape via fbackup
if you know the blocksize, the tape had been written with, you could read it via "dd" and a proper bs= parameter to /dev/null and see how many blocks it transmitted. This would be the maximum of what is on the tape (not sure how sparse files are handled).
fbackup writes a small volume-hdr set first and then the data set, so use the no-rewind device and do several reads.
Happy counting.
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 10:13 AM
тАО09-03-2002 10:13 AM
Re: Total disk space saved on DDS tape via fbackup
It's too back "frecover" couldn't list this information too...
Thanks again...
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 10:41 AM
тАО09-03-2002 10:41 AM
Re: Total disk space saved on DDS tape via fbackup
Try this
Create an index
frecover -I /tmp/index | awk '{print $1}' | awk 'BEGIN {total=0;} {total=total+$1;} END {print total,"\n";}'
I'm not at a server at the moment so can't verify wether piping the commands will work
If not , send the output of the file size totals from the index to a file and then cat the file piping the awk statement after the cat
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 10:44 AM
тАО09-03-2002 10:44 AM
Re: Total disk space saved on DDS tape via fbackup
-I only returns a list of files that fbackup will "try" to save on the tape.
Their are no file sizes...
Thanks anyway
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 11:28 AM
тАО09-03-2002 11:28 AM
Re: Total disk space saved on DDS tape via fbackup
I was wrong. File sizes are now on the "index".
This must be something new, since I didn't have this on hpux10.20.
I'd give you a 10, but I can't change my previous assignment.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 11:43 AM