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

Command to re-read new VM disk CentOS/RHEL

System: CentOS/RHEL 6 and CentOS/RHEl 7

Case:
Added new VM disk in CentOS 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