From owner-freebsd-fs@FreeBSD.ORG Tue Apr 17 08:37:06 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 B8ABB106566C for ; Tue, 17 Apr 2012 08:37:06 +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 4DEBF8FC18 for ; Tue, 17 Apr 2012 08:37:06 +0000 (UTC) Received: from [2a03:7900:2:0:31:3:104:46] (port=45404 helo=go.tuxis.net) by smtp.tuxis.nl with esmtp (Exim 4.71) (envelope-from ) id 1SK3uL-0006Bc-CX for freebsd-fs@freebsd.org; Tue, 17 Apr 2012 10:37:05 +0200 Received: from localhost (localhost [127.0.0.1]) by go.tuxis.net (Postfix) with ESMTP id 14C9220B5A for ; Tue, 17 Apr 2012 10:37:34 +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 mRnnGXId3wrq for ; Tue, 17 Apr 2012 10:37:28 +0200 (CEST) Received: from www.hyperdesktop.nl (unknown [IPv6:::1]) by go.tuxis.net (Postfix) with ESMTP id B40F320B5D for ; Tue, 17 Apr 2012 10:37:28 +0200 (CEST) Message-ID: <1334651848.4f8d2bc88c939@www.hyperdesktop.nl> Date: Tue, 17 Apr 2012 10:37:28 +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: <4F8D0E81.5050703@gmail.com> References: <4F8D0E81.5050703@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: Tue, 17 Apr 2012 08:37:06 -0000 Hi, Op Dinsdag, 17-04-2012 om 8:32 schreef Volodymyr Kostyrko= : > > [root@storage ~]# zfs list -o name,used,referenced,usedbychild= ren,usedbydataset,usedbysnapshots,available,mountpoint,quota,reserv,refq= uota,refreserv "$@" | sed -r "s/none/ -/g" > > NAME = USED REFER USEDCHILD USEDDS USEDSNAP AVAIL MO= UNTPOINT QUOTA RESERV REFQUOTA REFRESERV > > storage = 1.60T 431G 1.18T 431G 0 138G /s= torage - - - - > > storage/av.https-ic= t.nl..OS 20G 16K 0 16K 0 158G -= - - - 20G > > storage/bestandonl= ine.https-ict.nl.OS 20G 16K 0 16K 0 158G -= - - - 20G >=20 > Let's take th= is one for example. It's not mounted! It shouldn't be=20 > listed in n= ext command output. They are zvols, they shouldn't be mounted= . They're exported by iscsitgt as devices. > This is not a zfs d= ataset. This is a file. It has no relevance to named=20 > dataset. And= it drains space from /storage. That's absolutely true. There= are indeed three files that could be removed. bestandonline.https-i= ct.nl.DATA documentatievm.https-ict.nl testvm1.https-ict= .nl But still, there is only 16K referenced by the zvols.= .. --=20 Dit bericht is verzonden via https://www.hyperdes= ktop.nl/. Alles, overal! Mark Schouten | Tuxis Internet Engine= ering KvK: 09218193 | http://www.tuxis.nl/ T: 0318 200208 | info= @tuxis.nl M: 06 53463918 | mark@tuxis.nl