Skip to main content
Pure1 Support Portal

View Disk Properties and LUN Information in Windows

Using Disk Manager

  1. Access Disk Manager under "Computer Management" in "Server Manager" or in the command prompt with diskmgmt.msc
  2. Right-Click on the side-bar of the disk you wich to view and select "Properties"
    image.png
     
  3. You will see the LUN number and the target name.  In this example it's "LUN 3" and "PURE   FlashArray"
    image_001.png

Using Command Line & diskpart

  1. Open a command prompt: 
    Start > Run > cmd
  2. Start up the DISKPART utility: 
    C:\ Users\Administrators>diskpart
  3. Select the disk you wish to view (example uses disk 1, it can be any valid disk number):
    DISKPART> select disk 1
  4. View the details of the selected disk: 
    DISKPART> detail disk

image_002.png

More Details on Using Diskpart:  Microsoft Documentation: DiskPart Command Reference

Getting the LUN Serial Number

PowerShell

The following script can be used in PowerShell to get the Serial Number for either physical or virtualized host: 

Windows PowerShell:

$AllDevices = gwmi -Class Win32_DiskDrive -Namespace 'root\CIMV2'
ForEach ($Device in $AllDevices) {
if($Device.Model -like 'PURE FlashArray*') {
@{
Name=$Device.Name;
Caption=$Device.Caption;
Index=$Device.Index;
SerialNo=$Device.SerialNumber;
} | Format-Table -AutoSize
}
}

Example Output:

Name Value
---- -----
Caption PURE FlashArray Multi-Path Disk Device
Name \\.\PHYSICALDRIVE1
SerialNo 95DAA3D006E43D8F0001C15C
Index 1

Name Value
---- -----
Caption PURE FlashArray Multi-Path Disk Device
Name \\.\PHYSICALDRIVE2
SerialNo 95DAA3D006E43D8F00013D18
Index 2

Name Value
---- -----
Caption PURE FlashArray Multi-Path Disk Device
Name \\.\PHYSICALDRIVE3
SerialNo 95DAA3D006E43D8F00013D1A
Index 3

Source: Pure1 Community via Barkz : Getting LUN ID from the Windows Disk ID and Back Again

VMware

For VMware, the serial number from Pure would correlate to the NAA identifier. 

Identifying disks when working with VMware ESXi/ESX (1014953)