Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#734 closed enhancement (fixed)

Total size of all biggiefiles

Reported by: victor gattegno Owned by: victor gattegno
Priority: normal Milestone: 3.2.0
Component: mondo Version: 3.0.4
Severity: normal Keywords: biggiefiles
Cc:

Description

I see in mondoarchive.log : "calculating total size of all biggiefiles"

That total size calculated should be added in mondoarchive.log file too, it could be useful, when mondorescue needs support.

Example :

Main] libmondo-filelist.c->chop_filelist#337: Filelist divided into 234 sets
	[Main] libmondo-files.c->estimate_noof_media_required#1266: Estimating number of media required...
	[Main] libmondo-files.c->size_of_all_biggiefiles_K#793: Calculating size of all biggiefiles (in total)
	[Main] libmondo-files.c->size_of_all_biggiefiles_K#795: biggielist = /mindi_mondo/temporal/gfa02306/mondo.tmp.V2PKXn/biggielist.txt
			[Main] libmondo-files.c->size_of_all_biggiefiles_K#800: Reading it...
	[Main] libmondo-files.c->size_of_all_biggiefiles_K#836: Closing...
	[Main] libmondo-files.c->size_of_all_biggiefiles_K#838: Finished calculating total size of all biggiefiles
Your backup will probably occupy a single nfs. Maybe two.

Change History (7)

comment:1 by victor gattegno, 10 years ago

The biggielist.txt content could be useful too, that file should be backuped.

comment:2 by victor gattegno, 10 years ago

Mondoarchive -K 5 option should print the size of all biggiefiles, but anyway (without -K option) we could have that size added to mondoarchive.log anytime, by the following.

Line 844 of libmondo-files.c, instead of :

return (scratchL);

We could have :

log_it("Total size of all biggiefiles = %ld Kb", scratchL);
return (scratchL);

comment:3 by Bruno Cornec, 10 years ago

Victor, feel free to add your proposed patch to the 3.2 branch, so it's part of the next version.

comment:4 by victor gattegno, 10 years ago

Owner: changed from Bruno Cornec to victor gattegno
Status: newassigned

comment:5 by victor gattegno, 10 years ago

I added my modification to libmondo-files.c in 3.2 branch.

Now there is :

log_it("Total size of all biggiefiles = %ld Kb", scratchL);
return (scratchL);

Rev is [3206].

comment:6 by victor gattegno, 10 years ago

Resolution: fixed
Status: assignedclosed

comment:7 by Bruno Cornec, 10 years ago

Milestone: 3.0.53.2.0
Note: See TracTickets for help on using tickets.