Subject: Re: replacing a failed disk in a raidframe raid1 mirror
To: Carl Brewer <carl@bl.echidna.id.au>
From: Geert Hendrickx <ghen@telenet.be>
List: netbsd-users
Date: 01/29/2006 01:25:40
On Wed, Aug 24, 2005 at 09:28:22AM +1000, Carl Brewer wrote:
> My first question is how do I tell which physical disk is which?  When I
> open up the box, is there some way to identify which disk is wd0 and
> which is wd1?  I assume it's related to the htpide0:1:0/htpide0:0:0
> values returned in dmesg.boot, but does that translate to master/slave on
> an IDE bus?  Or different channels?  The box has an el-cheapo adaptec
> raid card, which isn't raid at all, it's just working as a multi channel
> IDE controller card.

I physically mark each disk (with a sticker saying "disk A" or "disk B"),
and put the same mark in the disklabel "label" field.  This way I can
always map physical disks to NetBSD devices and vice versa, no matter how I
swap disks around.  

	Geert