Web Hosting Articles
Categories
- Web Hosting (33)
- Control Panels (13)
- Dedicated Servers (12)
- Virtual Private Servers (9)
- Unix Linux Web Hosting (8)
- MS SQL Database Servers (5)
- Domain (5)
- Email Accounts (4)
- Shared Hosting (3)
- Hardwares (3)
- Web Hosting Plan (3)
- Costing (2)
- Windows Web Hosting (2)
- Unlimited Hosting (1)
- Unmanaged Dedicated Servers (1)
- Multiple Domain Hosting (1)
- Plesk Web Hosting (1)
- Managed Dedicated Servers (1)
- Reseller Hosting (1)
- Log Files (1)
- FTP Access (1)
- Ecommerce (1)
Add a New Hard Disk VMWARE Without Rebooting Guest
It is possible to add or remove a SCSI device explicitly, or to 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 hard disk by visiting vmware hardware settings menu.
Click on VM > Settings
- Alternatively you can press CTRL + D to bring settings dialog box.
- Click on Add+ to add new hardware to 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 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 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.
Rate This Article
Recent Comments
Add comment
Quick search
Request a Quote
If you wish to receive proposals from Web Hosting Companies Suited to your needs.




helloPosted by : Ara Mar 21st, 2010
This site is a good resource provider. Would you like also to avail the wide range products and services provided at Dallas Internet Marketing ConsultingPosted by : shareef Jan 6th, 2010
Posted by : eGi Dec 17th, 2009