Hi,
Filesystem is a XFS.
The source file isn't a sparse file, but have big chunks of \0's.
$ ls -lh probeta.vdi
-rw------- 1 djgera djgera 11G 2008-09-14 02:47 probeta.vdi
$ ls -l probeta.vdi
-rw------- 1 djgera djgera 10737459712 2008-09-14 02:47 probeta.vdi
$ du -h probeta.vdi
11G probeta.vdi
when copy with
$ rsync -aSv --progress probeta.vdi test-sparse.vdi
sending incremental file list
probeta.vdi
10737459712 100% 44.91MB/s 0:03:48 (xfer#1, to-check=0/1)
sent 10738770533 bytes received 31 bytes 46996807.72 bytes/sec
total size is 10737459712 speedup is 1.00
the result is a small file:
$ ls -lh test-sparse.vdi
-rw------- 1 djgera djgera 6.1G 2008-09-14 02:47 test-sparse.vdi
$ ls -l test-sparse.vdi
-rw------- 1 djgera djgera 6442492416 2008-09-14 02:47 test-sparse.vdi
$ du -h test-sparse.vdi
3.0G test-sparse.vdi
Copying, without sparse options are copied ok.
I have other 11GB files, but less chunks of \0's and these are copied OK
(size of file are exact of the original, and real space used are less)
$ uname -a
Linux djgera 2.6.24.7 #1 SMP PREEMPT Wed Sep 17 02:03:53 ART 2008 i686
AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux
$ rsync --version
rsync version 3.0.4 protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
Thanks in advance
--
Gerardo Exequiel Pozzi ( djgera )
http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D