Destination file is larger than source file

2012-08-29 Thread Dariusz Dolecki
We are using the standard -av switch. And both filesystems are the same -
UFS.


 /opt/rsync/bin/rsync -av  -e ssh -l root --delete
--exclude-from=/var/scripts/exclude
--password-file=/var/scripts/transfer.passwd username@source
host::source dir/ /destination dir


Source system

source host:source dir# du -sh *
   1K   nohup.out
  20G   file1.dbf
 3.9G   file2.dbf
 7.6G   file3.dbf
   1K   x1
   1K   x2

Destination system

bash-3.00# du -sh *
   1K   nohup.out
  20G   file1.dbf
  16G   file2.dbf
 7.6G   file3.dbf
   1K   x1
   1K   x2
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Destination file is larger than source file

2012-08-29 Thread Matthias Schniedermeyer
On 29.08.2012 10:06, Dariusz Dolecki wrote:
 We are using the standard -av switch. And both filesystems are the same -
 UFS.
 
 
  /opt/rsync/bin/rsync -av  -e ssh -l root --delete
 --exclude-from=/var/scripts/exclude
 --password-file=/var/scripts/transfer.passwd username@source
 host::source dir/ /destination dir
 
 
 Source system
 
 source host:source dir# du -sh *
1K   nohup.out
   20G   file1.dbf
  3.9G   file2.dbf
  7.6G   file3.dbf
1K   x1
1K   x2
 
 Destination system
 
 bash-3.00# du -sh *
1K   nohup.out
   20G   file1.dbf
   16G   file2.dbf
  7.6G   file3.dbf
1K   x1
1K   x2

First guess: It's a sparse file so '--sparse' should be added to the 
commandline.





Bis denn

-- 
Real Programmers consider what you see is what you get to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a you asked for it, you got it text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Destination file is larger than source file

2012-08-29 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yeah, with a file size difference that big it must be a sparse file on
the source.  Note that making a sparse file on the target will not
necessarily make it the same size.

Either that or something really wrong happened.

On 08/29/12 11:10, Matthias Schniedermeyer wrote:
 On 29.08.2012 10:06, Dariusz Dolecki wrote:
 We are using the standard -av switch. And both filesystems are
 the same - UFS.
 
 
 /opt/rsync/bin/rsync -av  -e ssh -l root --delete 
 --exclude-from=/var/scripts/exclude 
 --password-file=/var/scripts/transfer.passwd username@source 
 host::source dir/ /destination dir
 
 
 Source system
 
 source host:source dir# du -sh * 1K   nohup.out 20G
 file1.dbf 3.9G   file2.dbf 7.6G   file3.dbf 1K   x1 1K   x2
 
 Destination system
 
 bash-3.00# du -sh * 1K   nohup.out 20G   file1.dbf 16G
 file2.dbf 7.6G   file3.dbf 1K   x1 1K   x2
 
 First guess: It's a sparse file so '--sparse' should be added to
 the commandline.
 
 
 
 
 
 Bis denn
 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Kevin Korb  Phone:(407) 252-6853
Systems Administrator   Internet:
FutureQuest, Inc.   ke...@futurequest.net  (work)
Orlando, Floridak...@sanitarium.net (personal)
Web page:   http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA+SXsACgkQVKC1jlbQAQcOdwCg0HNizbcZI9MsV8DkYz37sTMs
1wcAoICD18bRs+d8czljUZNmwJNo0Ebi
=mCFd
-END PGP SIGNATURE-
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html