Subject: Re: Disk Partitioning for RAID
To: None <port-i386@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-i386
Date: 01/18/2004 12:49:09
> " disklabel wd1, and ensure that wd1a starts at least 100 blocks from the 
> start of the disk .. wd1c should be identical to wd1d .."

> 16 partitions:
> #        size    offset     fstype  [fsize bsize cpg/sgs]
>   a:   4142880      1008       RAID                      # (Cyl.    1 - 
> 4110)
>   c:   4144707         0     unused      0     0         # (Cyl.    0 - 
> 4111*)
>   d:   4144707         0     unused      0     0         # (Cyl.    0 - 
> 4111*)

> NetBSD slice at 63, partition C at 0
> Write outside MBR partition? [n]:

I suspect the instructions are the part that's broken here.  d should
always begin at offset 0 and be the whole disk (that's what ends up
getting used anyway, since it's RAW_PART), but c is only the NetBSD
portion of the disk, and should agree with the NetBSD partition's
boundaries in the MBR ("fdisk") partitioning.  I suspect this is what
the "slice at 63, c at 0" complaint is about, and that the instructions
are broken for telling you to make c and d identical.

As for whether 63 is the right number, I can't say.  I'd have to ask
someone who knows the RAID stuff.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B