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.
Answer
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.
No comments:
Post a Comment