Adding new HDD(hard disk) in Linux, detect it without rebooting - Experimented using Vmware
This is explained below :- Im having Vmware 9 with CentOS 6.4 Up-Running. Im adding the hard disk :- Next> Create a new virtual disk SCSI maximum disk size (GB): 1GB // you can select as per your requirement Additional HDD added:- select >>OK Open clone session on SSH : select tail -f /var/log/messages Keep scanning the host . And, get detected in fdisk as well in /dev/* directory: echo "- - -" > /sys/class/scsi_host/host0/scan echo "- - -" > /sys/class/scsi_host/host1/scan echo "- - -" > /sys/class/scsi_host/host2/scan As in my case i had host0,host1,host2 When the HDD is detected, in host2:- Remove the Added partition, using the following command:- i.e., # echo 1 > /sys/block/devName/device/delete Example,in our case is "/dev/sdb # echo 1 > /sys/block/sdb/device/delete