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.
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) ?
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).
Try with the command 'esxcfg-scsidevs -l'.
It would give you the Status aswell.