0x00 event
After the virtual machine to add a disk, restart the machine does not load a new disk.
As shown above, adding a 10G disk after.
In the virtual machine is not to see the newly added disk:
0x01 solve
Run the following commands, rescan SCSI (Small Computer System Interface Small Computer System Interface) bus and add a SCSI device
[root@k8sn91 ~]# ls /sys/class/scsi_host/
host0 host1 host2
[root@k8sn91 ~]# echo "- - -" > /sys/class/scsi_host/host0/scan
[root@k8sn91 ~]# echo "- - -" > /sys/class/scsi_host/host1/scan
[root@k8sn91 ~]# echo "- - -" > /sys/class/scsi_host/host2/scan
Look lsblk
, you can see a 10G sdb
been scanned out
Then it can be a normal format, partitioning.