Hi,
How can i check with disk (provided by P400) is "connected" to datastores?
hpssacli ctrl slot=1 ld all show detail - show me serial number, but how can i compare disk showed in ESXi?
esxcfg-info don't showed nothing usable
Any suggestion?
HW: HP SA P400
SW: ESXi 5.5
You can map a datastore to a storage array LUN by the LUN ID. Given you have just one storage array, you will have unique LUN IDs on all your datastore LUNs which can be easily tracked back to the array.
No, it is't or i don't see this IDs :smileyconfused:
Please, let me explain.
Info prov. by esxcfg-info about one datastore:
\==+Vm FileSystem :
|----Volume UUID........................................56daba60-93a0e794-2f92-001a4be896a6
|----Volume Name........................................PIOTR
|----LVM Name...........................................56daba60-78874bc2-88d5-001a4be896a6
|----Type...............................................VMFS
|----Head Extent........................................mpx.vmhba1:C0:T2:L0:1
|----Console Path......................................./vmfs/volumes/56daba60-93a0e794-2f92-001a4be896a6
...
\==+Extents :
\==+Disk Lun Partition :
|----Name.........................................mpx.vmhba1:C0:T2:L0:1
|----Partition Number.............................1
...
|----Console Device.............................../vmfs/devices/disks/mpx.vmhba1:C0:T2:L0:1
|----DevFS Path.................................../vmfs/devices/disks/mpx.vmhba1:C0:T2:L0:1
|----Size.........................................998578847744
|----Type.........................................0x000000fb
|----Guid.........................................aa31e02a400f11db9590000c2911d1b8
\==+Scsi Path :
|----Path Name....................................vmhba1:C0:T2:L0
|----Path UID.....................................block.cciss/c0d6:0-block.0:2-mpx.vmhba1:C0:T2:L0
|----Path UID:Adapter.............................block.cciss/c0d6:0
|----Path UID:Target..............................block.0:2
|----Path UID:Device..............................mpx.vmhba1:C0:T2:L0
|----Is Unique Indentifier........................false
|----Is Persistable Indentifier...................false
|----Path State...................................active
|----Plugin.......................................NMP
|----Adapter Name.................................vmhba1
|----Channel......................................0
|----Target.......................................2
|----Lun..........................................0
|----Device Identifier............................mpx.vmhba1:C0:T2:L0
\==+NMP Scsi Path Configuration :
|----Group state...............................active
|----Array priority............................0
|----SATP config...............................SATP VMW_SATP_LOCAL does not support path configuration.
|----PSP config................................{current: yes; preferred: yes}
\==+PSA Scsi Path Configuration :
|----Path Runtime Name......................vmhba1:C0:T2:L0
|----Path UID...............................block.cciss/c0d6:0-block.0:2-mpx.vmhba1:C0:T2:L0
|----Device Name............................mpx.vmhba1:C0:T2:L0
|----Plugin Name............................NMP
|----Transport Map................................NULL
\==+LUN :
|----Name...................................mpx.vmhba1:C0:T2:L0
|----External Id............................mpx.vmhba1:C0:T2:L0
|----Type...................................Direct-Access
|----Vendor.................................VMware
|----Model..................................Block device
|----Revision...............................1.0
|----Display Name...........................Local VMware Disk (mpx.vmhba1:C0:T2:L0)
|----Has Settable Display Name..............false
|----Path Plugin............................NMP
|----Console Device........................./vmfs/devices/disks/mpx.vmhba1:C0:T2:L0
|----Devfs Path............................./vmfs/devices/disks/mpx.vmhba1:C0:T2:L0
|----Size...................................998580944384
|----Block Size.............................512
|----Number of Blocks.......................1950353407
|----SCSI Level.............................2
|----Queue Depth............................1394632052
|----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.................................false
|----Is Thin Provisioned....................false
|----Pending Reservations...................0
|----LUN Status.............................0
|----Device Online..........................true
|----Number of Outstanding IO Requests......32
\==+NMP Device Configuration :
|----Device..............................mpx.vmhba1:C0:T2:L0
|----SATP Config.........................SATP VMW_SATP_LOCAL does not support device configuration.
|----Path Selection Policy...............VMW_PSP_FIXED
|----Storage Array Type..................VMW_SATP_LOCAL
\==+Selected Paths :
|----Working Path Runtime Name........vmhba1:C0:T2:L0
\==+Fixed Path Selection Policy :
|----Preferred Path Uid...............block.cciss/c0d6:0-block.0:2-mpx.vmhba1:C0:T2:L0
|----Preferred Path Runtime...........vmhba1:C0:T2:L0
\==+Path Selection Policy Device Custom Config :
|----Path Selection Policy.........VMW_PSP_FIXED
|----Configuration String..........{preferred=vmhba1:C0:T2:L0;current=vmhba1:C0:T2:L0}
|----Configured String.............
\==+Device UIDs :
\==+Device UID :
|----UID..............................mpx.vmhba1:C0:T2:L0
|----Is Globally Unique...............false
|----Is Correlatable..................No
|----Is Persistable...................false
\==+Device UID :
|----UID..............................vml.0000000000766d686261313a323a30
|----Is Globally Unique...............false
|----Is Correlatable..................No
|----Is Persistable...................false
Info from P400:
/tmp # hpssacli ctrl slot=1 ld all show detail | egrep -i "logical drive|unique"
Logical Drive: 1
Unique Identifier: 600508B100104539535643325052001C
Logical Drive Label: A8448568P61630E9SVC2PR9463
Logical Drive: 2
Unique Identifier: 600508B100104539535643325052001D
Logical Drive Label: A844857BP61630E9SVC2PRBAE6
Logical Drive: 3
Unique Identifier: 600508B100104539535643325052001E
Logical Drive Label: A8448569P61630E9SVC2PRC37E
Logical Drive: 4
Unique Identifier: 600508B100104539535643325052001F
Logical Drive Label: A8448577P61630E9SVC2PR2F1B
Logical Drive: 5
Unique Identifier: 600508B1001045395356433250520020
Logical Drive Label: A844858CP61630E9SVC2PR95AC
Logical Drive: 6
Unique Identifier: 600508B1001045395356433250520021
Logical Drive Label: A844859DP61630E9SVC2PR79B6
Logical Drive: 7
Unique Identifier: 600508B1001045395356433250520023
Logical Drive Label: A85BB4EBP61630E9SVC2PRCF02
As You can see, any IDs/UUIDs/labels not math between ESXi and P400 ![]()
You can find LUN IDs for each datastore by simply going to host configuration > storage > devices.
esxcfg-scsidevs -m should list the datastores that are mounted. Check for the disk that you are looking for!
Nick_Andreev, AdilArif
It's not that simple ![]()
~ # esxcfg-scsidevs -m
mpx.vmhba1:C0:T4:L0:1 /vmfs/devices/disks/mpx.vmhba1:C0:T4:L0:1 56fb956d-817ab87c-27d3-001a4be896a6 0 MICHAL
mpx.vmhba1:C0:T0:L0:3 /vmfs/devices/disks/mpx.vmhba1:C0:T0:L0:3 56f874f3-497a4eba-fab2-001a4be896a6 0 SYSTEM
mpx.vmhba1:C0:T2:L0:1 /vmfs/devices/disks/mpx.vmhba1:C0:T2:L0:1 56daba60-93a0e794-2f92-001a4be896a6 0 PIOTR
mpx.vmhba1:C0:T3:L0:1 /vmfs/devices/disks/mpx.vmhba1:C0:T3:L0:1 56dd615c-4c604a1a-ab67-001a4be896a6 0 WIKTOR
mpx.vmhba1:C0:T1:L0:1 /vmfs/devices/disks/mpx.vmhba1:C0:T1:L0:1 56d9c8da-7d09671e-3e71-001a4be896a6 0 KAMIL
Storage > Disk show me the same info.
So i have the same info as above.
I can do reboot, maybe i can logging "debug" info to file, and then grep IDs from HP and search address disk in ESXi?
I can't find any info about "how look deeper in ESXi logs" or "logging more" ![]()
Is P400 just a RAID controller? Then I completely messed that one up. I thought it's some LeftHand storage array.
If it's a RAID controller, then what exactly are you trying to map your LUNs to?
Yes, it is RAID controller.
Ctrl provide 7 logical disk:
Smart Array P400 in Slot 1
array A
logicaldrive 1 (930.0 GB, RAID 6, OK)
logicaldrive 2 (930.0 GB, RAID 6, OK)
logicaldrive 3 (930.0 GB, RAID 6, OK)
logicaldrive 4 (930.0 GB, RAID 6, OK)
logicaldrive 5 (930.0 GB, RAID 6, OK)
logicaldrive 6 (930.0 GB, RAID 6, OK)
logicaldrive 7 (8.9 GB, RAID 6, OK)
Where i can check which path (from ESXi) is assigned to which logic. disk?
