From owner-freebsd-questions@FreeBSD.ORG Tue Oct 19 09:10:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CC0A1065670 for ; Tue, 19 Oct 2010 09:10:11 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id C56A38FC1B for ; Tue, 19 Oct 2010 09:10:10 +0000 (UTC) Received: by qwe4 with SMTP id 4so1404576qwe.13 for ; Tue, 19 Oct 2010 02:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=kc+sNyu3ul9Bzv4dsF/rTYvDi/lGwrGPl0wCodXQvi4=; b=Z2df4NlpEE1eDIb+CwviSnuJnNSgzsK3VZGQeQUA9tsLzzZB2JGOIzSnnNw0PQEWIp X3UfX2JoyuOtZved5WS/WIsJ/efkSw+gl3sC3L26m9NWmayp3DyyWrPpAoO3TlTuWeQD I9C4+DBbakbFHCEk8QvL9JfuO0FEUNWNiQgCo= 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 :content-type; b=cRhbEir5bHjFczOfN50WZG+ryOD2FtbL7DxT4XBgeIFwC2N21gSzhLEBsNxUJhDIVX TOZns0yu4HHBBjNcZ2jTxEwl9VBOVr1HL4C3a74s54PFqmdKvjUeNp11S0jOzFe58SZx Pp50EwYja73ZqwDRKRMJf2EK2Jhz35/C1aOCQ= MIME-Version: 1.0 Received: by 10.229.225.130 with SMTP id is2mr4898944qcb.263.1287479409902; Tue, 19 Oct 2010 02:10:09 -0700 (PDT) Received: by 10.229.215.209 with HTTP; Tue, 19 Oct 2010 02:10:09 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 Oct 2010 10:10:09 +0100 Message-ID: From: krad To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: potential df issues in 8-stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 09:10:11 -0000 On 19 October 2010 10:00, krad wrote: > Just updated my system last night to 8-stable. Now im seeing a minor issue > with df in that it doesnt output anything. I'm a pure zfs based system. > > # df -h > # > > # zfs list | grep system > system 106G 37.2G 23K /system > system/be 31.6G 37.2G 31K /system/be > system/be/root20100405 2.52G 37.2G 1.70G legacy > system/be/root20100427 3.32G 37.2G 1.71G legacy > system/be/root20100503 2.42G 37.2G 1.72G legacy > system/be/root20100516 2.55G 37.2G 1.72G legacy > system/be/root20100625 2.70G 37.2G 1.86G legacy > system/be/root20100720 2.71G 37.2G 1.72G legacy > system/be/root20100726 2.53G 37.2G 1.72G > /system/be/root20100726 > system/be/root20100825 2.57G 37.2G 1.73G legacy > system/be/root20100914 2.57G 37.2G 1.73G legacy > system/be/root20100921 2.56G 37.2G 1.73G legacy > system/be/root20101002 2.57G 37.2G 1.73G legacy > system/be/root20101019 2.57G 37.2G 1.73G legacy > system/clang 1.25G 37.2G 1.25G /system/clang > system/home 58.9G 37.2G 58.9G /home > system/scripts 489K 37.2G 78K > /usr/local/scripts > system/squid 542M 1.47G 542M > /usr/local/squid/ > system/test 19K 37.2G 19K legacy > system/test2 1G 38.2G 472K - > system/tmp 38K 4.00G 38K /tmp > system/usr-local 4.99G 37.2G 1.81G /usr/local > system/usr-obj 2.89G 37.2G 2.69G /usr/obj > system/usr-ports 1.92G 37.2G 878M /usr/ports > system/usr-ports/distfiles 1.06G 37.2G 1.06G > /usr/ports/distfiles > system/usr-src 631M 37.2G 310M /usr/src > system/var 1.80G 37.2G 875M /var > system/var/log 922M 37.2G 582M /var/log > system/var/mysql 50.7M 37.2G 50.7M /var/db/mysql > > > UFS is ok though > > > # zfs create -V 1G system/test2 > # newfs /dev/zvol/system/test2 > /dev/zvol/system/test2: 1024.0MB (2097152 sectors) block size 16384, > fragment size 2048 > using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376416, 752672, 1128928, 1505184, 1881440 > # mount /dev/zvol/system/test2 /mnt/ > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/zvol/system/test2 989M 4.0K 910M 0% /mnt > > > it looks like df is finding the zfs file systems > > truss df > ---->8 > > system 37G 23K 37G 0% > /system > write(1,"system "...,79) = 79 (0x4f) > system/be 37G 31K 37G 0% > /system/be > write(1,"system/be "...,82) = 82 (0x52) > system/be/root20100726 39G 1.7G 37G 4% > /system/be/root20100726 > write(1,"system/be/root20100726 "...,95) = 95 (0x5f) > system/clang 38G 1.2G 37G 3% > /system/clang > write(1,"system/clang "...,85) = 85 (0x55) > system/tmp 4.0G 38K 4.0G 0% /tmp > write(1,"system/tmp "...,76) = 76 (0x4c) > system/usr-local 39G 1.8G 37G 5% > /usr/local > write(1,"system/usr-local "...,82) = 82 (0x52) > system/scripts 37G 78K 37G 0% > /usr/local/scripts > > ---->8 > > anyone else having these issues? > > FreeBSD carrera 8.1-STABLE FreeBSD 8.1-STABLE #326: Tue Oct 19 04:47:55 BST > 2010 root@carrera:/usr/obj/usr/src/sys/me amd64 > # ls -l /bin/sh > -r-xr-xr-x 1 root wheel 132832 Oct 19 09:19 /bin/sh > > > > > > hmm # df -t zfs df: only one -t option may be specified # df -t ufs df: only one -t option may be specified # df -t devfs df: only one -t option may be specified