From owner-freebsd-fs@FreeBSD.ORG Tue Apr 17 09:55:13 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 31C531065672 for ; Tue, 17 Apr 2012 09:55:13 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AE6788FC12 for ; Tue, 17 Apr 2012 09:55:12 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so6050602bkc.13 for ; Tue, 17 Apr 2012 02:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=rEyOJm8KB4issMrMxtfGjEonTIByIFM+Pdi+B93s+5M=; b=HEaklc40/PZClnNxe7IZ+HaxC1j/QNAu1cfFxZww03YsTey7+UK1CqmGXpT2+uK4iC NpQkJUQN2bEvvGKuDCbtqtJ1FXEKYq1TY0L53tINixIJyyXpbX3kOTJtj0NK4CWntKTD oHEv2ZYf63lFRnE2wxCPYFIKDRGUdQBZuUrmiLF86dG6xuQdTM+3FKZ/x2RjpOqWJyzn iqmJA1BSajPGQi1lJb7gAb/uH7WaU0J0ppjPQJDn8DvIIVTvJ2UGqDV1ggebarEnOyfU X6G0MNpDnbB/kzY7fO18/orpmLBBji9b9JCiJ/d2SNWKkbMLiGjavudr0RW96l/Qg4PF dIPQ== Received: by 10.205.130.133 with SMTP id hm5mr4354920bkc.115.1334656511488; Tue, 17 Apr 2012 02:55:11 -0700 (PDT) Received: from green.tandem.local (102-204-132-95.pool.ukrtel.net. [95.132.204.102]) by mx.google.com with ESMTPS id iv11sm36663005bkc.16.2012.04.17.02.55.09 (version=SSLv3 cipher=OTHER); Tue, 17 Apr 2012 02:55:10 -0700 (PDT) Message-ID: <4F8D3DFB.4050304@gmail.com> Date: Tue, 17 Apr 2012 12:55:07 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:11.0) Gecko/20120315 Firefox/11.0 SeaMonkey/2.8 MIME-Version: 1.0 To: Mark Schouten References: <4F8D0E81.5050703@gmail.com> <1334651848.4f8d2bc88c939@www.hyperdesktop.nl> In-Reply-To: <1334651848.4f8d2bc88c939@www.hyperdesktop.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 09:55:13 -0000 Mark Schouten wrote: >>> [root@storage ~]# zfs list -o name,used,referenced,usedbychildren,usedbydataset,usedbysnapshots,available,mountpoint,quota,reserv,refquota,refreserv "$@" | sed -r "s/none/ -/g" >>> NAME USED REFER USEDCHILD USEDDS USEDSNAP AVAIL MOUNTPOINT QUOTA RESERV REFQUOTA REFRESERV >>> storage 1.60T 431G 1.18T 431G 0 138G /storage - - - - >>> storage/av.https-ict.nl..OS 20G 16K 0 16K 0 158G - - - - 20G >>> storage/bestandonline.https-ict.nl.OS 20G 16K 0 16K 0 158G - - - - 20G >> >> Let's take this one for example. It's not mounted! It shouldn't be >> listed in next command output. > > They are zvols, they shouldn't be mounted. They're exported by iscsitgt as devices. As they are zvols they do exists at /dev/zvol/storage/ and not /storage/. Where did all that files came from? Can you post your iscsitgt setup? > >> This is not a zfs dataset. This is a file. It has no relevance to named >> dataset. And it drains space from /storage. > > That's absolutely true. There are indeed three files that could be removed. > bestandonline.https-ict.nl.DATA > documentatievm.https-ict.nl > testvm1.https-ict.nl > > But still, there is only 16K referenced by the zvols... > -- Sphinx of black quartz judge my vow.