Or if I just have a munged partition? Background: Box is a Sun Fire T1000, running 4.5, used as a mirror for my various internal boxes. It was running OpenBSD shortly after the T1 gained support, and what with running snapshots to test and whatnot, has hung and had to fsck more times than I care to remember. It seems to have picked up some glitches, and still occasionally hangs, but recently I got this on the console:
OpenBSD/sparc64 (slash.dotslash.org.uk) (console) login: sd0(mpi0:0:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error INFO: 0x1408a08d (VALID flag on) ASC/ASCQ: Unrecovered Read Error sd0(mpi0:0:0): Check Condition (error 0x70) on opcode 0x2a SENSE KEY: Write Protected INFO: 0x1408a08d (VALID flag on) ASC/ASCQ: Write Protected OpenBSD/sparc64 (slash.dotslash.org.uk) (console) login: Does anyone know if this is likely to be a hardware fault, or if its just that one of my partitions has got errors on it somewhere that I could sort with a newfs? Upon logging in at the console, I get: login: root Password: Terminal type? [sun] /: create/symlink failed, no inodes free Segmentation fault slash:~# I'm guessing this might be related? Nothing is full, but I don't know how to check where all my inodes went... slash:~# df -h Filesystem Size Used Avail Capacity Mounted on /dev/sd0a 492M 156M 311M 33% / /dev/sd0g 9.8G 4.1G 5.3G 44% /home /dev/sd0e 1005M 6.0K 955M 0% /tmp /dev/sd0f 4.9G 2.4G 2.3G 52% /usr /dev/sd0h 9.8G 22.5M 9.3G 0% /var /dev/sd0i 875G 563G 269G 68% /var/www/htdocs slash:~# I suspect someone will be able to tell me what dumb thing I've done, but if not I guess I'll just have to try a wipe and reinstall, which will be a PITA as there's half a terabyte of mirrors I'll have to rebuild. Oh well :-) Ta, Dave W -- slash:~# dmesg console is /virtual-devi...@100/cons...@1 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2009 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.5-current (GENERIC.MP) #53: Sat Apr 25 23:09:21 MDT 2009 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP real mem = 17171480576 (16376MB) avail mem = 16805044224 (16026MB) mainbus0 at root: Sun Fire(TM) T1000 cpu0 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu1 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu2 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu3 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu4 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu5 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu6 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu7 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu8 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu9 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu10 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu11 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu12 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu13 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu14 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu15 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu16 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu17 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu18 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu19 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu20 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu21 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu22 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu23 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu24 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu25 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu26 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu27 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu28 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu29 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu30 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz cpu31 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz vbus0 at mainbus0 "nvram" at vbus0 not configured "flashprom" at vbus0 not configured vcons0 at vbus0: ivec 0x111 "ncp" at vbus0 not configured vrtc0 at vbus0 "loop" at vbus0 not configured "loop" at vbus0 not configured "echo" at vbus0 not configured "fma" at vbus0 not configured "sunvts" at vbus0 not configured "sunmc" at vbus0 not configured "explorer" at vbus0 not configured "led" at vbus0 not configured vpci0 at mainbus0: bus 2 to 2, dvma map 80000000-ffffffff pci0 at vpci0 vpci1 at mainbus0: bus 2 to 4, dvma map 80000000-ffffffff pci1 at vpci1 ppb0 at pci1 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xb3 pci2 at ppb0 bus 3 extent `ppb0 pciio' (0x0 - 0xffffffff), flags=0 0x1000 - 0xffffffff extent `ppb0 pcimem' (0x0 - 0xffffffff), flags=0 0x0 - 0xfffff 0x110000 - 0x12ffff 0x200000 - 0x20ffff 0x400000 - 0x40ffff 0x600000 - 0xffffffff bge0 at pci2 dev 4 function 0 "Broadcom BCM5714" rev 0xa2, BCM5715 A1 (0x9001): ivec 0x7d4, address 00:14:4f:2c:f7:e2 brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 bge1 at pci2 dev 4 function 1 "Broadcom BCM5714" rev 0xa2, BCM5715 A1 (0x9001): ivec 0x7d5, address 00:14:4f:2c:f7:e3 brgphy1 at bge1 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 ppb1 at pci2 dev 8 function 0 "ServerWorks HT-1000 PCIX" rev 0xb3 pci3 at ppb1 bus 4 extent `ppb1 pciio' (0x0 - 0xffffffff), flags=0 0x1000 - 0xffffffff extent `ppb1 pcimem' (0x0 - 0xffffffff), flags=0 0x0 - 0x60ffff 0x800000 - 0x80ffff 0xa00000 - 0xa03fff 0xa10000 - 0xa1ffff 0xe00000 - 0xffffffff bge2 at pci3 dev 1 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): ivec 0x7c2, address 00:14:4f:2c:f7:e4 brgphy2 at bge2 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 bge3 at pci3 dev 1 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): ivec 0x7c1, address 00:14:4f:2c:f7:e5 brgphy3 at bge3 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 mpi0 at pci3 dev 2 function 0 "Symbios Logic SAS1064" rev 0x02: ivec 0x7c0 scsibus0 at mpi0: 63 targets sd0 at scsibus0 targ 0 lun 0: <ATA, ST31000340AS, SD1A> SCSI3 0/direct fixed sd0: 953869MB, 512 bytes/sec, 1953525168 sec total ebus0 at mainbus0 com0 at ebus0 addr c2c000-c2c007 ivec 0xa: st16650, 32 byte fifo softraid0 at root bootpath: /p...@7c0,0/p...@0,0/p...@8,0/s...@2,0/d...@0,0 root on sd0a swap on sd0b dump on sd0b WARNING: clock gained 3 days -- CHECK AND RESET THE DATE! sd0(mpi0:0:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error INFO: 0x1408a08d (VALID flag on) ASC/ASCQ: Unrecovered Read Error sd0(mpi0:0:0): Check Condition (error 0x70) on opcode 0x2a SENSE KEY: Write Protected INFO: 0x1408a08d (VALID flag on) ASC/ASCQ: Write Protected uid 0 on /: out of inodes