VMWare ESXi - identify LUNs and physical disks - help!
Discussion
I'm running ESXi 5.5
There are 6 disks attached to an HP400 RAID controller.
I need to remove 3 of the disks - however I'm struggling to work out which (physical) disks are associated with which datastore.
I have 2 datastores (datastore1 and datastore2).
Apologies for the wall of text - but perhaps someone can help?
TIA!
/hpacucli ctrl slot=16 pd all show detail (output summarised for brevity)
array A
physicaldrive 2I:0:5
....
physicaldrive 2I:0:6
....
physicaldrive 2I:0:7
array B
physicaldrive 1I:0:1
....
physicaldrive 1I:0:2
....
physicaldrive 1I:0:3
....
<snip>
~ # esxcfg-scsidevs -m
mpx.vmhba2:C0:T0:L0:3 /vmfs/devices/disks/mpx.vmhba2:C0:T0:L0:3 55773f7b-13a1775a-e261-001517d3431e 0 datastore1
mpx.vmhba2:C0:T1:L0:1 /vmfs/devices/disks/mpx.vmhba2:C0:T1:L0:1 5511cba6-967b06f8-8b16-001517d3431e 0 datastore2
~ # esxcfg-scsidevs -a
vmhba2 cciss link-n/a block.cciss/c0d1:0 (0:1:0.0) Hewlett-Packard Company Smart Array P400
~ # esxcfg-scsidevs -l
mpx.vmhba2:C0:T0:L0
Device Type: Direct-Access
Size: 610426 MB
Display Name: Local VMware Disk (mpx.vmhba2:C0:T0:L0)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/mpx.vmhba2:C0:T0:L0
Devfs Path: /vmfs/devices/disks/mpx.vmhba2:C0:T0:L0
Vendor: VMware Model: Block device Revis: 1.0
SCSI Level: 2 Is Pseudo: false Status: on
Is RDM Capable: false Is Removable: false
Is Local: true Is SSD: false
Other Names:
vml.0000000000766d686261323a303a30
VAAI Status: unsupported
mpx.vmhba2:C0:T1:L0
Device Type: Direct-Access
Size: 610426 MB
Display Name: Local VMware Disk (mpx.vmhba2:C0:T1:L0)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/mpx.vmhba2:C0:T1:L0
Devfs Path: /vmfs/devices/disks/mpx.vmhba2:C0:T1:L0
Vendor: VMware Model: Block device Revis: 1.0
SCSI Level: 2 Is Pseudo: false Status: on
Is RDM Capable: false Is Removable: false
Is Local: true Is SSD: false
Other Names:
vml.0000000000766d686261323a313a30
VAAI Status: unsupported
~ # esxcli storage core path list
block.cciss/c0d1:0-block.0:1-mpx.vmhba2:C0:T1:L0
UID: block.cciss/c0d1:0-block.0:1-mpx.vmhba2:C0:T1:L0
Runtime Name: vmhba2:C0:T1:L0
Device: mpx.vmhba2:C0:T1:L0
Device Display Name: Local VMware Disk (mpx.vmhba2:C0:T1:L0)
Adapter: vmhba2
Channel: 0
Target: 1
LUN: 0
Plugin: NMP
State: active
Transport: block
Adapter Identifier: block.cciss/c0d1:0
Target Identifier: block.0:1
Adapter Transport Details: Unavailable or path is unclaimed
Target Transport Details: Unavailable or path is unclaimed
Maximum IO Size: 126976
block.cciss/c0d1:0-block.0:0-mpx.vmhba2:C0:T0:L0
UID: block.cciss/c0d1:0-block.0:0-mpx.vmhba2:C0:T0:L0
Runtime Name: vmhba2:C0:T0:L0
Device: mpx.vmhba2:C0:T0:L0
Device Display Name: Local VMware Disk (mpx.vmhba2:C0:T0:L0)
Adapter: vmhba2
Channel: 0
Target: 0
LUN: 0
Plugin: NMP
State: active
Transport: block
Adapter Identifier: block.cciss/c0d1:0
Target Identifier: block.0:0
Adapter Transport Details: Unavailable or path is unclaimed
Target Transport Details: Unavailable or path is unclaimed
Maximum IO Size: 126976
~ #
~ # esxcli storage filesystem list
Mount Point Volume Name UUID Mounted Type Size Free
----------- ----------------------------------- ------- ------ ------------- -------------
/vmfs/volumes/5511cba6-967b06f8-8b16-001517d3431e datastore2 5511cba6-967b06f8-8b16-001517d3431e true VMFS-5 639950127104 638900502528
/vmfs/volumes/55773f7b-13a1775a-e261-001517d3431e datastore1 55773f7b-13a1775a-e261-001517d3431e true VMFS-5 631897063424 321596162048
There are 6 disks attached to an HP400 RAID controller.
I need to remove 3 of the disks - however I'm struggling to work out which (physical) disks are associated with which datastore.
I have 2 datastores (datastore1 and datastore2).
Apologies for the wall of text - but perhaps someone can help?
TIA!
/hpacucli ctrl slot=16 pd all show detail (output summarised for brevity)
array A
physicaldrive 2I:0:5
....
physicaldrive 2I:0:6
....
physicaldrive 2I:0:7
array B
physicaldrive 1I:0:1
....
physicaldrive 1I:0:2
....
physicaldrive 1I:0:3
....
<snip>
~ # esxcfg-scsidevs -m
mpx.vmhba2:C0:T0:L0:3 /vmfs/devices/disks/mpx.vmhba2:C0:T0:L0:3 55773f7b-13a1775a-e261-001517d3431e 0 datastore1
mpx.vmhba2:C0:T1:L0:1 /vmfs/devices/disks/mpx.vmhba2:C0:T1:L0:1 5511cba6-967b06f8-8b16-001517d3431e 0 datastore2
~ # esxcfg-scsidevs -a
vmhba2 cciss link-n/a block.cciss/c0d1:0 (0:1:0.0) Hewlett-Packard Company Smart Array P400
~ # esxcfg-scsidevs -l
mpx.vmhba2:C0:T0:L0
Device Type: Direct-Access
Size: 610426 MB
Display Name: Local VMware Disk (mpx.vmhba2:C0:T0:L0)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/mpx.vmhba2:C0:T0:L0
Devfs Path: /vmfs/devices/disks/mpx.vmhba2:C0:T0:L0
Vendor: VMware Model: Block device Revis: 1.0
SCSI Level: 2 Is Pseudo: false Status: on
Is RDM Capable: false Is Removable: false
Is Local: true Is SSD: false
Other Names:
vml.0000000000766d686261323a303a30
VAAI Status: unsupported
mpx.vmhba2:C0:T1:L0
Device Type: Direct-Access
Size: 610426 MB
Display Name: Local VMware Disk (mpx.vmhba2:C0:T1:L0)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/mpx.vmhba2:C0:T1:L0
Devfs Path: /vmfs/devices/disks/mpx.vmhba2:C0:T1:L0
Vendor: VMware Model: Block device Revis: 1.0
SCSI Level: 2 Is Pseudo: false Status: on
Is RDM Capable: false Is Removable: false
Is Local: true Is SSD: false
Other Names:
vml.0000000000766d686261323a313a30
VAAI Status: unsupported
~ # esxcli storage core path list
block.cciss/c0d1:0-block.0:1-mpx.vmhba2:C0:T1:L0
UID: block.cciss/c0d1:0-block.0:1-mpx.vmhba2:C0:T1:L0
Runtime Name: vmhba2:C0:T1:L0
Device: mpx.vmhba2:C0:T1:L0
Device Display Name: Local VMware Disk (mpx.vmhba2:C0:T1:L0)
Adapter: vmhba2
Channel: 0
Target: 1
LUN: 0
Plugin: NMP
State: active
Transport: block
Adapter Identifier: block.cciss/c0d1:0
Target Identifier: block.0:1
Adapter Transport Details: Unavailable or path is unclaimed
Target Transport Details: Unavailable or path is unclaimed
Maximum IO Size: 126976
block.cciss/c0d1:0-block.0:0-mpx.vmhba2:C0:T0:L0
UID: block.cciss/c0d1:0-block.0:0-mpx.vmhba2:C0:T0:L0
Runtime Name: vmhba2:C0:T0:L0
Device: mpx.vmhba2:C0:T0:L0
Device Display Name: Local VMware Disk (mpx.vmhba2:C0:T0:L0)
Adapter: vmhba2
Channel: 0
Target: 0
LUN: 0
Plugin: NMP
State: active
Transport: block
Adapter Identifier: block.cciss/c0d1:0
Target Identifier: block.0:0
Adapter Transport Details: Unavailable or path is unclaimed
Target Transport Details: Unavailable or path is unclaimed
Maximum IO Size: 126976
~ #
~ # esxcli storage filesystem list
Mount Point Volume Name UUID Mounted Type Size Free
----------- ----------------------------------- ------- ------ ------------- -------------
/vmfs/volumes/5511cba6-967b06f8-8b16-001517d3431e datastore2 5511cba6-967b06f8-8b16-001517d3431e true VMFS-5 639950127104 638900502528
/vmfs/volumes/55773f7b-13a1775a-e261-001517d3431e datastore1 55773f7b-13a1775a-e261-001517d3431e true VMFS-5 631897063424 321596162048
Edited by TonyRPH on Friday 12th January 15:34
anarki said:
I spent over an hour reading through that and I'm none the wiser, but thanks anyway....Is this any good? It's HP specific but it does look like you're rocking a HP.
http://jeremy-zimmermann.blogspot.co.uk/2016/06/fi...
http://jeremy-zimmermann.blogspot.co.uk/2016/06/fi...
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


