We help IT Professionals succeed at work.

VMWare CLI Commands

brittonv
brittonv used Ask the Experts™
on
When working with VMWare via Webex one day the tech ran a command that listed all my attached LUN's on my SAN.  It also pulled the raid types from somewhere....

What command can I run from the service console to list the raid types (Raid 10, Raid 5, etc...)

The raid types may very well have been manually created tags, but I have not been able to duplicate the output....

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
what sort of SAN do you have?

If you have HP, then you can use the HPACUCLI command which is a CLI tool to query the HP raid controller.


HP Array Configuration Utility CLI 8.28-13.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> set target ctrl slot=5

   "controller slot=5"

=> show config

Smart Array E200 in Slot 5                (sn: PA6C90M9SVM19O)

   array A (SATA, Unused Space: 1493426 MB)

      logicaldrive 1 (1002.0 GB, RAID 5, OK)

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 750 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 750 GB, OK)
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 750 GB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA, 750 GB, OK)

=>


Don't know of any VMWare specific command that will tell you that information.
Also, if you logon to the server and press the 'UP' arrow key, you will scroll thru all the previous commands entered into the server :)

Author

Commented:
Up didn't work as the console session wasn't terminated properly.

The SAN is an EMC san.  However the SAN Group is very interesting and doesn't like to give out information.

I am pretty sure that it was a native EMC or Linux command that was used
There is probably  some EMC stuff installed that will give you the info you need.  I'm not an EMC person so can't help you really.
Commented:
actually I found it with:
cat /proc/scsi/scsi