1. Add a New Disk To VM Guest
First, you need to add hard disk by visiting vmware hardware settings menu.
Click on VM –> Settings
2. Choose Hard Disk –> Create new virtual disk –> SCSI –> Specify the size –> Choose the datastore
3. ESX will create your virtual disk, but you would not normally see it without rebooting the guest OS. To work around that you can do the following (as root):
echo “- – -” > /sys/class/scsi_host/host#/scan
To find the host number, you can “ls -lt /sys/class/scsi_host/”. Generally you will see a host number of 0.
You should now see the new disk.