From owner-freebsd-fs@FreeBSD.ORG Tue Jun 14 15:17:36 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B79E0106566B for ; Tue, 14 Jun 2011 15:17:36 +0000 (UTC) (envelope-from pvz@itassistans.se) Received: from zcs1.itassistans.net (zcs1.itassistans.net [212.112.191.37]) by mx1.freebsd.org (Postfix) with ESMTP id 6D4178FC1A for ; Tue, 14 Jun 2011 15:17:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zcs1.itassistans.net (Postfix) with ESMTP id 6250DC0260; Tue, 14 Jun 2011 17:17:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at zcs1.itassistans.net Received: from zcs1.itassistans.net ([127.0.0.1]) by localhost (zcs1.itassistans.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lVBq0lcb6ueY; Tue, 14 Jun 2011 17:17:34 +0200 (CEST) Received: from [192.168.1.239] (c213-89-160-61.bredband.comhem.se [213.89.160.61]) by zcs1.itassistans.net (Postfix) with ESMTPSA id A21DAC01C5; Tue, 14 Jun 2011 17:17:34 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Per von Zweigbergk In-Reply-To: Date: Tue, 14 Jun 2011 17:17:33 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9544F7B9-E286-4266-86E3-B4D1A667CBBD@itassistans.se> <20110614150613.GB27199@DataIX.net> <61335943-0172-4483-A221-5C77CD8BAEFB@itassistans.se> To: =?windows-1252?Q?=8Aimun_Mikecin?= X-Mailer: Apple Mail (2.1084) Cc: freebsd-fs@freebsd.org Subject: Re: Disk usage and ZFS deduplication X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2011 15:17:36 -0000 14 jun 2011 kl. 17.15 skrev =8Aimun Mikecin: > What about hard linked files? They are similar to dedup in this = regard. I know that a hard linked file will show the same disk usage, so if for = example: $ du a 12345 a $ ln a b $ du a b 12345 a 12345 b $ But in this case it's not the entire file being hardlinked, rather just = some parts of the file being deduplicated so it's not exactly the same. = Or is it? This is why I asked on the mailing list. :-)