rsync is concatenating the files together
Werner
werner at cubbyhole.com
Thu Nov 11 23:38:56 GMT 2004
I am seeing a really odd problem with Rsync 2.6.2 and 2.6.3. I am trying to
rsync a directory containing some 2gb files from a Solaris 9 NFS server to
a Solaris 10b69 NFS client. Rsync is running on the Solaris 10 client.
Here is the source directory as seen from the client:
Source directory:
-rwxr--r-- 1 root priv 1270666114 Jan 3 2004 FLY.GHO*
-rwxr--r-- 1 root priv 1595131867 Nov 11 2003 LB.GHO*
-rwxr--r-- 1 root priv 263738235 Jan 3 2004 PHANT001.GHS*
-rwxr--r-- 1 root priv 2147482739 Jan 3 2004 PHANTXP.GHO*
-rwxrw-r-- 1 root priv 1489966355 Dec 24 2003 ROVER.GHO*
-rwxr--r-- 1 root priv 2147482481 Jan 3 2004 TOSH.GHO*
-rwxr--r-- 1 root priv 2147480582 Jan 3 2004 TOSH0001.GHS*
-rwxr--r-- 1 root priv 2070930486 Jan 3 2004 TOSH0002.GHS*
Using 2.6.2 with -a -H -S -v
drwxr-xr-x 2 root other 512 Nov 11 16:58 ./
drwxr-xr-x 16 root root 512 Nov 10 20:53 ../
-rwx------ 1 root root 6366602929 Nov 11 17:06 .TOSH.GHO.lRaGei*
-rwxr--r-- 1 root priv 1270666114 Jan 3 2004 FLY.GHO*
-rwxr--r-- 1 root priv 1595131867 Nov 11 2003 LB.GHO*
-rwxr--r-- 1 root priv 263738235 Jan 3 2004 PHANT001.GHS*
-rwxr--r-- 1 root priv 2147482739 Jan 3 2004 PHANTXP.GHO*
-rwxrw-r-- 1 root priv 1489966355 Dec 24 2003 ROVER.GHO*
Look at the size of the .TOSH.GHO.lraGei file! It's a concatenation of the
three TOSH files from the source tree! At this point, rsync hangs when
it reaches the end of the TOSH0002.GHS file.
Using 2.6.3 with -a -H -S --inplace -v
-rwxr--r-- 1 root priv 1270666114 Jan 3 2004 FLY.GHO*
-rwxr--r-- 1 root priv 1595131867 Nov 11 2003 LB.GHO*
-rwxr--r-- 1 root priv 263738235 Jan 3 2004 PHANT001.GHS*
-rwxr--r-- 1 root priv 2147482739 Jan 3 2004 PHANTXP.GHO*
-rwxrw-r-- 1 root priv 1489966355 Dec 24 2003 ROVER.GHO*
-rwxr--r-- 1 root priv 2147482481 Jan 3 2004 TOSH.GHO*
---------- 1 root root 4218739196 Nov 11 17:20 TOSH0001.GHS
Now I tried 2.6.3 with the --inplace option. Interestingly enough, it
copied
the TOSH.GHO file over, then concatenated TOSH0001.GHS and THS0002.GHS into
TOSH0001.GHS on the receiving file system. At this point, rsync hung again.
The problem seems to be somewhat random, as it happened several times with
the
PHANT* files, but it eventually copied them properly, after several
attempts.
I'm wondering perhaps if this is more a Solaris 10b69 bug than an rsync bug?
Any thoughts on this?
More information about the rsync
mailing list