Hello Guys.
I had a question while testing Solaris 10 x86 on Oracle VirtualBox.
I can use various kinds of disk controllers in a virtual machine on VirtualBox. But I have checked that only SATA controllers support Hot Plug function.
I have used the devfsadm command on the Solaris OS (SPARC Server) to recognize a new disk. However, this command did not recognize the new disk in Solaris 10 x86 on VirtualBox.
So I used the cfgadm command to recognize the new disk.
# cfgadm -x sata_port_activate AP_ID
# cfgadm -c configure AP_ID
To perform some tests, such as OS disk mirroring, I removed the first disk and added a new disk to the same port.
Then, I had the following results and the disk that was replaced was not recognized.
-bash-3.2# cfgadm -al | grep 'sata0/[01]\>'
sata0/0 disk connected configured unusable
sata0/1::dsk/c0t1d0 disk connected configured ok
Normally I use the following commands to recognize the disk in Solaris 10 SPARC.
# devfsadm -Cv -c disk
# devfsadm -c disk
But not recognized by the above commands and could not be changed to ok condition by using the cfgadm command.
- unconfigure/configure
- disconnect/connect
- disconnect/delete /dev/(r)dsk/c#t# files/connect/configure
Of course, rebooting the Solaris will save the problem, but I want it to solve without rebooting.
How can I solve this problem? I need your help.
I'm not familiar with English. But thanks for reading so far.