Tag Archives: Remove term: re-read VM disk Centos 6 re-read VM disk RHEL 6

Command to re-read new VM disk CentOS 6/RHEL 6

System: CentOS 6.9

Case:
Added new VM disk in CentOS 6 not showing the new VM disk when run fdisk -l.

Resolution:
Login as root, run this command to re-read the new VM disk without reboot the server.

ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done

Continue reading