Mount the two fs's, cd into the root of your original fs (for arguments sake /mnt/orig) and then run a find over it. Let's say /mnt/new is the new fs:
find . -type f -xdev -exec cmp {} /mnt/new/{} ;
slip in a -print if you want to be sure it's examining everything along the way.
I think you may need gnu find to do this, as not all vendor finds allow you to substitute in multiple instances of {}.
I'm sure something reasonable can be worked-up in perl in about 10 lines, in an afternoon too.
You could also use two separate finds to assemble two lists of checksums or md5 hashes and then compare them relatively simply with the various text utils unix provides.
As for why they're different, I'm fairly sure a number of reasons have been mentioned over the years and are all in the archive or on NOW. And that's even assuming the files are all there and intact... if they've somehow suffered some problem then there's no need to get exotic. 8)
hth
On Mon 9 Jul, 2001, "Clawson, Simon" simon_clawson@mentorg.com wrote:
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.
------_=_NextPart_000_01C10870.3EB89C90 Content-Type: text/plain; charset="iso-8859-1"
I ran an NDMP copy on my filer to take some qtrees from one volume to another. When I ran du -s on each directory the results were different in most cases.
The question I have is - Is NDMP copy the tool for the job, and how do I verify the results once I have run it?
Any ideas?
Simon
Simon Clawson HDS Team Systems Administrator Mentor Graphics Uk Rivergate London Road Newbury Berkshire RG14 2QB <<Clawson, Simon.vcf>>
------_=_NextPart_000_01C10870.3EB89C90 Content-Type: application/octet-stream; name="Clawson, Simon.vcf" Content-Disposition: attachment; filename="Clawson, Simon.vcf"
BEGIN:VCARD VERSION:2.1 N:Clawson;Simon FN:Clawson, Simon TEL;WORK;VOICE:8210-1409 TEL;WORK;VOICE:44-1635-81-1409 TEL;HOME:8213-1409 ADR;WORK:;Newbury;;Newbury;;;UK LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Newbury=0D=0ANewbury=0D=0AUK EMAIL;PREF;INTERNET:simon_clawson@mentor.com REV:20001012T123735Z END:VCARD
------_=_NextPart_000_01C10870.3EB89C90-- -- End of excerpt from "Clawson, Simon"