From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 20:15:29 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 933A316A417 for ; Fri, 28 Sep 2007 20:15:29 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5AA13C45B for ; Fri, 28 Sep 2007 20:15:29 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.14.1) id l8SKFSE8037371; Fri, 28 Sep 2007 15:15:28 -0500 (CDT) (envelope-from dan) Date: Fri, 28 Sep 2007 15:15:28 -0500 From: Dan Nelson To: Modulok Message-ID: <20070928201528.GB62033@dan.emsphone.com> References: <64c038660709281127j1df4835bxcbfe4495600fd6d7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64c038660709281127j1df4835bxcbfe4495600fd6d7@mail.gmail.com> X-OS: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) 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 20:15:29 -0000 In the last episode (Sep 28), Modulok said: > 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. du doesn't count in bytes; it counts in disk blocks or KB. A 12KB difference is probably just due to better packing of directories in your newly-created tree as compared to your orignal one. To figure out where the difference is, run "du -a" in both trees and diff the two outputs. -- Dan Nelson dnelson@allantgroup.com