From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 18:41:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 588CC16A46B for ; Fri, 28 Sep 2007 18:41:17 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id A187D13C44B for ; Fri, 28 Sep 2007 18:41:16 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.1/8.14.1) with ESMTP id l8SIfAAi033637; Fri, 28 Sep 2007 19:41:11 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <46FD4AC6.7030501@infracaninophile.co.uk> Date: Fri, 28 Sep 2007 19:41:10 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: Modulok References: <64c038660709281127j1df4835bxcbfe4495600fd6d7@mail.gmail.com> In-Reply-To: <64c038660709281127j1df4835bxcbfe4495600fd6d7@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Fri, 28 Sep 2007 19:41:11 +0100 (BST) X-Virus-Scanned: ClamAV 0.91.2/4420/Fri Sep 28 16:43:46 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: File size discrepancies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 18:41:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Modulok wrote: > I have a file hierarchy of about 18GiB which was copied from a UFS 2 > file system one hard disk to a UFS 2 file system on a gmirror array. > The size of the two hierarchies differ by 12 bytes according to du(1). > No errors were reported by cp(1) during the copy operation. > > Is this normal, or should I start hunting for corruption? Hmmm... 12 bytes out of 18GiB is pretty good going. A 12 byte discrepancy could be due to something as simple as a changed path name in a sym-link or two. Most other reasonable explanations for a size difference I can think of would probably result in a bigger discrepancy. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG/UrG8Mjk52CukIwRCC8yAJwJfgq5bRiUxL0FmTJx0KRTSEl4iQCfR0LD kgdxWwDRQCoGeCTOS0ANDGk= =7DnR -----END PGP SIGNATURE-----