storage

How do I add a new VMWare ESX disk on my Linux server without rebooting?

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.

fdisk -l

You should now see the new disk.

Click to comment

Leave a Reply

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

To Top