Got it

Failed to View All Disk Slots to Restore Windows VMs During Startup

Latest reply: Apr 28, 2020 04:42:51 661 3 3 0 0

Hello, Community!


With the popularity of virtual machines, more and more problems are occurring.


Today, I'd like to share with you a case of Failed to View All Disk Slots to Restore Windows VMs During Startup.


Problem Description

When I mount tools and reboot the system, it is not showing and the system login directs to windows.

It is informed that I cannot attach the OS DVD while the tool is mounted as you can see.

VM attached

Problem Analysis

As tested in our lab. the result was as below :

1.  For physical server, under-recovery mode, the server can discover two disks.

discover two disk

2. For the Hyper-V platform, under-recovery mode, the server can discover two disks.

Hyper V

3. For VMWare platform, under-recovery mode, server can discover two disks.

VMWARE platform

4. Only for the FC platform, there is only one disk to be found.


According to above situation, we checked in the dump XML file of that VM. found as below:

The disk letter of system disk is xvde. but the disk letter of the second disk is xvde . Due to FCV100R006C10 version uses the XEN virtualization platform, so the bus of disk and cdrom is IDE type. The IDE bus has a limitation that each of the two IDE controllers can connect to only two devices. It means that only four devices of IDE Device can be discovered in every VM without vmtools. It means that xvda/xvdb/xvdc/xvdd can be discovered.

system disk

You can see, the second disk was assigned xvde drive letter. xvde can not be discovered by VM without vmtools. When VM enters recovery mode, it does not use the PV driver which included by vmtools, it uses the common driver of windows, so the issue occurred.

This is determined by the product design. The product design is that the created VM must have a CD-ROM drive, and the drive letter is fixed to xvdb.

After we modify the dump XML file of this VM(modify drive letter of the second disk from xvde to xvdb), then we can discover the second disk under recovery mode 

Root Cause

Due to the FC V100R006C10 version uses XEN virtualization platform, so the bus of disk and cdrom is IDE type. The IDE bus has a limitation that each of the two IDEcontrollers can connect to only two devices. It means that only four devices ofIDE Device can be discovered in every VM without vmtools. It means that xvda/xvdb/xvdc/xvdd can be discovered.

Solution

1. Remove all VMS except the VM which you need to recover to another host .

2. Login to the backend of this by gandalf , and switch to root.

3. Stop monitor service and vnad service on this host . and modify dump XML file of this VM. Restart monitor service and vnad service on this host. The commands are as follows:

Host command

4. Modify drive letter.

Modify drive


That's all for today. I hope it will be helpful to all of you! 


If you have any other comments or want to know more, please leave a message below to let me know.

Thanks for sharing!!
View more
  • x
  • convention:

stephen.xu
stephen.xu Created Apr 28, 2020 00:44:31 (0) (0)
Thank you for support  
Important to know, good job!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.