From owner-freebsd-stable@FreeBSD.ORG Sat Jun 14 07:10:26 2008 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 0F10D106567C for ; Sat, 14 Jun 2008 07:10:26 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id 9BC1C8FC16 for ; Sat, 14 Jun 2008 07:10:25 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (localhost [127.0.0.1]) by mail.ismobile.com (Postfix) with ESMTP id 5EE4F33C02 for ; Sat, 14 Jun 2008 09:10:24 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed; d=ismobile.com; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition; q=dns/txt; s=selector1; bh=txRjKr10eFk0WmXYuq9yKrC3sNE=; b=UncMGxzMCFCxWj0P1PQ81iz3Sx/EvqJMeDTMc7HdQPqDJu4hzoIAaA9IrwEaX6KWkDAippUIttU+5ccmrT041XpuXp+QO14SzQHz6Osm3GFTqAc7MDaoGw7hSRR2+SvhIZUz6h6OkSvloz5IEfnlRR+EwYPkiE8fw4ZPklkiu50= Received: from [10.255.253.2] (modgunn.iii-norr.com [213.242.135.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id 3EFF233C01 for ; Sat, 14 Jun 2008 09:10:24 +0200 (CEST) Date: Sat, 14 Jun 2008 09:10:23 +0200 From: Goran Lowkrantz To: freebsd-stable@freebsd.org Message-ID: In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: Unusually large directory - 2.0 peta bytes (SOLVED) 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, 14 Jun 2008 07:10:26 -0000 The initial fsck didn't clear it but using fsdb to remove the entry from=20 the parent directory, an fsck -y /usr in singleuser cleard the problem. Thanks to Joseph Koshy for directing me to fsdb. Cheers, G=F6ran --On Saturday, June 14, 2008 07:17 +0200 Goran Lowkrantz=20 wrote: > While preparing to upgrade to latest stable, I ran some scripts to verify > that the target was OK and found something that I think I need to fix but > have no clue to how. > > This is the essence of what I found: > ># ls /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/PerlIO/* > autosplit.ix ># ls -la /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/PerlIO/* > ls: : No such file or directory > ls: autosplit.ix: No such file or directory > total 8 > drwxr-xr-x 2 root wheel 2251799813685760 Jun 14 04:06 . > drwxr-xr-x 2 root wheel 2251799813685760 Jun 14 04:06 . > drwxr-xr-x 24 root wheel 512 Mar 29 10:33 .. > drwxr-xr-x 24 root wheel 512 Mar 29 10:33 .. ># stat /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/PerlIO > 163 5229427 drwxr-xr-x 2 root wheel 20894350 2251799813685760 "Jun 14 > 07:07:43 2008" "Jun 14 04:06:44 2008" "Jun 14 04:06:44 2008" "Mar 29 > 10:33:10 2008" 4096 4 0 > /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/PerlIO ># stat ># /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/PerlIO/autosplit.ix > stat: > /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/PerlIO/autosplit.ix: > stat: No such file or directory ># od -c /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/PerlIO | more > 0000000 s 313 O \0 \f \0 004 001 . \0 \0 \0 1 313 O \0 > 0000020 364 001 004 002 . . \0 \0 t 313 O \0 024 \0 \b \t > 0000040 P e r l I O . s o \0 217 300 u 313 O \0 > 0000060 324 001 \b \t P e r l I O . b s \0 217 300 > 0000100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0001000 \0 \0 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > 0001020 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0002000 \0 \0 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > 0002020 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0003000 \0 \0 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > 0003020 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0004000 v 313 O \0 \f \0 004 001 . \0 \0 \0 335 312 O \0 > 0004020 \f \0 004 002 . . \0 \0 w 313 O \0 350 001 \b \f > 0004040 a u t o s p l i t . i x \0 231 - 351 > 0004060 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0005000 \0 \0 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > 0005020 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0006000 \0 \0 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > 0006020 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0007000 \0 \0 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > 0007020 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0010000 177 E L F 001 001 001 \t \0 \0 \0 \0 \0 \0 \0 \0 > 0010020 003 \0 003 \0 001 \0 \0 \0 240 \t \0 \0 4 \0 \0 \0 > 0010040 330 025 \0 \0 \0 \0 \0 \0 4 \0 \0 003 \0 ( \0 > > > This does not look like a directory, it looks like a shared library, > PerlIO.so, that somehow got the directory bit set. > > First, am I correct in my analysis? > Second, how do I remove the directory bit so I can delete the file? > > Host info, dmesg.boot attached: ># uname -a > FreeBSD balder.glz.hidden-powers.com 6.3-STABLE FreeBSD 6.3-STABLE #1: > Thu Feb 28 02:14:05 CET 2008 > root@midgard.glz.hidden-powers.com:/usr/obj/usr/src/sys/BALDER i386 > > > Cheers, > G=F6ran > > > ................................................... the future isMobile > > Goran Lowkrantz > System Architect, isMobile AB > Sandviksgatan 81, PO Box 58, S-971 03 Lule=E5, Sweden > Mobile: +46(0)70-587 87 82 > http://www.ismobile.com ............................................... ................................................... the future isMobile Goran Lowkrantz System Architect, isMobile AB Sandviksgatan 81, PO Box 58, S-971 03 Lule=E5, Sweden Mobile: +46(0)70-587 87 82 http://www.ismobile.com ...............................................