Date: Tue, 17 Apr 2012 12:55:07 +0300 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: Mark Schouten <mark@tuxis.nl> Cc: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: ZFS and disk usage Message-ID: <4F8D3DFB.4050304@gmail.com> In-Reply-To: <1334651848.4f8d2bc88c939@www.hyperdesktop.nl> References: <4F8D0E81.5050703@gmail.com> <1334651848.4f8d2bc88c939@www.hyperdesktop.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F8D3DFB.4050304>