Subject: Re: Disk Partitioning for RAID
To: Graham Jenkins <grahjenk@hotmail.com>
From: David Brownlee <abs@netbsd.org>
List: port-i386
Date: 01/19/2004 13:31:22
You need to give the -v before the -C
On Mon, 19 Jan 2004, Graham Jenkins wrote:
> I must be doing something wrong. Tried the same trick again tonight using
> -current on a different disk - and here's what happened. Any suggestions ??
> --
> # uname -a
> NetBSD perentie.myplace.com.au 1.6ZG NetBSD 1.6ZG (GENERIC) #0
> # cat /etc/raid0.conf
> START array
> 1 2 0
> START disks
> /dev/wd1a
> /dev/wd9a
> START layout
> 128 1 1 1
> START queue
> fifo 100
>
> # /sbin/disklabel /dev/wd1
> ..
> 16 partitions:
> # size offset fstype [fsize bsize cpg/sgs]
> a: 4144707 63 RAID # (Cyl. 0*- 4111*)
> c: 4144707 63 unused 0 0 # (Cyl. 0*- 4111*)
> d: 20005650 0 unused 0 0 # (Cyl. 0 - 19846*)
> e: 4144707 63 unused 0 0 # (Cyl. 0*- 4111*)
> g: 208845 4144770 unused 0 0 # (Cyl. 4111*- 4319*)
> h: 15647310 4353615 unused 0 0 # (Cyl. 4319*- 19842*)
>
> # raidctl -C -v /etc/raid0.conf raid0
> raidctl: invalid device: /etc/raid0.conf
>
> >From: David Brownlee <abs@netbsd.org>
> >To: Graham Jenkins <grahjenk@hotmail.com>
> >CC: port-i386@NetBSD.org
> >Subject: Re: Disk Partitioning for RAID
> >Date: Mon, 19 Jan 2004 09:05:46 +0000 (GMT)
> >
> >On Mon, 19 Jan 2004, Graham Jenkins wrote:
> >
> > > Does the end position of the c or d partition actually matter? On my
> >box
> > > they both seem to end at the end of the first physical partition on the
> > > disk.
> >
> > c should cover the NetBSD part of the disk, d should cover the
> > entire disk.
> >
> > > Also - are you saying that this won't work on a multi-OS disk?
> >
> > The procedure I detailed is unlikely to work on a multi OS disk
> > without re-running fdisk.
> >
> > > And finally - if I go with -current - is the procedure still the same?
> >
> > With -current you should be able to partition and just install boot
> > blocks as normal. I have a new disk on order for a current box so
> > should be trying this out in the next week :)
> >
> >--
> > David/absolute -- www.netbsd.org: No hype required --
>
> _________________________________________________________________
> ninemsn Premium transforms your e-mail with colours, photos and animated
> text. Click here http://ninemsn.com.au/premium/landing.asp
>
>
--
David/absolute -- www.netbsd.org: No hype required --