Greetings misc@,
I am having trouble working with my disklabel on my Sparc64 machine. I
was able to set up the partitions correctly when I initially installed,
but now I am unable to add partitions past a certain point. Here is my
current partition configuration:
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 490M 28.0M 437M 6% /
/dev/wd0d 19.3G 7.3G 11.1G 40% /home
/dev/wd0e 490M 136M 330M 29% /tmp
/dev/wd0f 490M 240M 226M 51% /usr
/dev/wd0g 982M 100M 833M 11% /usr/local
/dev/wd0h 982M 4.2M 929M 0% /usr/obj
/dev/wd0i 982M 581M 352M 62% /usr/src
/dev/wd0j 2.0G 43.0M 1.8G 2% /var
/dev/wd0l 7.8G 170M 7.2G 2% /var/www
colossus:/storage 36.7G 34.2G 642M 98% /storage
colossus:/storage2 73.4G 48.9G 20.8G 70% /storage2
Here is the disklabel output:
device: /dev/rwd0c
type: ESDI
disk: ESDI/IDE disk
label: IC35L040AVER07-0
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 16514064
free sectors: 14465808
rpm: 3600
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1024128 0 4.2BSD 2048 16384 16 # Cyl 0
- 1015
b: 1024128 1024128 swap # Cyl 1016
- 2031
c: 80418240 0 unused 0 0 # Cyl 0
- 79779
d: 41191920 2048256 4.2BSD 2048 16384 16 # Cyl 2032
- 42896
e: 1024128 43240176 4.2BSD 2048 16384 16 # Cyl 42897
- 43912
f: 1024128 44264304 4.2BSD 2048 16384 16 # Cyl 43913
- 44928
g: 2048256 45288432 4.2BSD 2048 16384 16 # Cyl 44929
- 46960
h: 2048256 47336688 4.2BSD 2048 16384 16 # Cyl 46961
- 48992
i: 2048256 49384944 4.2BSD 2048 16384 16 # Cyl 48993
- 51024
j: 4192272 51433200 4.2BSD 2048 16384 16 # Cyl 51025
- 55183
l: 16600752 63817488 4.2BSD 2048 16384 16 # Cyl 63311
- 79779
As you can see, there is missing space for a 'k' slice, but I am unable
to add it. I get this output:
> a
partition: [k]
offset: [55625472]
The OpenBSD portion of the disk ends at sector 16514064, you tried to
add a partition at 55625472. You can use the 'b' command to change the
size of the OpenBSD portion.
But if I use the 'b' command and do '*' for entire disk or enter the
parameters manually, they do not seem to take effect. It still gives me
the same error when attempting to create the 'k' slice.
I have included my dmesg at the bottom of this email.
Does anyone have any suggestions?
Regards,
Matt
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2005 OpenBSD. All rights reserved.
http://www.OpenBSD.org
OpenBSD 3.7 (GENERIC) #431: Sun Mar 20 14:10:02 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 268435456
avail memory = 235126784
using 1638 buffers containing 13418496 bytes of memory
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL
PROTECTED],0
mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 300MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 299.750 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 512K
external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
DVMA map: c0000000 to e0000000
IOTDB: 1362000 to 13e2000
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x11
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 "Sun PCIO Ebus2" rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
power at ebus0 addr 724000-724003 ipl 37 not configured
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 33
wskbd0 at comkbd0: console keyboard
com0 at ebus0 addr 3062f8-3062ff ipl 42, mouse: ns16550a, 16 byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34:
polled
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39
not configured
clock1 at ebus0 addr 0-1fff: mk48t59: hostid 809c9c6c
flashprom at ebus0 addr 0-fffff not configured
audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ipl 35 ipl 36: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: address 08:00:20:9c:9c:6c
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
hme0: using ivec 3021 for interrupt
vgafb0 at pci1 dev 2 function 0 "ATI Mach64 GT" rev 0x9a
wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0
pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 1820 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <IC35L040AVER07-0>
wd0: 16-sector PIO, LBA, 39266MB, 80418240 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <GoldStar, CD-ROM CRD-8240B, 1.24> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x11
pci2 at ppb1 bus 2
"Sun PCIO Ebus2" rev 0x01 at pci2 dev 1 function 0 not configured
hme1 at pci2 dev 1 function 1 "Sun HME" rev 0x01: address 08:00:20:a1:8f:5d
qsphy0 at hme1 phy 1: QS6612 10/100 PHY, rev. 1
hme1: using ivec 3011 for interrupt
pcons at mainbus0 not configured
No counter-timer -- using %tick at 299MHz as system clock.
root on wd0a
rootdev=0xc00 rrootdev=0x1a00 rawdev=0x1a02
--
====================================
Matthew S Elmore
dbTechnology Inc. Tuscaloosa, AL
www.dbtech.net (205) 556-9020