This just gets stranger and stranger....

(all of the following is done locally on the file server, on the ext2
partition.)

I tarred up the directories that had been created via NFS by:
  (cd /home;tar cf - Export) >Export-home.tar
and
  tar cf Export.tar Export
for the one created on ext2.  And I got:
-rw-r--r--    1 root     root     433111040 Nov  4 13:25 Export.tar             
-rw-r--r--    1 root     root     432752640 Nov  4 16:11 Export-home.tar
-rw-r--r--    1 root     root     433111040 Nov  4 16:23 Export-home2.tar
-rw-r--r--    1 root     root     432599040 Nov  4 16:41 Export-home3.tar
-rw-r--r--    1 root     root     433111040 Nov  4 16:48 Export-home4.tar
-rw-r--r--    1 root     root     431319040 Nov  4 16:54 Export-home5.tar

Note that Export-home2.tar and Export-home4.tar are the same size as
Export.tar, which suggests they have the same contents, at least more
or less (a lot of the errors it got over NFS were when it was trying
to set permissions or the like).

Unfortunately, they can't be compared with cmp because they have
different top-level directory names.  So I did it all again, this time with
  (cd /home/Export;tar cf - .) >Export-home.tar
now, to confuse the heck out of me, I get:

-rw-r--r--    1 root     root     433070080 Nov  4 19:15 Export.tar             
-rw-r--r--    1 root     root     432711680 Nov  4 17:07 Export-home.tar
-rw-r--r--    1 root     root     433070080 Nov  4 17:14 Export-home2.tar
-rw-r--r--    1 root     root     432547840 Nov  4 17:20 Export-home3.tar
-rw-r--r--    1 root     root     433059840 Nov  4 17:27 Export-home4.tar
-rw-r--r--    1 root     root     431298560 Nov  4 17:33 Export-home5.tar
 
and home2 is the same size... but home4 is 10240 bytes shorter.
Unfortunately, they still don't compare equal because directory orders
are different.  I don't see why that could be - but I guess it could
be an artifact of the tree structure that reiserfs uses for
directories.  Unfortunately, that even makes comparisons of `tar tvvf'
difficult if you have hard links (which I do).

I did a ``cd Export;find .|xargs ls -ld|sort'' which doesn't quite
work because reiserfs keeps directory sizes correctly and ext2
doesn't, and symlinks times are different.  But it appears that the
only difference was that one file was owned by root/root when it
should have been dmason/dmason.

So now I'm completely mystified!

Any ideas?  Anybody willing to state that if I don't beat so hard on
the NFS/reiserfs combo (and give it time to recover) that everything
will be fine?

../Dave

Reply via email to