Not sure if this is the issue, but you should be aware that du reports the 
actual disk usage, not the data size.  So, if one filesystem has 16k block 
sizes, and another has 4k block sizes, and you copy a 1000 files that are all 
3k in size, du will report 16,000k used on the first filesystem and 4,000k used 
on the second.

Does your du command have an "--apparent-size" flag?  It might help give you an 
idea if there are filesystem issues causing the difference.

What are the FS's and block sizes in use? (dumpfs can help, if it's ext, ufs, 
etc. zfs has a "variable block size")

-Patrick

—
Patrick Toal
[email protected]







> On Mar 7, 2016, at 8:54 AM, John Lewis <[email protected]> wrote:
> 
> Hi Dave,
> 
> On Mon, Mar 7, 2016 at 8:42 PM, Dave Howorth <[email protected]> 
> wrote:
> Just do an ls -l of each and check the link count (i.e. second field) is
> the same on the source and destination.
> 
> 
> Linux:
> 
> # ls -l sshd_config
> -rw-r--r-- 2 root root 2508 Mar  4 08:02 sshd_config
> 
> FreeBSD:
> 
> $ ls -l sshd_config
> -rw-r--r--  2 john  john  2508 Mar  4 01:02 sshd_config
> 
> 
> Linux:
> # ls -i sshd_config
> 42468355 sshd_config
> 
> # find /backup/dirvish/adm -inum 42468355
> /backup/dirvish/adm/2016-03-07/tree/etc/ssh/sshd_config
> /backup/dirvish/adm/2016-03-06/tree/etc/ssh/sshd_config
> 
> 
> FreeBSD:
> 
> $ ls -i sshd_config
> 148413 sshd_config
> 
> $ find ~/dirvish -inum 148413
> /home/john/dirvish/dirvish/adm/2016-03-07/tree/etc/ssh/sshd_config
> /home/john/dirvish/dirvish/adm/2016-03-06/tree/etc/ssh/sshd_config
> 
> Is this mean this is not a hard link issue?
> 
> >> Cheers, Dave
> 
> Thanks a lot!
>  
> 
> _______________________________________________
> Dirvish mailing list
> [email protected]
> http://www.dirvish.org/mailman/listinfo/dirvish

_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to