VMware Cloud Community
xybal
Enthusiast
Enthusiast
Jump to solution

adding disk on linux VM

Hi,

I have to add a new disk on a linux VM. When I add my disk all is OK, but I answer myself if there is a way to see it under the OS without rebooting ?

If yes what is the command (the linux is RedHat 3 and RedHat 4).

Thx

0 Kudos
1 Solution

Accepted Solutions
AWo
Immortal
Immortal
Jump to solution

You may want to check this link http://kbase.redhat.com/faq/FAQ_85_7921.shtm

But they issued a warning to use this commands.



If you found this information useful, please consider awarding points for "Correct" or "Helpful" answers/replies. Thanks!!

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =

View solution in original post

0 Kudos
4 Replies
AWo
Immortal
Immortal
Jump to solution

You may want to check this link http://kbase.redhat.com/faq/FAQ_85_7921.shtm

But they issued a warning to use this commands.



If you found this information useful, please consider awarding points for "Correct" or "Helpful" answers/replies. Thanks!!

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
AWo
Immortal
Immortal
Jump to solution

Maybe you want to search for this script first: rescan-scsi-bus.sh

Use 'find / -name "rescan-scsi-bus.sh" '.

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Karunakar
Hot Shot
Hot Shot
Jump to solution

Hi,

after adding a disk to the linux VM's, you have to run the rescan-scsi-bus.sh script.

This wil rescan all the scsi disks attched with out rebooting the VM.

You can find mode detailsof this in the below link.

-Karunakar

Steve_Forbes1
Contributor
Contributor
Jump to solution

I run

echo "- - -" > /sys/class/scsi_host/host0/scan

and dont have any problems, however RedHat do warn against it.

Cheers,

0 Kudos