On Thu, Mar 27, 2008 at 08:06:02AM -0400, K.R. (Randy) Lewis wrote: > I was happily building a butt-load of 'ports', on my new 4.3 MP system > and then BAM! No space. > > Here's where it went in the woods: > --- > . > . building, and building, and building... > . > . > Link to /usr/ports/packages/i386/cdrom/python-expat-2.4.4p6.tgz > ===> Verifying specs: ssl panel m crypto c util z readline pthread > ncurses stdc++ > ===> found ssl.11.0 panel.3.0 m.2.3 crypto.13.0 c.43.0 util.11.0 z.4.1 > readline.3.0 pthread.9.0 ncurses.10.0 stdc++.44.0 > ===> Installing python-2.4.4p6 from /usr/ports/packages/i386/all/ > Error: /dev/sd0a is not large enough (/var/db/pkg/python-2.4.4p6/+DESC) > Error: /dev/sd0a is not large enough (/var/db/pkg/python-2.4.4p6/+DISPLAY) > Error: /dev/sd0a is not large enough (/var/db/pkg/python-2.4.4p6/+UNDISPLAY) > Error: ... more files do not fit on /dev/sd0a > /dev/sd0a: 19414100 bytes (missing 9.12805682554186e+18 blocks) > <----- WHAT ?? > /usr/sbin/pkg_add: fatal issues in installing python-2.4.4p6 > *** Error code 1 > . > --- > I checked, just to be sure: > --- > Stop in /usr/ports/devel/bzr (line 1422 of > /usr/ports/infrastructure/mk/bsd.port.mk). > srv0e# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/sd0a 34597155706896682 523203028984004608 > -8567816068771348469 6% / > srv0e# reboot > . > . > On reboot, ran fsck (multiple times) with no real issues or joy...
Looks like your userland is out of sync. -Otto > --- > srv0e# reboot > > Last login: Wed Mar 26 19:45:16 2008 > OpenBSD 4.3-current (GENERIC.MP) #0: Wed Mar 26 19:32:09 EDT 2008 > > Welcome to OpenBSD: The proactively secure Unix-like operating system. > > Please use the sendbug(1) utility to report bugs in the system. > Before reporting a bug, please try to reproduce it with the latest > version of the code. With bug reports, please try to ensure that > enough information to reproduce the problem is enclosed, and if a > known fix for it exists, include that as well. > > Terminal type? [vt220] > # df > Filesystem 512-blocks Used Avail Capacity Mounted on > /dev/sd0a 69154144879641172 1046446224502161408 > -9097604751498936309 6% / > # disklabel sd0 > # Inside MBR partition 3: type A6 start 63 size 286213977 > # /dev/rsd0c: > type: SCSI > disk: SCSI disk > label: Host drive #00 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 17816 > total sectors: 286220288 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # microseconds > track-to-track seek: 0 # microseconds > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > a: 277812045 8401995 4.2BSD 2048 16384 1 > b: 8401932 63 swap > c: 286220288 0 unused 0 0 > # > --- NOTE to all: The above logical disk is made up of three (3) 73GB > Ultra-160 SCSI drives > mounted, configured with the AMI RAID > BIOS, formatted and OpenBSD > installed / working great for many weeks. > It is a RAID5 array, hence the one > partition + swap. There was NEVER a hint > of anything wrong until this failure. > . > At the worst, I can see these kinds of > (seemingly minor) error on the file system, > but cannot understand the HUGE space being > used/lost... > . > No label changes. > # df > Filesystem 512-blocks Used Avail Capacity Mounted on > /dev/sd0a 69154144879641172 1046446224502161408 > -8557419086819098613 6% / > # fsck > ** /dev/rsd0a (NO WRITE) > ** Last Mounted on / > ** Root file system > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > UNREF FILE I=2000769 OWNER=_mysql MODE=100600 > SIZE=0 MTIME=Mar 27 07:24 2008 > CLEAR? no > > UNREF FILE I=2000770 OWNER=_mysql MODE=100600 > SIZE=0 MTIME=Mar 27 07:24 2008 > CLEAR? no > > UNREF FILE I=2000945 OWNER=_mysql MODE=100600 > SIZE=0 MTIME=Mar 27 07:24 2008 > CLEAR? no > > UNREF FILE I=2000949 OWNER=_mysql MODE=100600 > SIZE=0 MTIME=Mar 27 07:24 2008 > CLEAR? no > > UNREF FILE I=2001365 OWNER=_mysql MODE=100600 > SIZE=0 MTIME=Mar 27 07:24 2008 > CLEAR? no > > ** Phase 5 - Check Cyl groups > 436029 files, 4025301 used, 64328896 free (8304 frags, 8040074 blocks, > 0.0% fragmentation) > # > > Any Ideas what could have gone wrong? > > Randy > > -- > > > > > DMESG or completely rebuilt from sources (just to be sure kernel & > userland are in synch), of course, follows: > --- > # dmesg > OpenBSD 4.3-current (GENERIC.MP) #0: Wed Mar 26 19:32:09 EDT 2008 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP > cpu0: Intel Pentium III ("GenuineIntel" 686-class) 1 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE > real mem = 1073250304 (1023MB) > avail mem = 1029685248 (981MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 08/17/01, BIOS32 rev. 0 @ 0xffe90, > SMBIOS rev. 2.3 @ 0xfb100 (55 entries) > bios0: vendor Dell Computer Corporation version "A06" date 08/17/2001 > bios0: Dell Computer Corporation PowerEdge 1550/1000 > acpi0 at bios0: rev 0 > acpi0: tables DSDT FACP APIC > acpi0: wakeup devices PCI0(S5) PCI2(S5) > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 1 (boot processor) > cpu0: apic clock running at 132MHz > cpu1 at mainbus0: apid 0 (application processor) > cpu1: Intel Pentium III ("GenuineIntel" 686-class) 1 GHz > cpu1: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 16 pins > ioapic0: misconfigured as apic 0, remapped to apid 2 > ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins > ioapic1: misconfigured as apic 0, remapped to apid 3 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (PCI1) > acpiprt2 at acpi0: bus 4 (PCI2) > acpicpu0 at acpi0 > acpicpu1 at acpi0 > bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1400 > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23 > pci1 at pchb0 bus 1 > ppb0 at pci1 dev 4 function 0 "DEC 21154 PCI-PCI" rev 0x05 > pci2 at ppb0 bus 2 > ppb1 at pci2 dev 0 function 0 "DEC 21154 PCI-PCI" rev 0x05 > pci3 at ppb1 bus 3 > ami0 at pci3 dev 0 function 0 "AMI MegaRAID" rev 0x20: apic 3 int 9 (irq 5) > ami0: Dell PERC3/DC, 64b/lhc, FW 1.57, BIOS v3.13, 128MB RAM > ami0: 2 channels, 0 FC loops, 1 logical drives > scsibus0 at ami0: 40 targets > sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed > sd0: 139756MB, 17816 cyl, 255 head, 63 sec, 512 bytes/sec, 286220288 sec > total > scsibus1 at ami0: 16 targets > safte0 at scsibus1 targ 6 lun 0: <DELL, 1x3 U2W SCSI BP, 1.21> SCSI2 > 3/processor fixed > scsibus2 at ami0: 16 targets > "QLogic ISP12160" rev 0x06 at pci2 dev 1 function 0 not configured > pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01 > pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01 > pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01 > pci4 at pchb3 bus 4 > ahc0 at pci4 dev 5 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 3 > int 11 (irq 3) > scsibus3 at ahc0: 16 targets > ahc1 at pci4 dev 5 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 3 > int 12 (irq 11) > scsibus4 at ahc1: 16 targets > ubsec0 at pci4 dev 6 function 0 "Broadcom 5820" rev 0x10: 3DES MD5 SHA1 > RNG PK, apic 3 int 13 (irq 10) > fxp0 at pci0 dev 1 function 0 "Intel 8255x" rev 0x08, i82559: apic 3 int > 0 (irq 11), address 00:06:5b:05:a2:d8 > inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 > fxp1 at pci0 dev 2 function 0 "Intel 8255x" rev 0x08, i82559: apic 3 int > 1 (irq 10), address 00:06:5b:05:a2:d9 > inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4 > vga1 at pci0 dev 3 function 0 "ATI Rage XL" rev 0x27 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > piixpm0 at pci0 dev 15 function 0 "ServerWorks OSB4" rev 0x50: SMI > iic0 at piixpm0 > admtemp0 at iic0 addr 0x18: max1617 > lmenv0 at iic0 addr 0x2c: lm81 rev 3 > lmenv1 at iic0 addr 0x2d: lm81 rev 3 > lmenv2 at iic0 addr 0x2e: lm81 rev 3 > maxtmp0 at iic0 addr 0x4c: max6657 > lmtemp0 at iic0 addr 0x4d: lm75 > iic0: addr 0x4e 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 > words 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000 > 08=0000 09=0000 0a=0000 0b=0000 0c=0000 0d=0000 0e=0000 0f=0000 > spdmem0 at iic0 addr 0x50: unknown memory type 208 > spdmem1 at iic0 addr 0x51: unknown memory type 208 > spdmem2 at iic0 addr 0x52: unknown memory type 208 > spdmem3 at iic0 addr 0x53: unknown memory type 208 > spdmem4 at iic0 addr 0x54: unknown memory type 208 > spdmem5 at iic0 addr 0x55: unknown memory type 208 > spdmem6 at iic0 addr 0x56: unknown memory type 208 > spdmem7 at iic0 addr 0x57: unknown memory type 208 > pciide0 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x00: DMA > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus5 at atapiscsi0: 2 targets > cd0 at scsibus5 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, q009> SCSI0 > 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 > isa0 at mainbus0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > pckbc0: using irq 12 for aux slot > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > midi0 at pcppi0: <PC speaker> > spkr0 at pcppi0 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec > mtrr: Pentium Pro MTRR support > softraid0 at root > root on sd0a swap on sd0b dump on sd0b > # > > [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a > name of randy.18317DEFANGED-vcf]