Solaris:检测热插拔SATA磁盘插入

在Solaris上使用什么方法让系统重新扫描已在SATA控制器上热插拔的新磁盘?

我有一个HP X1600 NAS,它在ZFS池中configuration了9个驱动器。 我已经添加了3个磁盘,但format命令仍然只显示原来的9。

当我插上电源时,我看到了这一点:

 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 

但不能弄清楚如何让format命令看到他们,所以我知道他们已经被系统检测到。

尝试devfsadm命令

devfsadm -c disk

  The default operation is to attempt to load every driver in the system and attach to all possible device instances. Next, devfsadm creates logical links to device nodes in /dev and /devices and loads the device policy. 

您可能需要先运行/usr/sbin/devfsadm

正如在以下位置中所述: 在HP Smart Array P400上禁用RAIDfunction

请注意SmartArray单磁盘RAID 0设置。 如果您有热插拔事件(磁盘故障/磁盘移除),ZFS将无法识别新磁盘而无需重新引导。 智能arrays控制器不提供真正的JBOD设置。

您最好使用更兼容的控制器: ZFS SAS / SATA控制器build议