From owner-freebsd-questions@freebsd.org Wed Aug 16 08:03:39 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 50E47DCC2B7 for ; Wed, 16 Aug 2017 08:03:39 +0000 (UTC) (envelope-from julf@julf.com) Received: from outbound1.mail.transip.nl (outbound1.mail.transip.nl [IPv6:2a01:7c8:7c8::72]) (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 15C6574E8F for ; Wed, 16 Aug 2017 08:03:38 +0000 (UTC) (envelope-from julf@julf.com) Received: from submission6.mail.transip.nl (submission6.mail.transip.nl [149.210.149.10]) by outbound1.mail.transip.nl (Postfix) with ESMTP id 3xXMKm1CFFzT4NC; Wed, 16 Aug 2017 10:03:24 +0200 (CEST) Received: from [172.24.42.111] (unknown [77.172.149.157]) by submission6.mail.transip.nl (Postfix) with ESMTPA id 3xXMKg579Kz12NCQ; Wed, 16 Aug 2017 10:03:19 +0200 (CEST) Subject: Re: ZFS and free space To: Michael Schuster Cc: freeBSD Mailing List References: <126aaff1-58af-f7d5-b47e-c7d894b45606@gmail.com> From: Johan Helsingius Message-ID: Date: Wed, 16 Aug 2017 10:03:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Scanned-By: ClueGetter at submission6.mail.transip.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=transip-a; d=julf.com; t=1502870603; h=from:reply-to:subject:to:cc: references:in-reply-to:date:mime-version:content-type; bh=mbX2Td/CEut7kwFJYo6xe84o96BvJGUZ0MhVYlgT7Mc=; b=W0HJXeSqalVHfepMzYsQljGB73Uo50hvTXt+SLT/qr1QGJmHYf/+iwf0AuI3+SWrh8QMs/ ryDjh727ug7AiJT6q7D1TJFBqWSMJJPn87M3p4QDmqVtbc7u+t42qhjXtqkNE51HIJ/Fan K0s2BSMACi0YeWMNrsrCqcYjeBIFI912uy6E9hEBbyizopMgq79Rj/o15vLJc/hIijc89T kuJ3E81jK7xtx0Ua5Z7RktLcl9FJVnmjqBpEaf3X9bhN6Yj/YoDEgBKHZHpnhXTqxkyU77 IYDUKQupBu+MxMaF1JNn2mnVOOeDhRYjseMxXR+3KHTusp0/UxJlzK6oIqfcaA== X-Report-Abuse-To: abuse@transip.nl 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 08:03:39 -0000 Hi, Mike, On 16-08-17 07:45, Michael Schuster wrote: > I wonder ... is zroot/usr/home part of zroot/home? Naming suggests > otherwise. > > Perhaps you can try > # zfs list -t all | egrep 'home|usr' > (or simply 'zfs list -t all', if that doesn't produce too much output) > and see whether that helps ... # zfs list -t all NAME USED AVAIL REFER MOUNTPOINT zroot 10.2T 47.8G 140K /zroot zroot/ROOT 3.01G 47.8G 140K none zroot/ROOT/default 3.01G 47.8G 3.01G / zroot/home 5.98T 47.8G 5.98T /home/storage zroot/tmp 163K 47.8G 163K /tmp zroot/usr 4.17T 47.8G 140K /usr zroot/usr/home 4.17T 47.8G 4.17T /usr/home zroot/usr/ports 1.26G 47.8G 1.26G /usr/ports zroot/usr/src 140K 47.8G 140K /usr/src zroot/var 1.42M 47.8G 140K /var zroot/var/audit 140K 47.8G 140K /var/audit zroot/var/crash 140K 47.8G 140K /var/crash zroot/var/log 761K 47.8G 761K /var/log zroot/var/mail 140K 47.8G 140K /var/mail zroot/var/tmp 140K 47.8G 140K /var/tmp So /zroot is 10T, zroot/home is 6T and zroot/usr (and zroot/usr/home) is 4T - so clearly they are separate. But what is taking up the space on zroot/usr/home? "du" doesn't show anything there! # du -sh /usr/home/* 715M /usr/home/julf 4.2T /usr/home/storage # file /home /home: symbolic link to usr/home # ls -id /usr/home/storage/ /home/storage 18 /home/storage 18 /usr/home/storage/ Julf