cancel
Showing results for 
Search instead for 
Did you mean: 

fbackup block size

 
HP UNIX Professionals
Frequent Advisor

fbackup block size

Hi Experts,

We are running backup in HPUNIX box, I want to know size of the total data backed up in each day.
As per the log the size is reflected in “blocks” NOT in KB or byte.
Anybody know how to calculate the total size please he us.

Eg

Total Size = 634094893 blocks
1 block = ? KB


Last part of the Backup Log File
================================
610895: /w/work/sql24553.tmp 0
610896: /w/work/sql26997.tmp 0
610897: /w/work/sql27945.tmp 0
610898: /w/work/sql6746.tmp 0
610899: /w/work/sql9432.tmp 0
610900: /w/work2 1
fbackup(1005): run time: 10665 seconds
fbackup(1030): warnings encountered during backup
fbackup(3055): total file blocks read for backup: 631597273
fbackup(3056): total blocks written to output file /dev/rmt/0m: 634094893


Thanks in advance

VINAY
7 REPLIES
HP UNIX Professionals
Frequent Advisor

Re: fbackup block size

Hi All,

When I ched the filsystem infromation i got the output. Which parametor repracent the Blocke size
please guide me

root@minster1:/u# fstyp -v /dev/vg00/lvol3
vxfs
version: 4
f_bsize: 8192
f_frsize: 8192
f_blocks: 30720
f_bfree: 10943
f_bavail: 10943
f_files: 6688
f_ffree: 2139030336
f_favail: 2139030336
f_fsid: 1073741827
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 7
f_size: 30720
Norm Diederich
Honored Contributor

Re: fbackup block size

Vinay,

If you do a man on fbackup, it indicates that is assumes a block is 1024 bytes.

Regards,
Norm
Dennis Handly
Acclaimed Contributor

Re: fbackup block size

>Norm: If you do a man on fbackup, it indicates that is assumes a block is 1024 bytes.

I'm glad it's documented. Otherwise it is in useless 512 byte blocks.
Manix
Honored Contributor

Re: fbackup block size

vxfs
version: 4
f_bsize: 8192 ,you are using vxfs disk layout version 4 & default BS is 8192 that is 8KB

Thanks
Manix
HP-UX been always lovable - Mani Kalra
Manix
Honored Contributor

Re: fbackup block size

Total Size = 634094893 blocks
1 block = ? KB

as per fbackup man_page you backed up 63 Gigs
of data (approx)
Thanks
Manix
HP-UX been always lovable - Mani Kalra
Dennis Handly
Acclaimed Contributor

Re: fbackup block size

>Manix: you backed up 63 Gigs of data (approx)

My quick calculation gives: 634
Manix
Honored Contributor

Re: fbackup block size

Thanks Dennis

Regards
Manix
HP-UX been always lovable - Mani Kalra