Opened 13 years ago

Closed 13 years ago

#16 closed defect (fixed)

Does not backup a file greater than 2 GB

Reported by: setin@… Owned by: bruno
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 Changed 13 years ago by taps23_at_yahoo.com

  • Status changed from new to assigned

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 Changed 13 years ago by bruno

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

comment:3 Changed 13 years ago by bruno

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 Changed 13 years ago by bruno

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.