VMware Cloud Community
dingding
Enthusiast
Enthusiast

how to list LUNs under a HBA

say i have a HBA vmhba1, how to list all LUNs(devices) under it?

-


Idleness is not doing nothing. Idleness is being free to do anything.

---- Idleness is not doing nothing. Idleness is being free to do anything.
0 Kudos
5 Replies
admin
Immortal
Immortal

If you need a quicker answer than what you find here in the community

forums you might want to try our live peer chatroom available from the

VMware Support Toolbar: http://vmwaretoolbar.com/

You'll find both

customers and employees of VMware in there.

Rick Blythe

Social Media Specialist

VMware Inc.

Get the cool new VMware toolbar

dingding
Enthusiast
Enthusiast

thanks, but is this a offical tool or developed by 3rd party? in another word, who are in this chat room? the vmware employee or VMware funs?

---- Idleness is not doing nothing. Idleness is being free to do anything.
0 Kudos
golddiggie
Champion
Champion

Are you looking through vCenter or are you looking for commands to enter in either CLI or PowerCLI? It really does help to have details such as these when you ask such a broad question, or one with several answers.

I typically just use the configuration/storage adapters/ and see what's under each HBA for targets (which also lists the LUNs)... If you want the LUN's you formated under the configuration/storage section, then you would want to look there. Or under Home/Inventory/Datastores where there's additional information... I've not looked for the commands you could enter under CLI, such as with the vMA appliance... I'm sure there's ways to do it there too.

VMware VCP4

Consider awarding points for "helpful" and/or "correct" answers.

0 Kudos
dingding
Enthusiast
Enthusiast

i just want CLI, Smiley Wink

---- Idleness is not doing nothing. Idleness is being free to do anything.
0 Kudos
Rajeev_S
Expert
Expert

Hi,

Use esxcfg-scsidevs -A, this will show the UUID of the LUN's mapped to the HBA adapter.


Award Points if helpful!!

0 Kudos