From owner-freebsd-questions@freebsd.org Wed Aug 16 12:10:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04F7DDD7EFA for ; Wed, 16 Aug 2017 12:10:08 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (vps.markoturk.info [95.154.208.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 980D980784 for ; Wed, 16 Aug 2017 12:10:07 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (localhost [127.0.0.1]) by vps.markoturk.info (Postfix) with ESMTPS id D498A2B87E; Wed, 16 Aug 2017 14:10:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=markoturk.info; s=s1024; t=1502885405; bh=H01YYVX01weliOo17GJ1qs05sIrNqoeIcQII7zqadEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=whlYiD5UNvAH6j6MVi5akjFBsx1kqsTd38xVU/gdvyURYDap6LWvXeUki1eIZhMXu LtpjnniADHazoAzpHIlsYm/lZBSwPhRFmMqLuSkEQlRJWA7Rx/g1HIT9ajgYg1E3uQ NS+OKFNVIkncqe9KyHJ+tA/wnqPrKF7dg9nv77mA= Date: Wed, 16 Aug 2017 14:10:04 +0200 From: Marko Turk To: Johan Helsingius Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and free space Message-ID: <20170816121004.GB16608@vps.markoturk.info> References: <126aaff1-58af-f7d5-b47e-c7d894b45606@gmail.com> <20170816105759.GA16608@vps.markoturk.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.0 (2016-08-17) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2017 12:10:08 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 16, 2017 at 02:02:39PM +0200, Johan Helsingius wrote: > Marko, >=20 > > What is the output of > > $ zfs list -o name,mountpoint,mounted,used,refer,ratio,compress >=20 > NAME MOUNTPOINT MOUNTED USED REFER RATIO COMPRESS > zroot /zroot yes 10.2T 140K 1.07x lz4 > zroot/ROOT none no 3.01G 140K 2.61x lz4 > zroot/ROOT/default / yes 3.01G 3.01G 2.61x lz4 > zroot/home /home/storage yes 5.98T 5.98T 1.06x lz4 > zroot/tmp /tmp yes 163K 163K 1.01x lz4 > zroot/usr /usr no 4.17T 140K 1.09x lz4 > zroot/usr/home /usr/home yes 4.17T 4.17T 1.09x lz4 > zroot/usr/ports /usr/ports yes 1.26G 1.26G 2.19x lz4 > zroot/usr/src /usr/src yes 140K 140K 1.00x lz4 > zroot/var /var no 1.43M 140K 4.82x lz4 > zroot/var/audit /var/audit yes 140K 140K 1.00x lz4 > zroot/var/crash /var/crash yes 140K 140K 1.05x lz4 > zroot/var/log /var/log yes 767K 767K 5.61x lz4 > zroot/var/mail /var/mail yes 140K 140K 1.00x lz4 > zroot/var/tmp /var/tmp yes 140K 140K 1.00x lz4 >=20 > So I guess it is zroot/usr (/usr) that isn't mounted for > some reason but holds a bunch of stuff! No, I don't think so. zroot/usr is set to not mounted by installer and that's OK. Can you set mountpoint for zroot/home to somewhere else (e.g. /tmp/somethin= g) and then check with du the size of /tmp/something and /usr/home (but don't use '*', just 'du -hs /tmp/something' so we dont get wrong results because of dotfiles)? /Marko --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhcgjUnLArcQCyVEgeDpsXaaozYgFAlmUNhsACgkQeDpsXaao zYiY6w/+MAHCnvDELYPOfCrFL1wSDhV2fhUArWFJ7a14tcnWZKh1Aj7UnAGt/fPK lSh3oaXO3vq0xrPnu5CstgNJC/vIFk7S7lPmo+JPVS+rc/FbJNVFKJLBERf4wyYA fm8WICMGUH5JSm5Ki812YsT5vgNtC7N/YBhCWwNOOTETclABd6Op3BnK0sPrZeNi NIlI8rRK6xjCP1cDIL7osWYiNQeOTl5g0NXrm6KaMbOvFrRpUeEwnxoEkfgINKME B20UnPHCn99K9m3PZmkc+QRFWPsjMWZ/HlgQyPIpxpyWYj7eBKZW+BVwdj9ypSMN wGJK9f0PGQEd8SE6aR0L7mYvL8WiMifmo6lVlQYHZNovquSihAObIDhDQwcsKdue RS3jeG9lxKiRoXUdIPBxthAlDhjrnUMuC31TT/SiGVL8WhCHIWs73WaiZ5aSwYbM poLCLaREQgluLPLO76uphcQGipKKMq6IaX/N/PYOCRLcxnvdwPrN8Y8FX7GDswZF YSf9de35V+iJgBo1i06Z2Sp37pEpxuJrkNxsnGqqiB1IwoTPaTPJyF8Rz2cLVSyP 4TwQp/+yhfwxpkqlLoue+EDt8xLpHqKIZ3aNnODFkSN8JutD10P9jGmgMOCM73uO xbsL/tqukvh406Nk7kUOL2PpsOzrcn1fInb1ElXC65l/jQJE3xE= =csnw -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--