From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 02:14:56 2009 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 053CA1065672 for ; Tue, 8 Sep 2009 02:14:56 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id CD5868FC13 for ; Tue, 8 Sep 2009 02:14:55 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MkqER-0004gO-2H for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 19:14:55 -0700 Message-ID: <25338956.post@talk.nabble.com> Date: Mon, 7 Sep 2009 19:14:55 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> <25325443.post@talk.nabble.com> <20090907091442.f011d137.freebsd@edvax.de> <25334820.post@talk.nabble.com> <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Inconsistency in root partition size 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, 08 Sep 2009 02:14:56 -0000 Mel Flynn-2 wrote: > > On Monday 07 September 2009 20:54:51 jaymax wrote: > > Did you do the du without anything mounted? Cause you have the df output > with > mounts. > If you can't find the missing space, then I suggest making a backup of / > with > dump(8), booting from livefs and restoring the dump. The dump should not > be in > the 390M range, rather in the 40-50M range. > Disconnected my drives, except for system root, then du is not found mach_1# whereis du > du: /usr/bin/du /usr/share/man/man1/du.1.gz /usr/src/usr.bin/du > could have done a 'umount' but results would have been the same, so I think. Did a backup (dump) of /, file produced in 400Mb range dump -0Lauf /disk03/dump/root2.dump /dev/ad0s1a dumpfile size > mach_1# ls -l /disk03/dump/root2.dump > -rw-r--r-- 1 root wheel 426956800 Sep 7 16:31 /disk03/dump/root2.dump > > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 507630 407754 59266 87% / > Compared with > du -xhc / > 44M total > So I decided to do a listing of files in the dump > restore -tf /disk03/dump/root2.dump > rootrestore-0.lst > To my surprise rootrestore-0.lst contains a whole listings of ./usr/ files ex. > 2926 ./usr/include/bsnmp/snmpmod.h > 2927 ./usr/include/bsnmp/snmp_atm.h > Now /usr is on a separate and distinct partition > /dev/ad0s1f 36205990 25765232 7544280 77% /usr > Hope someone can make some sense of this. -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25338956.html Sent from the freebsd-questions mailing list archive at Nabble.com.