Opened 18 years ago

Closed 18 years ago

#16 closed defect (fixed)

Does not backup a file greater than 2 GB

Reported by: setin@… Owned by: Bruno Cornec
Priority: high Milestone: 2.0.9
Component: mondo Version: 2.0.8
Severity: major Keywords:
Cc:

Description

Hi,

When I try to backup a file grater than 2 GB, the following message appears in /var/log/mondo-archive.log :

[Main] libmondo-files.c->size_of_all_biggiefiles_K#932:
After adding /sip/dat/CACHE.DAT, scratchL+0 now equals 0

The file CACHE.DAT has exactly 2 GB.
I using these rpm packages in Linux RH9 - 2.4.20-8smp
mondo-2.0.8-3.rh9
buffer-1.19-4
afio-2.4.7-1
mindi-1.0.8-3.rh9


Thanks

Change History (4)

comment:1 by taps23_at_yahoo.com, 18 years ago

Status: newassigned

I believe the problem lies in
libmondo-files.c line 598

function:
long long length_of_file(char *filename)
...
length = ftell(fin);
...

ftell returns the length of file as a long which might cause problems with files larger than 2GByte.
Regs, Taps

comment:2 by Bruno Cornec, 18 years ago

Should be fixed in milestone:2.0.9 (SVN [684])
Thanks for the tip, taps.

comment:3 by Bruno Cornec, 18 years ago

Could you please check that this bug is solved by the latest version of Mondo Rescue (2.0.9) available at ftp://ftp.mondorescue.org ?

comment:4 by Bruno Cornec, 18 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.