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

Skip to main content

My Subscriptions

Loading

Knowledge Base

Cannot access or use the CD-ROM drive/device on an ESX host (1007327)

Last Updated: 12/23/2014Categories: How toTotal Views: 32894Language:
JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Details

You needed to boot the ESX host in the troubleshooting mode and the CD-ROM does not automatically mount.

When the host is in the troubleshooting mode, there is no entry for the CD-ROM in /dev.

You unintentionally or accidentally detached the local CD-ROM device

In the Configuration Tab > Storage pane > Device section, the CD-ROM device is greyed out and is in the unmounted state.

When the host is running normally, there is no /dev/cdrom entry or the existing /dev/cdrom entry is pointing to the wrong device on the host.

Attempting to connect a virtual machine CD-ROM to the CD-ROM of the host fails with the error:

/dev/cdrom device unavailable

Solution

This issue may occur due to one of these reasons:

When booting the ESX host in troubleshooting mode, the CD-ROM device entry ( /dev/cdrom) is not created automatically on the ESX host Service Console. This is an expected behavior as minimal services are loaded for troubleshooting purposes.

If the host is running normally, the device entry for the CD-ROM ( /dev/cdrom) may be pointing to the wrong device.

Accessing the host CD-ROM when the host in troubleshooting mode

Notes:

/dev/hdc is a device located on the IDE controller.

/dev/sr0 is a device located on the SCSI controller

/dev/cdrom is a symlink to either /dev/hdc or /dev/sr0. ESX hosts run a script that automatically sets up /dev/cdrom to be the correct device, thus using /dev/cdrom is appropriate.

To access the local host CD-ROM device when the host is in troubleshooting mode (also known as single user mode or runlevel 1):

Ensure that a CD-ROM has been inserted in the CD-ROM drive.

Run these commands to create the block device entry for the CDROM in /dev before attempting to mount the CD-ROM:

# cd /dev
# mknod -m660 sr0 b 11 0

Run these commands to create a temporary mount point for the CD-ROM and mount the CD-ROM on the host:

# mkdir /mnt/cd
# mount /dev/sr0 /mnt/cd
# cd /mnt/cd

You should now be in the CD-ROM directory and should be able to access the media in it.

Accessing the host CD-ROM when the ESX host has booted normally

When the host has booted normally, it creates a device entry for the CD-ROM at /dev/cdrom. This should automatically mount the CD-ROM on the host when a disc is inserted into the drive.

In some cases, the /dev/cdrom entry may point to the incorrect device entry or have multiple device entries.

To manually mount the CD-ROM on the ESX host Service Console:

Log in to the local Tech Support Mode console of the ESX host. For more information, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807).

Verify if the /dev/cdrom entry is pointing to a single entry or multiple entries.

To check where the /dev/cdrom entry points to, run this command as root on the ESX console:

# ls -l /dev/cdrom

The output appears similar to:

lrwxrwxrwx 1 root root 4 Mar 15 12:03 /dev/cdrom -> /dev/scd0

Run this command to see the device entry that was assigned to the CD-ROM drive when the host booted:

# dmesg |grep -i cdrom

The output appears to be similar to:

sr0: IDE CDROM Drive, ATAPI CD/DVD-ROM drive
sr0: attached ide-cdrom driver.

This output indicates that the correct device entry for the CD-ROM device is /dev/sr0.

Run these commands to create a temporary mount point and mount the CD-ROM on the host:

# mkdir /mnt/cd
# mount /dev/sr0 /mnt/cd
# cd /mnt/cd

You should now be in the CD-ROM directory and should be able to access the media in it.

After using the CD-ROM, you can unmount using these commands:

# cd /
# umount /mnt/cd

Additional Information
For translated versions of this article, see:

日本語: ESX ホスト上の CD-ROM ドライブ/デバイスのアクセスまたは使用ができない (2101621)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
JapaneseEnglish

Attachments

Additional Resources

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

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware ESX Server

Related Versions:

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant