Ted Unangst wrote:
run du on both filesystems and compare the results.


OK, just because I am curious more then think there is a problem, and because I am still puzzle from what Otto and Ted said, here is what I did and the answer to question from Otto as well.

- Both system run 3.8. (www1 was running 3.6 and updated to 3.7, then 3.8 all good following strict step from Nick in the FAQ). www2 was a full clean install from scratch, full wipe out, not an upgrade.

- There isn't any hard or soft link in that section.

- On the blocksize Otto said/asked if I play with it. No, never did, always did fresh install by default until this time when I try the upgrade from Nick as this www1 was a lots of work to do fresh, but I may just redo it to see.

Then as there is a lots of files and comparing them manually is really a lots of work, I use rsync 2.6.6 to mirror them:

www1# pkg_info | grep rsync
rsync-2.6.6         mirroring/synchronization over low bandwidth links

www2# pkg_info | grep rsync
rsync-2.6.6         mirroring/synchronization over low bandwidth links

Then, I use rsync and change the setup to allow to log in and run it as root so that no restrictions would be there in anyway as below to be sure I have a full identical copy of all the files just like this:

rsync -e ssh -auqz --delete /var/www/sites/ [EMAIL PROTECTED]:/var/www/sites

Then I did:
du -h /var/www/sites on www1 and get 3.9G    /var/www/sites
du -h /var/www/sites on www2 and get 7.7G    /var/www/sites

Also remember that www1 was the one upgraded, and www2 fresh new install.

Now I continue to look but I am not sure what else I can do to be 100% sure that all the files are identical before comparing them.

I am still comparing the results from du, but that's huge!

So, may be this test is not a valid one, but then why not?

It is interesting however to say the less.

Now, to push the issue even more, I did this with a third server from the www1 again:

rsync on it
www3# pkg_info | grep rsync
rsync-2.6.6         mirroring/synchronization over low bandwidth links

Then mirror it:
rsync -e ssh -auqz --delete /var/www/sites/ [EMAIL PROTECTED]:/var/www/sites

Then same, I did:
du -h /var/www/sites on www1 and get 3.9G    /var/www/sites
du -h /var/www/sites on www3 and get 7.7G    /var/www/sites

The only difference in hardware setup is that both www2 and www3 have their own drive for that mount point where www1 does not and run i386 oppose to AMD64.

www1# df | grep /var/www/sites
www1# df | grep /var
/dev/wd0e    25799860   4905500  19604368    20%    /var
/dev/wd0f     1030550      1552    977472     0%    /var/qmail

www2# df | grep /var/www/sites
/dev/wd1a    20640174   8495528  11112638    43%    /var/www/sites

www3# df | grep /var/www/sites
/dev/wd1a    20640174   8024648  11583518    41%    /var/www/sites

So, the www1 have to have even more stuff on the drive compare to www2 and www3, but show much less.

So copying from www1 to www2 and to www3 give the same results and www2 and www3 match very well, but www1 still show much less for sure.

I am very puzzle at best.

Reply via email to