[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ami RAID-1 size incorrect



I've updated to the most recent (as of this morning) kernel and I noticed sd0 on my MegaRAID (it's a Dell pull, PERC-2DC I think, LSI called it an Elite1500) reports twice the proper size, I have two 36GB Cheetahs in a RAID-1 and dmesg, fdisk and disk label report 69GB.

Thanks,

Dustin Lundquist


dmesg; fdisk sd0; disklabel sd0:

OpenBSD 3.7-current (GENERIC.MP) #55: Sun Apr 3 13:31:07 MDT 2005
deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 449 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem = 670605312 (654888K)
avail mem = 604336128 (590172K)
using 4278 buffers containing 33632256 bytes (32844K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(28) BIOS, date 06/28/00, BIOS32 rev. 0 @ 0xfd83c
pcibios0 at bios0: rev 2.1 @ 0xfd740/0x8c0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 9
pcibios0: PCI Interrupt Router at 000:04:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xc8800/0xe00
mainbus0: Intel MP Specification (Version 1.4) (HP LPr )
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 99 MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 449 MHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX" rev 0x03
pcib0 at pci0 dev 4 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 4 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E, 1.5A> SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 4 function 2 "Intel 82371AB USB" rev 0x01: apic 2 int 19 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 4 function 3 not configured
ppb0 at pci0 dev 7 function 0 "DEC 21152 PCI-PCI" rev 0x03
pci1 at ppb0 bus 1
ppb1 at pci1 dev 2 function 0 "Intel i960 RN PCI-PCI" rev 0x01
pci2 at ppb1 bus 2
ami0 at pci1 dev 2 function 1 "Intel 80960RP ATU" rev 0x01: apic 2 int 18 (irq 15) Dell 467/32b
ami0: FW 1.01, BIOS v1p00, 64MB RAM
ami0: 2 channels, 16 targets, 1 logical drives
scsibus1 at ami0: 1 targets
sd0 at scsibus1 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed
sd0: 69356MB, 8841 cyl, 255 head, 63 sec, 512 bytes/sec, 142041088 sec total
fxp0 at pci1 dev 3 function 0 "Intel 82557" rev 0x05, i82558: apic 2 int 19 (irq 11), address 00:90:27:87:46:1f
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
siop0 at pci1 dev 4 function 0 "Symbios Logic 53c895" rev 0x01: apic 2 int 18 (irq 15), using 4K of on-board RAM
scsibus2 at siop0: 16 targets
vga1 at pci0 dev 13 function 0 "Cirrus Logic CL-GD5446" rev 0x45
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pccom2 at isa0 port 0x3e8/8 irq 5: 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
biomask 0 netmask 0 ttymask 0
ioapic0: pin 19 shares different IPL interrupts (40..50), degraded performance
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
Disk: sd0 geometry: 8841/255/63 [142030665 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 1 - 8840 254 63 [ 63: 142030602 ] OpenBSD
# /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: 8841
total sectors: 142041088
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: 530082 63 4.2BSD 2048 16384 32 # Cyl 0*- 32
b: 2104515 530145 swap # Cyl 33 - 163
c: 142041088 0 unused 0 0 # Cyl 0 - 8841*
d: 2104515 2634660 4.2BSD 2048 16384 132 # Cyl 164 - 294
e: 4192965 4739175 4.2BSD 2048 16384 264 # Cyl 295 - 555
f: 4192965 8932140 4.2BSD 2048 16384 264 # Cyl 556 - 816
g: 530145 13125105 4.2BSD 2048 16384 33 # Cyl 817 - 849
h: 20964825 13655250 4.2BSD 2048 16384 328 # Cyl 850 - 2154
i: 20964825 34620075 4.2BSD 2048 16384 328 # Cyl 2155 - 3459




Visit your host, monkey.org