Adding Physical Disk to Server -SCSI

SCSI ( Small Computer System Interface ) If you have added new storage to a running VM, you probably won’t see it. This is because the SCSI bus to which the storage devices are connected needs to be rescanned to make the new hardware visible.

Linux, when adding a new disc.

Connect to system with “root” user.

# ls /sys/class/scsi_host

Screen Shot 2017-07-18 at 10.08.37
Instead of the “#” in the above command, you will enter the host numbers on your system. Run the command down to write to the host file.

# echo "- - -"> / sys / class / scsi_host / host # / scan

 

As an example my system has seen 5 hosts, so I run the following commands.

 

Screen Shot 2017-07-18 at 10.09.03
You can test it with the fdisk command.

#fdisk -l

#tail -f / var / log / message

Screen Shot 2017-07-18 at 10.09.20

Hits: 1

Leave a Reply

Your email address will not be published. Required fields are marked *