Subject: Re: How to avoid a disk to start at bootup
To: Laurent FAILLIE <l_faillie@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc
Date: 10/10/2006 21:39:16
On Mon, Oct 09, 2006 at 12:17:13AM +0200, Laurent FAILLIE wrote:
> Hi,
> 
> I saved a 6 SCSI disk cabinet from trash at work and
> it is now plugged to my SS5 under netbsd 2.1
> It seems that disks don't start by themselve when the
> cabinet is powered but will wait for a "start
> command".
> 
> My conserne is it seems the boot procedure of NetBSD
> wakeup all disk when doing bus scan, according to
> following messages from dmesg :
> 
> [...]
> 
> According to LEDs and noise emited by the disk
> cabinet, I think disks are started by the first bus
> scan.
> 
> Is there a way to avoid disks to be started ? I mean,
> ok to scan the bus to discovers units, but I want my
> disk stoped until I realy need them, in order to save
> some power.

I think it's the raidframe autoconfig which needs to scan all drives
for raidframe labels. If you remove options RAID_AUTOCONFIG from
your kernel I think they won't start.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--