[OpenIndiana-discuss] hot plugging sata drives?

Dan Swartzendruber dswartz at druber.com
Thu Jun 16 11:36:05 UTC 2011


Ah thanks!

-----Original Message-----
From: Cyril Plisko [mailto:cyril.plisko at mountall.com] 
Sent: Thursday, June 16, 2011 2:46 AM
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] hot plugging sata drives?

On Thu, Jun 16, 2011 at 5:53 AM, Dan Swartzendruber <dswartz at druber.com>
wrote:
> Sorry if this is a silly question - google is not turning up anything
> useful.  My cougar point sata controller supports hotplug, so I enabled it
> for all 6 ports.  I decided it would be nice to test this :)  So I unplug
> one of the drives and see the pool go degraded.  I plug it back in, and
> after some futzing around, discover that I have to do this: cfgadm -c
> configure sata0/2, and lo and behold, the drive is brought back online and
> resilvered.  Not complaining, just wondering if this is the norm to have
to
> take manual action this way?

That's the default behavior. If you want the cfgadm configure magic to be
automatic add this to your /etc/system:

set sata:sata_auto_online=1


-- 
Regards,
        Cyril

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss





More information about the OpenIndiana-discuss mailing list