Discover the top-rated web hosting providers with trusted reviews, expert comparisons, and the latest deals.
Select Currency 7 Currencies
Select Region 9 Editions
VPS Hosting

VPS (Virtual Private Server) hosting is highly popular these days, and there are VPS plans available for small, medium, and even huge business websites!

In comparison to dedicated servers, VPS is pretty low-cost, and your enterprise remains independent if you buy a VPS plan!

Cheap Hosting

If you're starting your first website, you want to spend less on premium web hosting, worry about website performance, or know anything about CPU cores. You only need to consider usability, customer service, and long-term scalability.

Our experts have compiled a list of cheap hosting providers that combine affordability and reliability.

TheWebHostingDIR

Add a New Hard Disk VMWARE Without Rebooting Guest

August 02, 2017
689,105 views
2 min read
0 comments
Share

It is possible to explicitly add or remove a SCSI device or re-scan an entire SCSI bus without rebooting a running Linux VM guest.

 

1) Add a New Disk To Vm Guest

  • First, you need to add a hard disk by visiting vmware hardware settings menu.
    Click on VM > Settings
  • Alternatively, press CTRL + D to bring to the settings dialog box.
  • Click on Add+ to add new hardware to the guest:
  • Select hardware type Hard disk and click on Next.
  • Select create a new virtual disk and click on Next.
  • Set virtual disk type to SCSI and click on Next
  • Set maximum disk size as per your requirements and click on Next
  • Finally, set the file location and click on Finish.

 

2) Rescan the SCSI Bus to Add a SCSI Device Without rebooting the VM

A rescan can be issued by typing the following command:
 

echo "- - -" > /sys/class/scsi_host/host#/scan
fdisk -l
tail -f /var/log/message
 

Replace host# with actual value such as host0. You can find the scsi_host value using the following command:
 

# ls /sys/class/scsi_host
 

Output:

host0

Now type the following to send a rescan request:
 

echo "- - -" > /sys/class/scsi_host/host0/scan
fdisk -l
tail -f /var/log/message

 

3) Format a New Disk

You can create partition using fdisk and format it using mkfs.ext3 command:
 

# fdisk /dev/sdc
# mkfs.ext3 /dev/sdc3

 

4) Create a Mount Point And Update /etc/fstab

# mkdir /disk3
 

Open /etc/fstab file, enter:
 

# vi /etc/fstab
 

Append as follows:

/dev/sdc3               /disk3           ext3    defaults        1 2

Save and close the file.

 

Check out the best web hosting plans now!

 

Found this guide useful?

Share it with friends, team members, or clients.

Comments & Discussion (0)

No comments yet. Be the first to share your thoughts!

Leave a Comment

Sign in to join the conversation

Please log in or create a free account to post comments, ask questions, and engage with the web hosting community.