From owner-freebsd-stable@FreeBSD.ORG Sat Jul 4 23:31:00 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 AFADD1065674 for ; Sat, 4 Jul 2009 23:31:00 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 6CCF98FC2F for ; Sat, 4 Jul 2009 23:31:00 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so1410527and.13 for ; Sat, 04 Jul 2009 16:31:00 -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 :content-transfer-encoding; bh=2NiypMTlNS2odywv1x/vWxSctbUCYivA2qfG88wbH08=; b=GD/DUOowCFMURd5jlT5p9tibuoiqmx3EoUI4eEaYemHXRvRRD5VjIHK1rTdgIfIOkL dlLWomh61NguCNeO+gUMDrlKpcohZkRMW8bzvaiTx0jU1qbObaIX5jLk5nLxDRkN9qzR lDDH5KNwKPtXeHkeC/Pc9H54J7cTrdltD/55Y= 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:content-transfer-encoding; b=EvVh79AwzoGrc5I8HFE8LA9OiNPWpoQtDIK7J+TYDE9RmUwhZE5vv77zZMoGcsXsj9 20GpuislwCc8IM0JPb+KD9i1ueNsE7DRlP4+cFBxpQVLs1P57NGQS4xyjajoiP47UTSL dpziW3+kROJRKrE+JfxArQYBGNqVawiAYWdGs= MIME-Version: 1.0 Received: by 10.100.213.13 with SMTP id l13mr5226080ang.110.1246750259972; Sat, 04 Jul 2009 16:30:59 -0700 (PDT) In-Reply-To: References: Date: Sun, 5 Jul 2009 02:30:59 +0300 Message-ID: From: Dan Naumov To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:31:00 -0000 On Sun, Jul 5, 2009 at 2:26 AM, Freddie Cash wrote: > > > 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 =A0 =A0 =A0 =A0 Size =A0 =A0Used =A0 Avail Capacity =A0Mounte= d on >> /dev/ad12s1a =A0 =A0 =A0 =A015G =A0 =A01.0G =A0 =A0 13G =A0 =A0 7% =A0 = =A0/ >> devfs =A0 =A0 =A0 =A0 =A0 =A0 =A01.0K =A0 =A01.0K =A0 =A0 =A00B =A0 100%= =A0 =A0/dev >> linprocfs =A0 =A0 =A0 =A0 =A04.0K =A0 =A04.0K =A0 =A0 =A00B =A0 100% =A0= =A0/usr/compat/linux/proc >> tank/DATA =A0 =A0 =A0 =A0 =A01.8T =A0 =A0292G =A0 =A01.5T =A0 =A016% =A0= =A0/DATA >> tank/home =A0 =A0 =A0 =A0 =A01.5T =A0 =A0 =A00B =A0 =A01.5T =A0 =A0 0% = =A0 =A0/home >> tank/home/jago =A0 =A0 1.5T =A0 =A0128K =A0 =A01.5T =A0 =A0 0% =A0 =A0/h= ome/jago >> tank/home/karni =A0 =A01.5T =A0 =A0 =A00B =A0 =A01.5T =A0 =A0 0% =A0 =A0= /home/karni >> tank/usr/local =A0 =A0 1.5T =A0 =A0455M =A0 =A01.5T =A0 =A0 0% =A0 =A0/u= sr/local >> tank/usr/obj =A0 =A0 =A0 1.5T =A0 =A0 =A00B =A0 =A01.5T =A0 =A0 0% =A0 = =A0/usr/obj >> tank/usr/ports =A0 =A0 1.5T =A0 =A0412M =A0 =A01.5T =A0 =A0 0% =A0 =A0/u= sr/ports >> tank/usr/src =A0 =A0 =A0 1.5T =A0 =A0495M =A0 =A01.5T =A0 =A0 0% =A0 =A0= /usr/src >> tank/var/log =A0 =A0 =A0 1.5T =A0 =A0256K =A0 =A01.5T =A0 =A0 0% =A0 =A0= /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?=A0 Reserved s= pace > is not listed in the "general" pool. no custom options whatsoever were used during filesystem creation (except for mountpoints). - Dan