Thursday, July 22, 2010

Add disk to vmware linux guest without rebooting

Adding a new disk to a vmware linux guest OS is very easy, the next step is to make the guest OS recognize the disk, this is also very easy, just run:
echo "- - -" > /sys/class/scsi_host/host#/scan

where host# should change to the correct host, probably host0.
after running the command you should be able to see the new disk by running: fdisk -l

No comments: