Virtual machine vmware New Hard drive does not recognize the problem

Source: Internet
Author: User

Drive information before adding a hard drive

Adding a hard disk to a virtual machine

Added after the discovery using fdisk-l information unchanged, the new hard disk is not recognized, try to restart the virtual machine hard disk will be recognized. If you do not want to restart, follow these steps:

View/proc/scsi/scsi File First

Use the command echo "SCSI add-single-device 2 0 2 0" >/proc/scis/scsi

# echo "scsi add-single-device W x y z" >/proc/scsi/scsi

The parameter values W, x, Y, Z are explained as follows:

W (host) is the host adapter ID, the first adapter is 0 (0)

X (channel) is the SCSI channel on the host adapter, the first channel is 0 (0)

Y (ID) is the SCSI identity of the device

Z (LUN) is the LUN number, the first LUN is 0 (0)

Use fdisk-l again to see that the new disk has been able to display the relevant information

Normal use after partition is formatted

Virtual machine vmware New Hard drive does not recognize the problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.