From owner-freebsd-fs@FreeBSD.ORG Tue Jun 14 15:15:46 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 5A365106566C for ; Tue, 14 Jun 2011 15:15:46 +0000 (UTC) (envelope-from numisemis@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id D6F348FC08 for ; Tue, 14 Jun 2011 15:15:45 +0000 (UTC) Received: by fxm11 with SMTP id 11so5615449fxm.13 for ; Tue, 14 Jun 2011 08:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=efXh4OfnNI/FUDTLrD0kLwzBQW4iv/3kIno4i4txhwY=; b=LjEDAGMDjIpC+i4pXFeTENtNRPT6szGl1phfL7EqnG5LDzc+BqxhdineIf5r71mHQ4 5zM/vOHUgBR/3mKy773+wvW3yr1a2HezzURfvYDGvft4QEr46Q8xdnVxRTVVvNxld9Kd AlreaXIvdGklwSgX9E8Lfd/X0nVFB/HXIG+Y8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mB2sPlW9M1ZnnJRy+ZUpCaShRavaS3Ssb1ylSunoCnOY7N/9zDT00XqQrOZuYTiLWT MzqWFrESQNBqEWl5ENXFAaiXnPUnIBRpBtYwL/JAaQUyYf1/E1x+9qk/E2X6s6nvFnXm Ax2QeGKbyr1rnvCNLHFE3Aoc9203siKKpKD3s= MIME-Version: 1.0 Received: by 10.223.43.145 with SMTP id w17mr1388224fae.12.1308064544827; Tue, 14 Jun 2011 08:15:44 -0700 (PDT) Received: by 10.204.180.139 with HTTP; Tue, 14 Jun 2011 08:15:44 -0700 (PDT) In-Reply-To: <61335943-0172-4483-A221-5C77CD8BAEFB@itassistans.se> References: <9544F7B9-E286-4266-86E3-B4D1A667CBBD@itassistans.se> <20110614150613.GB27199@DataIX.net> <61335943-0172-4483-A221-5C77CD8BAEFB@itassistans.se> Date: Tue, 14 Jun 2011 17:15:44 +0200 Message-ID: From: =?UTF-8?Q?=C5=A0imun_Mikecin?= To: Per von Zweigbergk , freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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:15:46 -0000 2011/6/14 Per von Zweigbergk > >> If you use "du" to determine disk size for a deduplication, what would > be the result? Which file would the common data be accounted to? Or would it > be accounted to both files somehow, in part or in full? > > > > Logical answer would be that both files should be showing thier > > resulting size regardless of how ZFS processes them. Being deduped does > > not mean representing files to the user any different. > > That would be the file size, yes, as opposed to the disk usage. What about hard linked files? They are similar to dedup in this regard.