From owner-freebsd-stable@FreeBSD.ORG Sat Jul 4 23:26:03 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C2D510656D4 for ; Sat, 4 Jul 2009 23:26:03 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 042038FC1A for ; Sat, 4 Jul 2009 23:26:02 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by yxe11 with SMTP id 11so4551455yxe.3 for ; Sat, 04 Jul 2009 16:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=maipnqYxaz9vqznsUDh3ecMCp3z/yJCLi1yYmzpCRNw=; b=fNUr0hrYvNmvUGmELKup6W91pBy4Z70JqEeIyTo8GAfSFl2RHc/48Qltud8Q2aA/eO 2Wv/elagxh/MIarTFsQz98DLcHubDE2qbQwrAvoP/HDv3OyksM0iYr0ZdwxbEOu5Hxm2 CXx/uTic98uuxWfz/e11OUB+TBaZkdvj8NIyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UGcvl3QTVW45dgIZ8m9v0jwff+16Gz4ULglX3ce1gufrVRCkS/sxYD2F55LYAma42+ +p2lk3hggv5gTtKhQTUjuwcRqsJeJjMpfbHhjBojcMVisRC+I27LjluldZeaDVTq/F2x TizUsl6sVxBrxCvqfzJ4Y4iKdO6gMooNR59Xs= MIME-Version: 1.0 Received: by 10.100.9.18 with SMTP id 18mr5001946ani.177.1246749962107; Sat, 04 Jul 2009 16:26:02 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Jul 2009 16:26:02 -0700 Message-ID: From: Freddie Cash To: Dan Naumov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD-STABLE Mailing List Subject: Re: ZFS and df weirdness X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2009 23:26:03 -0000 On Sat, Jul 4, 2009 at 2:55 PM, Dan Naumov wrote: > Hello list. > > I have a single 2tb disk used on a 7.2-release/amd64 system with a > small part of it given to UFS and most of the disk given to a single > "simple" zfs pool with several filesystems without redundancy. I've > noticed a really weird thing regarding what "df" reports regarding the > "total space" of one of my filesystems: > > atom# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad12s1a 15G 1.0G 13G 7% / > devfs 1.0K 1.0K 0B 100% /dev > linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc > tank/DATA 1.8T 292G 1.5T 16% /DATA > tank/home 1.5T 0B 1.5T 0% /home > tank/home/jago 1.5T 128K 1.5T 0% /home/jago > tank/home/karni 1.5T 0B 1.5T 0% /home/karni > tank/usr/local 1.5T 455M 1.5T 0% /usr/local > tank/usr/obj 1.5T 0B 1.5T 0% /usr/obj > tank/usr/ports 1.5T 412M 1.5T 0% /usr/ports > tank/usr/src 1.5T 495M 1.5T 0% /usr/src > tank/var/log 1.5T 256K 1.5T 0% /var/log > > Considering that every single filesystem is part of the exact same > pool, with no custom options whatsoever used during filesystem > creation (except for mountpoints), why is the size of tank/DATA 1.8T > while the others are 1.5T? > Did you set a reservation for any of the other filesystems? Reserved space is not listed in the "general" pool. -- Freddie Cash fjwcash@gmail.com