2

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.

ewwhite
  • 201,205
growse
  • 8,185

3 Answers3

4

Try the devfsadm command

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.
user9517
  • 117,122
2

You may need to run /usr/sbin/devfsadm first.

Cakemox
  • 26,021
0

As noted in the post at: Disabling RAID feature on HP Smart Array P400

Be careful with the SmartArray single-disk RAID 0 setup. If you have a hotplug event (disk failure/drive removal), ZFS won't recognize the new disk without a reboot. The Smart Array controllers don't offer a true JBOD setting.

You're best off using a more compatible controller: ZFS SAS/SATA controller recommendations

ewwhite
  • 201,205