From owner-freebsd-fs@FreeBSD.ORG Fri Apr 13 13:28:11 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16192106566B for ; Fri, 13 Apr 2012 13:28:11 +0000 (UTC) (envelope-from mark@tuxis.nl) Received: from smtp.tuxis.nl (smtp.tuxis.nl [IPv6:2a03:7900:2:0:31:3:104:34]) by mx1.freebsd.org (Postfix) with ESMTP id 9F02E8FC16 for ; Fri, 13 Apr 2012 13:28:10 +0000 (UTC) Received: from [2a03:7900:2:0:31:3:104:46] (port=34978 helo=go.tuxis.net) by smtp.tuxis.nl with esmtp (Exim 4.71) (envelope-from ) id 1SIgXp-000587-S6 for freebsd-fs@freebsd.org; Fri, 13 Apr 2012 15:28:09 +0200 Received: from localhost (localhost [127.0.0.1]) by go.tuxis.net (Postfix) with ESMTP id 05B9620BBF for ; Fri, 13 Apr 2012 15:28:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at www.hyperdesktop.nl Received: from go.tuxis.net ([127.0.0.1]) by localhost (go.tuxis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2E3IjYW2p96a for ; Fri, 13 Apr 2012 15:28:28 +0200 (CEST) Received: from www.hyperdesktop.nl (unknown [IPv6:::1]) by go.tuxis.net (Postfix) with ESMTP id 1575420BBE for ; Fri, 13 Apr 2012 15:28:28 +0200 (CEST) Message-ID: <1334323707.4f8829fbe801e@www.hyperdesktop.nl> Date: Fri, 13 Apr 2012 15:28:27 +0200 From: Mark Schouten To: Volodymyr Kostyrko MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced by Group-Office 3.7.42 In-Reply-To: <4F8825E5.3040809@gmail.com> References: <4F8825E5.3040809@gmail.com> X-Mailer: Group-Office 3.7.42 X-Priority: 3 (Normal) Cc: "freebsd-fs@freebsd.org" Subject: Re: ZFS and disk usage 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: Fri, 13 Apr 2012 13:28:11 -0000 Hi, Op Vrijdag, 13-04-2012 om 15:11 schreef Volodymyr Kostyrk= o: > > These are fiesystems that are created with the following comm= and. > > zfs create -V ${size}GB ${ZFS_ROOT}/${diskname}= >=20 > `zfs create -V` withous `-s` creates reserved volume that e= ats all=20 > needed space immediately. Technically zfs pool is filled = only for 23%,=20 > but logically you have only 138G left unassigne= d. I understand. However, the created volumes should use a total= of 1211GB. That's not 1.6TB like zfs list says. But 1211 + 431 (referre= d) does come close to 1.6TB.n And 1.6 TB still isn't the 1.77TB that's i= n the zpool. I have this feeling that zfs has reserved the spac= e for each volume, but counts data written to the volumes in usage of th= e main filesystem. Mainly because zfs list shows me that the volumes hav= e only 16KB referenced, where /storage has 431GB referenced. --= =20 Dit bericht is verzonden via https://www.hyperdesktop.nl/. Alles, = overal! Mark Schouten | Tuxis Internet Engineering KvK: = 09218193 | http://www.tuxis.nl/ T: 0318 200208 | info@tuxis.nl M= : 06 53463918 | mark@tuxis.nl