VMware Cloud Community
peter79
Enthusiast
Enthusiast
Jump to solution

Help needed with console commands.

Guys,

I'm trying to find out uing the console what is attached to a particular hba. I logged into the console and ran the following command

cat/proc/vmware/scsi/vmhba1

It returned a message stating something like "this is a directory" now all i have is a blank screen with a flashing cursor and I cant get back to the root. Can someone help me out pease bear in mind Im not familiar with these commands at all.

Thanks.

0 Kudos
1 Solution

Accepted Solutions
hhmz
Enthusiast
Enthusiast
Jump to solution

... try with CTRL+C or " :q! "

cad commands reference

bye bye

View solution in original post

0 Kudos
4 Replies
O_o
Enthusiast
Enthusiast
Jump to solution

Might it be that you are looking for following command ?

esxcfg-vmhbadevs

This will give you a list that looks something like this:

root@vmw1 root# esxcfg-vmhbadevs

vmhba0:0:0 /dev/sda

vmhba1:0:0 /dev/sdb

vmhba1:0:1 /dev/sdc

To get out of that blank screen ... Have you tried 'Q' (a single Q) ?

hhmz
Enthusiast
Enthusiast
Jump to solution

... try with CTRL+C or " :q! "

cad commands reference

bye bye

0 Kudos
peter79
Enthusiast
Enthusiast
Jump to solution

Ok that was helpful. What im looking for is a command that will tell me if there is actcually a vable pulugged in to the hba (I manage the server remotely so I cant physically check myself).

0 Kudos
Pillai
Contributor
Contributor
Jump to solution

Try with the command 'esxcfg-scsidevs -l'.

It would give you the Status aswell.

0 Kudos