Subject: Re: Bootable root on raidframe
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 08/05/2003 11:33:43
On Tue, Aug 05, 2003 at 09:11:09AM +0300, Martti Kuparinen wrote:
> Manuel Bouyer wrote:
>
> >asim:/users/largo1/bouyer#fdisk sd0
> >
> >Partition table:
> >0: <UNUSED>
> >1: <UNUSED>
> >2: <UNUSED>
> >3: sysid 169 (NetBSD)
> > start 32, size 35843638 (17501 MB), flag 0x80
>
> Why is this starting at 32 (instead of 63)?
Because of the geometry used by the BIOS for this drive:
cylinders: 1024 heads: 64 sectors/track: 32 (2048 sectors/cylinder)
>
> >asim:/users/largo1/bouyer#disklabel sd0
> >
> >8 partitions:
> ># size offset fstype [fsize bsize cpg/sgs]
> > a: 2205000 2450 RAID # (Cyl. 1 - 900)
> > b: 2099200 108250 swap # (Cyl. 44*- 900)
>
> Why do you have swap on sd0? You wrote that your swap is on raid1...
It's for dumps:
/dev/raid0a / ffs rw 1 1
/dev/raid0b none swap sw 0 0
/dev/sd0b none dump dp 0 0
The kernel can't dump to a raid partition, because process scheduling is
stopped when dumps happens.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
NetBSD: 24 ans d'experience feront toujours la difference
--