Hi Christian, I'll will try as soon as I can. That's going to be early
next year now as I accidentally messed with the wrong disk in the server
and will now need to make a wee trip to the data center to reinstall
obsd oops...
Cheers
Keith
On 22/12/2011 23:05, Christian Weisgerber wrote:
Keith<ke...@scott-land.net> wrote:
I am having some trouble getting 4 x 2TB sata disks into one big single
softraid (raid 5) disk. I can create the softraid0 disk and it's 5.5TB
want would like to get a single 5.5TB partition but can only make one
single 1.5TB partition! Can someone tell me where I'm going wrong.
#fdisk -iy sd1
The MBR format is limited to a 32-bit number of sectors. Given
512-byte sectos, it cannot handle values larger than 2TB. However,
this doesn't matter if you don't want to share the disk with other
operating systems. In disklabel(8), simply set the OpenBSD disk
boundaries 'b' to the real size '*'; see the man page.
Here's the partition info I put on a 3TB disk:
# fdisk sd1
Disk: sd1 geometry: 364801/255/63 [1565565872 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 2 - 267349 89 3 [ 64: 4294967231 ] OpenBSD
# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: Hitachi HUA72303
duid: aa3700ccfc518ee8
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 364801
total sectors: 5860533168
boundstart: 64
boundend: 4294967295
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 5860533168 0 unused
d: 5860533056 64 4.2BSD 8192 65536 1 # /export