Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2008 07:17:56 +0200
From:      Goran Lowkrantz <goran.lowkrantz@ismobile.com>
To:        freebsd-stable@freebsd.org
Subject:   Unusually large directory - 2.0 peta bytes
Message-ID:  <A5C7E718EA9AEAAB810F0E8E@[10.255.253.2]>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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öran


................................................... the future isMobile

  Goran Lowkrantz <goran.lowkrantz@ismobile.com>
  System Architect, isMobile AB
  Sandviksgatan 81, PO Box 58, S-971 03 Luleå, Sweden
  Mobile: +46(0)70-587 87 82
http://www.ismobile.com ...............................................
[-- Attachment #2 --]
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
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
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (3066.67-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf49  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x651d<SSE3,RSVD2,MON,DS_CPL,TM2,CNXT-ID,CX16,xTPR>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Logical CPUs per core: 2
real memory  = 3346198528 (3191 MB)
avail memory = 3269894144 (3118 MB)
ACPI APIC Table: <INTEL  D915GAV >
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ichwd module loaded
hptrr: HPT RocketRAID controller driver v1.1 (Feb 28 2008 02:13:36)
acpi0: <INTEL D915GAV> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
agp0: <Intel 82915G (915G GMCH) SVGA controller> port 0xec00-0xec07 mem 0xff480000-0xff4fffff,0xd0000000-0xdfffffff,0xff440000-0xff47ffff irq 16 at device 2.0 on pci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci5: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0x9c00-0x9c1f mem 0xff600000-0xff61ffff,0xff620000-0xff63ffff irq 16 at device 0.0 on pci5
em0: Using MSI interrupt
em0: Ethernet address: 00:1b:21:00:48:c4
pcib3: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pci4: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 28.3 on pci0
pci2: <ACPI PCI bus> on pcib5
uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0xc800-0xc81f irq 23 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0xcc00-0xcc1f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port 0xd000-0xd01f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> port 0xd400-0xd41f irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci6: <ACPI PCI bus> on pcib6
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xb800-0xb8ff mem 0xff590000-0xff590fff irq 21 at device 0.0 on pci6
ahc0: [GIANT-LOCKED]
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
rp0: <RocketPort PCI> port 0xbc00-0xbc3f irq 22 at device 1.0 on pci6
RocketPort0 (Version 3.02) 4 ports.
rp1: <RocketPort PCI> port 0xb400-0xb43f irq 18 at device 2.0 on pci6
RocketPort1 (Version 3.02) 4 ports.
atapci0: <SiI SiI 3114 SATA150 controller> port 0xb000-0xb007,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa00f mem 0xff591000-0xff5913ff irq 19 at device 3.0 on pci6
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH6 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
atapci2: <Intel ICH6 SATA150 controller> port 0xe800-0xe807,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd80f irq 19 at device 31.2 on pci0
ata6: <ATA channel 0> on atapci2
ata7: <ATA channel 1> on atapci2
ichsmb0: <Intel 82801FB (ICH6) SMBus controller> port 0xc400-0xc41f irq 19 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
pmtimer0 on isa0
ichwd0: <Intel 82801FB/FR watchdog timer> on isa0
ichwd0: Intel 82801FB/FR watchdog timer (ICH6 or equivalent)
orm0: <ISA Option ROMs> at iomem 0xcb000-0xcb7ff,0xcb800-0xd07ff on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 3066669235 Hz quality 800
Timecounters tick every 1.000 msec
hptrr: no controller detected.
Waiting 5 seconds for SCSI devices to settle
acd0: CDROM <MATSHITA CR-585/ZS15> at ata0-master PIO3
ad4: 239372MB <Maxtor 6B250S0 BANC1B70> at ata2-master SATA150
ad6: 238475MB <Seagate ST3250620AS 3.AAE> at ata3-master SATA150
ad8: 239372MB <Maxtor 6B250S0 BANC1B70> at ata4-master SATA150
ad10: 238475MB <Seagate ST3250620AS 3.AAE> at ata5-master SATA150
ad12: 76319MB <SAMSUNG HD080HJ ZH100-47> at ata6-master SATA150
ad14: 76351MB <SAMSUNG SP0812C SU100-30> at ata7-master SATA150
GEOM_MIRROR: Device gm0s1 created (id=1816524362).
GEOM_MIRROR: Device gm0s1: provider ad12s1 detected.
GEOM_MIRROR: Device gm0s1: provider ad14s1 detected.
GEOM_MIRROR: Device gm0s1: provider ad14s1 activated.
GEOM_MIRROR: Device gm0s1: provider ad12s1 activated.
GEOM_MIRROR: Device gm0s1: provider mirror/gm0s1 launched.
GEOM_LABEL: Label for provider ad4s1a is ufs/dump1.
GEOM_LABEL: Label for provider ad6s1a is ufs/dump2.
GEOM_LABEL: Label for provider ad8s1a is ufs/dump3.
GEOM_LABEL: Label for provider ad10s1a is ufs/dump4.
sa0 at ahc0 bus 0 target 6 lun 0
sa0: <DEC TZ885    (C) DEC CD50> Removable Sequential Access SCSI-2 device 
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
ch0 at ahc0 bus 0 target 6 lun 1
ch0: <DEC TZ Media Changer CD50> Removable Changer SCSI-2 device 
ch0: 10.000MB/s transfers (10.000MHz, offset 15)
ch0: 5 slots, 1 drive, 1 picker, 0 portals
Trying to mount root from ufs:/dev/mirror/gm0s1a
em0: link state changed to UP

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5C7E718EA9AEAAB810F0E8E>