VMware Cloud Community
muos_o_-_-_o
Enthusiast
Enthusiast

Unable to open SCSI device - Tape Drive

I'm pulling my hair out with this one so any help welcome:

I had to replace my HP tape drive due to failure I can see the drive within the ESX configuration, storage adapters. When I try and add the SCSI drive to the VM it find’s the HP tape drive and ad’s it no problem but then I go to start the VM it get to 80% then

“Unable to open SCSI device '/vmfs/devices/genscsi/vml. There is a long number string there then (scsi0:1): Generic Error”

Failed to configure scsi0

I have edited the vmx to remove the SCSI Tape drive then reboot no problem but when adding again it fails. LOST!

0 Kudos
4 Replies
wila
Immortal
Immortal

Hello,

You probably didn't notice it, but your question ended up being posted in here twice. I've removed the duplicate post.

With that out of the way, please attach your vmware.log file of the offending virtual machine to your reply here.

thanks,



--
Wil
_____________________________________________________
VI-Toolkit & scripts wiki at http://www.vi-toolkit.com

Contributing author at blog www.planetvm.net

Twitter: @wilva

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos
FranckRookie
Leadership
Leadership

Have a look at this thread, in case ...

http://communities.vmware.com/thread/199408

0 Kudos
muos_o_-_-_o
Enthusiast
Enthusiast

I have attached the last log file any help welcome Smiley Happy

0 Kudos
wila
Immortal
Immortal

Hmm... the log file isn't helping me much further, it just confirms what you are seeing.

If you can login to the console as root then it would be good to see if the device that is referenced in the vmx file actually exists.

In order to do so, try listing the device by using:

ls -alh /vmfs/devices/genscsi/vml*

You can post the result back in to your reply here.

If that doesn't give the device ID you can have a look if the method the other user suggests with the alternative vmhba device alias works.

You would need to get the correct device name.

You might want to check the output of:

esxcfg-vmhbadevs -a

From the output of that you can run fdisk -l on the /dev/ output to get more details about the device and its respective vmhba device mapping.

fdisk -l /dev/sda

would show you the partition information and size of the device.

Hope this helps,



--
Wil
_____________________________________________________
VI-Toolkit & scripts wiki at http://www.vi-toolkit.com

Contributing author at blog www.planetvm.net

Twitter: @wilva

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos