Solaris: detect hotswap SATA disk insert

Posted by growse on Server Fault See other posts from Server Fault or by growse
Published on 2011-03-15T15:47:13Z Indexed on 2011/03/15 16:11 UTC
Read the original article Hit count: 562

Filed under:
|
|
|

What's the method used on Solaris to get the system to rescan for new disks that have been hot-plugged on a SATA controller?

I've got an HP X1600 NAS which had 9 drives configred in a ZFS pool. I've added 3 disks, but the format command still only shows the original 9.

When I plugged them in, I saw this:

cpqary3: [ID 823470 kern.notice] NOTICE:  Smart Array P212 Controller
cpqary3: [ID 823470 kern.notice]  Hot-plug drive inserted, Port=1I Box=1 Bay=12
cpqary3: [ID 479030 kern.notice]  Configured Drive ? ....... NO
cpqary3: [ID 100000 kern.notice]
cpqary3: [ID 823470 kern.notice] NOTICE:  Smart Array P212 Controller
cpqary3: [ID 823470 kern.notice]  Hot-plug drive inserted, Port=1I Box=1 Bay=11
cpqary3: [ID 479030 kern.notice]  Configured Drive ? ....... NO
cpqary3: [ID 100000 kern.notice]
cpqary3: [ID 823470 kern.notice] NOTICE:  Smart Array P212 Controller
cpqary3: [ID 823470 kern.notice]  Hot-plug drive inserted, Port=1I Box=1 Bay=10
cpqary3: [ID 479030 kern.notice]  Configured Drive ? ....... NO

But can't figure out how to get the format command to see them so I know they've been detected by the system.

© Server Fault or respective owner

Related posts about solaris

Related posts about sata