Hi,
I'm installing a new Seagate ST360021A 60GB hdd into my server for more
space. I'm running into some issues where I get an error message:
"disklabel: partition a: partition extends past end of unit"
There's got to be an easy fix to this, however, I can't see what I'm
doing wrong. :(
I've read the FAQ on www.openbsd.org and I've scoured the fdisk &
disklabel for clues ...I remain clueless. ;)
This seems like a common newbie issue, given Marc's entry on 02/08/2002.
At any rate, I've included my dmesg, fdisk wd3 and disklabel wd3
responses at the bottom of this.
Thanks to anyone with the patience to help me. :D
_____________________________________________________
OpenBSD 3.1 (GENERIC) #59: Sat Apr 13 15:28:52 MDT 2002
cpu0: AMD K6-2 ("AuthenticAMD" 586-class) 451 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem = 167292928 (163372K)
avail mem = 149241856 (145744K)
using 2067 buffers containing 8466432 bytes (8268K) of memory
mainbus0 (root)
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0: PCI Exclusive IRQs: 5 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C586 PCI-ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C597 Host-PCI" rev 0x04
ppb0 at pci0 dev 1 function 0 "VIA VT82C598 PCI-AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "VIA VT82C586 PCI-ISA" rev 0x41
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA33,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC AC24300L>
wd0: 16-sector PIO, LBA, 4112MB, 8912 cyl, 15 head, 63 sec, 8421840 sectors
wd1 at pciide0 channel 0 drive 1: <MAXTOR 6L080J4>
wd1: 16-sector PIO, LBA, 76345MB, 16383 cyl, 16 head, 63 sec, 156355584
sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd2 at pciide0 channel 1 drive 0: <WDC AC26400B>
wd2: 16-sector PIO, LBA, 6149MB, 13328 cyl, 15 head, 63 sec, 12594960
sectors
wd3 at pciide0 channel 1 drive 1: <ST360021A>
wd3: 16-sector PIO, LBA, 57241MB, 16383 cyl, 16 head, 63 sec, 117231408
sectors
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
wd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pchb1 at pci0 dev 7 function 3 "VIA VT82C586 Power Mgmt" rev 0x10
dc0 at pci0 dev 10 function 0 "Lite-On PNIC" rev 0x21: irq 12 address
00:a0:cc:50:3e:cf
lxtphy0 at dc0 phy 1: LXT970 10/100 media interface, rev. 0
de0 at pci0 dev 11 function 0 "DEC 21140" rev 0x22: irq 5
de0: 21140A [10-100Mb/s] pass 2.2 address 00:40:05:a1:89:95
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: 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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c440 netmask d460 ttymask d4e2
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
wd2: no disk label
dkcsum: wd2 matched BIOS disk 82
dkcsum: wd3 matched BIOS disk 83
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
de0: enabling 10baseT port
________________________________________________
# fdisk wd3
Disk: wd3 geometry: 1024/255/63 [16450560 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 - 1023 254 63 [ 63: 16450497 ] OpenBSD
_________________________________________________
# disklabel wd3
# using MBR partition 3: type A6 off 63 (0x3f) size 16450497 (0xfb03c1)
# /dev/rwd3c:
type: ESDI
disk: ESDI/IDE disk
label: ST360021A
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1024
total sectors: 16450560
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: 117226242 63 4.2BSD 1024 8192 16 # (Cyl. 0*-
7296)
c: 16450560 0 unused 0 0 # (Cyl. 0 -
1023)
disklabel: partition a: partition extends past end of unit
#