Edward King
2002-Dec-17 14:37 UTC
Statistics appearing in middle of file list -- no errors
Has anybody seen this? We want to seperate the statistics out from the file list, and were using tail to grab the end of the file. the command we run is: rsync -r -a -z --partial --suffix=".backup" --exclude="*.backup" \ --stats -v /. 10.1.1.60::cds101/ > /var/log/rsync.log 2>&1 along with a number of excludes to skip the /tmp, /dev, /var and /proc directories. The output in file /var/log/rsync.log is: building file list ... done dev/ttyp0 etc/cups/certs/ etc/cups/certs/0 etc/mail/statistics root/.bash_history smb_shares/var/lib/dhcp/ smb_shares/var/lib/dhcp/dhcpd.leases smb_shares/var/lib/dhcp/dhcpd.leases~ smb_shares/var/log/debug smb_shares/var/log/mail smb_shares/var/log/messages smb_shares/var/log/rsync.log smb_shares/var/log/secure smb_shares/var/run/utmp smb_shares/var/spool/clientmqueue/ smb_shares/var/spool/mail/ smb_shares/var/spool/mail/root smb_shares/var/spool/mqueue/ usr/local/samba/var/locks/ usr/local/samba/var/locks/browse.dat Number of files: 169315 Number of files transferred: 13 Total file size: 1714847358 bytes Total transferred file size: 1013994 bytes Literal data: 30552 bytes Matched data: 983834 bytes File list size: 3438061 Total bytes written: 3442643 Total bytes read: 8794 wrote 3442643 bytes read 8794 bytes 9094.70 bytes/sec total size is 1714847358 speedup is 496.85 dev/ etc/cups/certs/ etc/mail/ root/ smb_shares/var/lib/dhcp/ smb_shares/var/log/ smb_shares/var/run/ smb_shares/var/spool/mail/ usr/local/samba/var/locks/ Any ideas? Thanks! Ed King
Craig Barratt
2002-Dec-23 06:47 UTC
Statistics appearing in middle of file list -- no errors
> Has anybody seen this? We want to seperate the statistics out from the > file list, and were using tail to grab the end of the file. the command > we run is: > > rsync -r -a -z --partial --suffix=".backup" --exclude="*.backup" \ > --stats -v /. 10.1.1.60::cds101/ > /var/log/rsync.log 2>&1 > > along with a number of excludes to skip the /tmp, /dev, /var and /proc > directories. The output in file /var/log/rsync.log is: > > building file list ... done > dev/ttyp0 > etc/cups/certs/ > etc/cups/certs/0 > etc/mail/statistics > root/.bash_history > smb_shares/var/lib/dhcp/ > smb_shares/var/lib/dhcp/dhcpd.leases > smb_shares/var/lib/dhcp/dhcpd.leases~ > smb_shares/var/log/debug > smb_shares/var/log/mail > smb_shares/var/log/messages > smb_shares/var/log/rsync.log > smb_shares/var/log/secure > smb_shares/var/run/utmp > smb_shares/var/spool/clientmqueue/ > smb_shares/var/spool/mail/ > smb_shares/var/spool/mail/root > smb_shares/var/spool/mqueue/ > usr/local/samba/var/locks/ > usr/local/samba/var/locks/browse.dat > > Number of files: 169315 > Number of files transferred: 13 > Total file size: 1714847358 bytes > Total transferred file size: 1013994 bytes > Literal data: 30552 bytes > Matched data: 983834 bytes > File list size: 3438061 > Total bytes written: 3442643 > Total bytes read: 8794 > > wrote 3442643 bytes read 8794 bytes 9094.70 bytes/sec > total size is 1714847358 speedup is 496.85 > dev/ > etc/cups/certs/ > etc/mail/ > root/ > smb_shares/var/lib/dhcp/ > smb_shares/var/log/ > smb_shares/var/run/ > smb_shares/var/spool/mail/ > usr/local/samba/var/locks/ > > Any ideas? Thanks!The final output appears to be from the final directory permission fixup. The child process on the receiving side generates the stats, then does deletes, hardlinks and a final fix of the directory mtimes. In 2.5.5 this output should be disabled, see line 290 of generator.c: /* f_out is set to -1 when doing final directory permission and modification time repair */ if (set_perms(fname,file,NULL,0) && verbose && (f_out != -1)) rprintf(FINFO,"%s/\n",fname); return; Are you running 2.5.5? Craig
Edward King
2002-Dec-23 18:15 UTC
Statistics appearing in middle of file list -- no errors
Version 2.5.5 on the receiving side seems to fix the problem. Thanks! Ed Craig Barratt wrote:>>Has anybody seen this? We want to seperate the statistics out from the >>file list, and were using tail to grab the end of the file. the command >>we run is: >> >> rsync -r -a -z --partial --suffix=".backup" --exclude="*.backup" \ >> --stats -v /. 10.1.1.60::cds101/ > /var/log/rsync.log 2>&1 >> >>along with a number of excludes to skip the /tmp, /dev, /var and /proc >>directories. The output in file /var/log/rsync.log is: >> >>building file list ... done >>dev/ttyp0 >>etc/cups/certs/ >>etc/cups/certs/0 >>etc/mail/statistics >>root/.bash_history >>smb_shares/var/lib/dhcp/ >>smb_shares/var/lib/dhcp/dhcpd.leases >>smb_shares/var/lib/dhcp/dhcpd.leases~ >>smb_shares/var/log/debug >>smb_shares/var/log/mail >>smb_shares/var/log/messages >>smb_shares/var/log/rsync.log >>smb_shares/var/log/secure >>smb_shares/var/run/utmp >>smb_shares/var/spool/clientmqueue/ >>smb_shares/var/spool/mail/ >>smb_shares/var/spool/mail/root >>smb_shares/var/spool/mqueue/ >>usr/local/samba/var/locks/ >>usr/local/samba/var/locks/browse.dat >> >>Number of files: 169315 >>Number of files transferred: 13 >>Total file size: 1714847358 bytes >>Total transferred file size: 1013994 bytes >>Literal data: 30552 bytes >>Matched data: 983834 bytes >>File list size: 3438061 >>Total bytes written: 3442643 >>Total bytes read: 8794 >> >>wrote 3442643 bytes read 8794 bytes 9094.70 bytes/sec >>total size is 1714847358 speedup is 496.85 >>dev/ >>etc/cups/certs/ >>etc/mail/ >>root/ >>smb_shares/var/lib/dhcp/ >>smb_shares/var/log/ >>smb_shares/var/run/ >>smb_shares/var/spool/mail/ >>usr/local/samba/var/locks/ >> >>Any ideas? Thanks! >> >> > >The final output appears to be from the final directory permission fixup. >The child process on the receiving side generates the stats, then does >deletes, hardlinks and a final fix of the directory mtimes. > >In 2.5.5 this output should be disabled, see line 290 of generator.c: > > /* f_out is set to -1 when doing final directory > permission and modification time repair */ > if (set_perms(fname,file,NULL,0) && verbose && (f_out != -1)) > rprintf(FINFO,"%s/\n",fname); > return; > >Are you running 2.5.5? > >Craig > >-------------- next part -------------- HTML attachment scrubbed and removed
Reasonably Related Threads
- Recipe/advice for Samba 4.11 on Ubuntu 20.04 as member server joining Windows Server 2019 AD
- Server Maps by IP but not by Name for Domain Users
- linux group quota does not work as expected with 3.0.21a
- cannot locate roaming profile
- Recipe/advice for Samba 4.11 on Ubuntu 20.04 as member server joining Windows Server 2019 AD