Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Powering on the virtual machine fails with the error: Unable to open SCSI device '/vmfs/devices/genscsi/' (scsiX:Y) (1039080)

Last Updated: 3/21/2024Categories: TroubleshootingTotal Views: 84342Language:
English

2 like this article

Subscribe to get an email
newsletter with new updates

2 people found this helpful Please provide article feedback:

Symptoms

Summary

A virtual machine fails to power on with the error:

Module DevicePowerOn power on failed.
Unable to open SCSI device <device> (scsiX:Y): <Reason>

Example

Module DevicePowerOn power on failed.
Unable to open SCSI device '/vmfs/devices/genscsi/mpx.vmhba32:C0:T0:L0' (scsi0:1): Could not find the file.

Module DevicePowerOn power on failed.
Unable to open SCSI device '/dev/genscsi/naa.0123456789' (scsi0:2): Failed to lock the file.

Impact

The virtual machine cannot be powered on.

Resolution

Resolving the issue when you experience the Could not find the file error

The Could not find the file error indicates that you have configured the virtual machine to use a host SCSI device in the passthrough (generic) mode and then have either moved the virtual machine or changed the hardware configuration of the host or manually edited the virtual machine configuration file, so that the SCSI device no longer exists.

To workaround this issue when the virtual machine is powered off, using the vSphere client, delete the SCSI device entry from the virtual machine configuration.

To delete the SCSI device entry from the virtual machine configuration:

In the vSphere Client, click Edit virtual machine settings.

Select the SCSI device to be deleted and click Remove.

Click OK.

Add the SCSI device back to the virtual machine, if required.

To add the SCSI device back to the virtual machine:

Click Edit virtual machine settings > Add > SCSI device.

Select the SCSI device to be added and click OK.

Power on the virtual machine.

Verify that all virtual disks have associated SCSI device numbers associated

To workaround this issue when the virtual machine is in a suspended state, manually edit the .vmx file of the virtual machine and remove the entry corresponding to the SCSI device or modify the entry to point to the correct SCSI device.

To manually edit the .vmx file:

Note: For more information on editing the .vmx file, see Tips for editing a .vmx file (1714 ).

Locate the virtual machine configuration file (.vmx).

Open the .vmx file using a text editor.

Find the entries for the SCSI device. For example:

scsi0:9.present = "TRUE"
scsi0:9.deviceType = "scsi-passthru"
scsi0:9.fileName = "/vmfs/devices/genscsi/mpx.vmhba32:C0:T0:L0"

To remove the SCSI device, delete these entries from the .vmx file.

Caution: If you remove the SCSI device when the virtual machine is in a suspended state, the virtual machine may experience a kernel panic (BSOD). Use this option only when there is no other way to reconnect the SCSI device.

To point to the correct SCSI device, modify the fileName entry to point to the correct filename.

Power on the virtual machine.

Resolving the issue when you experience the Failed to lock the file error

The Failed to lock the file error indicates that some other virtual machine is already using this SCSI device. Sharing of such SCSI devices among virtual machines is not supported.

To workaround this issue when your virtual machine does not need access to this SCSI device:

Using the vSphere client, edit the virtual machine's settings and remove the SCSI device entry.

Power on the virtual machine.

To workaround this issue when your virtual machine needs access to this SCSI device, ensure that the other virtual machine that is pointing to the SCSI device is powered off when using your virtual machine.

Related Information

仮想マシンのパワーオンが次のエラーで失敗する： SCSI デバイス「/vmfs/devices/genscsi/<deviceName>」 (scsiX:Y) を開くことができません
打开虚拟机电源失败并显示错误：无法打开 SCSI 设备“/vmfs/devices/genscsi/”(scsiX:Y)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
VCHA 环境中 VCSA 时间同步配置的注意事项 (68030)

KB
•
Download and Install VMware Fusion (2014097)

KB
•
vRNI 不支持 NSX-T 交换机 IPFIX 数据 (67494)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware ESX Server 3.5.x

VMware ESX 4.1.x

VMware ESX 4.0.x

Take Our Survey

Support Assistant