VMware Cloud Community
MJMSRI
Enthusiast
Enthusiast
Jump to solution

ESXi / vSAN Command to show either disk speed such as 12gbps or the disk type such as SATA

Hello, we have a 19-Node vSAN Cluster with 433 Disks. 

I want to ensure that all disks are SSD SAS Disks running at 12 Gbps and that there are not any SATA disks running at 6 Gbps. 

is there a command to show the disk speed for all of these 433 disks?

Thanks

Reply
0 Kudos
1 Solution

Accepted Solutions
TheBobkin
Champion
Champion
Jump to solution

@MJMSRI, As far as I am aware, ESXi can only report this for devices attached to that node only but you could of course just use the same esxcli command via PowerCLI to all nodes - if you run 'esxcli storage core device list' it lists the devices attached and lists the 'Device Max Queue Depth' - this will be 32 for SATA devices and higher for SAS (whether this will be 64, 128 or 256 depends on the device firmware and optimisations made by vendor):

naa.500003971c88b052
Display Name: Local TOSHIBA Disk (naa.500003971c88b052)
Has Settable Display Name: true
Size: 190782
Device Type: Direct-Access
Multipath Plugin: NMP
Devfs Path: /vmfs/devices/disks/naa.500003971c88b052
Vendor: TOSHIBA
Model: PX04SHB020
Revision: AM04
SCSI Level: 6
Is Pseudo: false
Status: on
Is RDM Capable: true
Is Local: true
Is Removable: false
Is SSD: true
Is VVOL PE: false
Is Offline: false
Is Perennially Reserved: false
Queue Full Sample Size: 0
Queue Full Threshold: 0
Thin Provisioning Status: yes
Attached Filters:
VAAI Status: unknown
Other UIDs: vml.0200000000500003971c88b051505830345348
Is Shared Clusterwide: false
Is SAS: true
Is USB: false
Is Boot Device: false
Device Max Queue Depth: 64             <<<---- =>32 and thus is a SAS device
No of outstanding IOs with competing worlds: 32
Drive Type: physical
RAID Level: NA
Number of Physical Drives: 1
Protection Enabled: false
PI Activated: false
PI Type: 0
PI Protection Mask: NO PROTECTION
Supported Guard Types: NO GUARD SUPPORT
DIX Enabled: false
DIX Guard Type: NO GUARD SUPPORT
Emulated DIX/DIF Enabled: false


The same information can also be retrieved from running 'esxcfg-info -a' on the node and then using grep or other check against the output

\==+LUN :
|----Name................................naa.500003971c88b052
|----External Id.........................naa.500003971c88b052
|----Type................................Direct-Access
|----Vendor..............................TOSHIBA
|----Model...............................PX04SHB020
|----Revision............................AM04
|----Display Name........................Local TOSHIBA Disk (naa.500003971c88b052)
|----Has Settable Display Name...........true
|----Path Plugin.........................NMP
|----Console Device....................../vmfs/devices/disks/naa.500003971c88b052
|----Devfs Path........................../vmfs/devices/disks/naa.500003971c88b052
|----Size................................200049647616
|----Block Size..........................512
|----Number of Blocks....................390721968
|----SCSI Level..........................6
|----Queue Depth.........................0
|----Is Pseudo...........................false
|----Is Reserved.........................false
|----Is Perennially Reserved.............false
|----Queue Full Sample Size..............0
|----Queue Full Threshold................0
|----Is Offline..........................false
|----Is Local............................true
|----Is Not Shared.......................false
|----Is SSD..............................true
|----Is Thin Provisioned.................true
|----Pending Reservations................0
|----LUN Status..........................0
|----Device Online.......................true
|----Device Max Queue Depth..............64              <<<---- =>32 and thus is a SAS device
|----Number of Outstanding IO Requests...32
|----Data Integrity Enabled..............false
|----Latency Sensitive Threshold.........0

View solution in original post

1 Reply
TheBobkin
Champion
Champion
Jump to solution

@MJMSRI, As far as I am aware, ESXi can only report this for devices attached to that node only but you could of course just use the same esxcli command via PowerCLI to all nodes - if you run 'esxcli storage core device list' it lists the devices attached and lists the 'Device Max Queue Depth' - this will be 32 for SATA devices and higher for SAS (whether this will be 64, 128 or 256 depends on the device firmware and optimisations made by vendor):

naa.500003971c88b052
Display Name: Local TOSHIBA Disk (naa.500003971c88b052)
Has Settable Display Name: true
Size: 190782
Device Type: Direct-Access
Multipath Plugin: NMP
Devfs Path: /vmfs/devices/disks/naa.500003971c88b052
Vendor: TOSHIBA
Model: PX04SHB020
Revision: AM04
SCSI Level: 6
Is Pseudo: false
Status: on
Is RDM Capable: true
Is Local: true
Is Removable: false
Is SSD: true
Is VVOL PE: false
Is Offline: false
Is Perennially Reserved: false
Queue Full Sample Size: 0
Queue Full Threshold: 0
Thin Provisioning Status: yes
Attached Filters:
VAAI Status: unknown
Other UIDs: vml.0200000000500003971c88b051505830345348
Is Shared Clusterwide: false
Is SAS: true
Is USB: false
Is Boot Device: false
Device Max Queue Depth: 64             <<<---- =>32 and thus is a SAS device
No of outstanding IOs with competing worlds: 32
Drive Type: physical
RAID Level: NA
Number of Physical Drives: 1
Protection Enabled: false
PI Activated: false
PI Type: 0
PI Protection Mask: NO PROTECTION
Supported Guard Types: NO GUARD SUPPORT
DIX Enabled: false
DIX Guard Type: NO GUARD SUPPORT
Emulated DIX/DIF Enabled: false


The same information can also be retrieved from running 'esxcfg-info -a' on the node and then using grep or other check against the output

\==+LUN :
|----Name................................naa.500003971c88b052
|----External Id.........................naa.500003971c88b052
|----Type................................Direct-Access
|----Vendor..............................TOSHIBA
|----Model...............................PX04SHB020
|----Revision............................AM04
|----Display Name........................Local TOSHIBA Disk (naa.500003971c88b052)
|----Has Settable Display Name...........true
|----Path Plugin.........................NMP
|----Console Device....................../vmfs/devices/disks/naa.500003971c88b052
|----Devfs Path........................../vmfs/devices/disks/naa.500003971c88b052
|----Size................................200049647616
|----Block Size..........................512
|----Number of Blocks....................390721968
|----SCSI Level..........................6
|----Queue Depth.........................0
|----Is Pseudo...........................false
|----Is Reserved.........................false
|----Is Perennially Reserved.............false
|----Queue Full Sample Size..............0
|----Queue Full Threshold................0
|----Is Offline..........................false
|----Is Local............................true
|----Is Not Shared.......................false
|----Is SSD..............................true
|----Is Thin Provisioned.................true
|----Pending Reservations................0
|----LUN Status..........................0
|----Device Online.......................true
|----Device Max Queue Depth..............64              <<<---- =>32 and thus is a SAS device
|----Number of Outstanding IO Requests...32
|----Data Integrity Enabled..............false
|----Latency Sensitive Threshold.........0