From owner-freebsd-questions@freebsd.org Sun Apr 10 12:58:42 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 127E1B099DC; Sun, 10 Apr 2016 12:58:42 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-188.static.stls.mo.charter.com [24.240.198.188]) (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 C07961CAD; Sun, 10 Apr 2016 12:58:40 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u3ACL1So095221 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO); Sun, 10 Apr 2016 07:21:01 -0500 (CDT) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u3ACL07M095220; Sun, 10 Apr 2016 07:21:00 -0500 (CDT) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: Aleksander Alekseev Subject: Re: Stupid question regarding ZFS and `df -h` output MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 10 Apr 2016 07:21:00 -0500 From: "Dean E. Weimer" Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <20160410150013.4d34a49b@portege> References: <20160410150013.4d34a49b@portege> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.2-beta 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:42 -0000 On 2016-04-10 7:00 am, Aleksander Alekseev wrote: > Hello > > I installed FreeBSD using steps like "Next -> Next -> ZFS -> use entire > disk and don't bother me with stupid questions -> Next" > > I have 128 Gb hard drive: > > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: ATA8-ACS SATA 3.x device > ada0: Serial Number 82GS10GGT2GY > ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 122104MB (250069680 512 byte sectors) > > And here is `df -h` output: > > Filesystem Size Used Avail Capacity Mounted on > zroot/ROOT/default 95G 21G 74G 22% / > devfs 1.0K 1.0K 0B 100% /dev > zroot/tmp 75G 153M 74G 0% /tmp > zroot/usr/home 89G 15G 74G 17% /usr/home > zroot/usr/ports 75G 859M 74G 1% /usr/ports > zroot/usr/src 76G 1.2G 74G 2% /usr/src > zroot/var/audit 74G 96K 74G 0% /var/audit > zroot/var/crash 75G 930M 74G 1% /var/crash > zroot/var/log 74G 360K 74G 0% /var/log > zroot/var/mail 74G 188K 74G 0% /var/mail > zroot/var/tmp 74G 136K 74G 0% /var/tmp > zroot 74G 96K 74G 0% /zroot > > How exactly should I read this to get result "all 128 GB are used"? 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. -- Thanks, Dean E. Weimer http://www.dweimer.net/