From owner-freebsd-questions@freebsd.org Sun Apr 10 12:58:03 2016 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 28A5DB09960 for ; Sun, 10 Apr 2016 12:58:03 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from relay08.nicmail.ru (relay08.nicmail.ru [195.208.6.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF4441BFC for ; Sun, 10 Apr 2016 12:58:01 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from [109.70.25.214] (port=59059 helo=portege) by f17.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1apEw9-000ABx-4D; Sun, 10 Apr 2016 15:57:57 +0300 Received: from [188.123.231.37] (account afiskon@devzen.ru HELO portege) by proxy01.mail.nic.ru (Exim 5.55) with id 1apEw9-0004gC-7E; Sun, 10 Apr 2016 15:57:57 +0300 Date: Sun, 10 Apr 2016 15:57:56 +0300 From: Aleksander Alekseev To: "Dean E. Weimer" Cc: freebsd-questions@freebsd.org Subject: Re: Stupid question regarding ZFS and `df -h` output Message-ID: <20160410155756.06c88114@portege> In-Reply-To: References: <20160410150013.4d34a49b@portege> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2016 12:58:03 -0000 Hello, Dean Thanks for your reply. > What is the output of "gpart show" as well as "zpool status" I am > guessing that part of the disk is used for swap outside of zfs. gpart > show will list the gpart partitions that were created and zpool > status will show the devices that the zfs is created on giving a > better picture as to why you are only seeing 95G instead of the 128. ``` $ sudo gpart show Password: => 34 250069613 ada0 GPT (119G) 34 6 - free - (3.0K) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 4194304 2 freebsd-swap (2.0G) 4196352 245872640 3 freebsd-zfs (117G) 250068992 655 - free - (328K) $ sudo zpool status pool: zroot state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 ada0p3 ONLINE 0 0 0 errors: No known data errors ``` Right, there is a swap partition. But I personally still don't understand why ZFS partitions size is 117G and `df` shows weird numbers like 95G and 74G. -- Best regards, Aleksander Alekseev http://eax.me/