Problem with Rdiff-backup V.95 and large files

dean gaudet dean-list-rdiff-backup@arctic.org
Tue, 10 Sep 2002 08:40:19 -0700 (PDT)


rdiff-backup 0.8.0 doesn't have problems with a 4GiB file for me...

the problem could be the rsync library.  it needs to be properly compiled
(and i'm forgetting the right #define at the moment... it's somewhere in
features.h)... and if you strace it you should see things such as:

open("foo", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 1

with the O_LARGEFILE in there.

-dean

On Tue, 10 Sep 2002, John P Burns wrote:

>
>
> Python does seem to report the file size correctly.  It reports the same
> file size as ls -la does.
>
> Python
>
> Python 2.2.1 (#2, Sep  9 2002, 15:49:10)
> [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import os, stat
> >>> os.stat("/home/DST/watsonpc/.crypto")[stat.ST_SIZE]
> 33734283264L
> >>>
>
> ls -la
> [root@localhost watsonpc]# ls -la
> total 32975860
> drwxr-xr-x    4 root     root         4096 Sep  9 11:46 .
> drwxr-xr-x    5 root     root         4096 Sep  5 17:54 ..
> -rwxrwxrwx    1 root     root     33734283264 Aug 22 22:14 .crypto
> drwx------    2 root     root         4096 Aug 22 16:56 lost+found
> drwx------    2 root     root         4096 Sep  9 12:13 rdiff-backup-data
>
>
>
> John Burns
>
>
>
> _______________________________________________
> Rdiff-backup mailing list
> Rdiff-backup@keywest.Stanford.EDU
> http://keywest.Stanford.EDU/mailman/listinfo/rdiff-backup
>