Supondo que você esteja usando o Multipath IO (MPIO) para alta disponibilidade, você pode usar o utilitário mpclaim.exe para obter alguns detalhes sobre os LUNs. Pode haver outra maneira de fazer isso usando o WMI ou o software do seu provedor HBA / SAN, mas até agora a única solução genérica que encontrei é usando o mpclaim. Mesmo assim, difere ligeiramente do que está listado em outras plataformas.
Por exemplo, no Linux você usaria algo como multipath -ll para obter esse tipo de saída:
[root@localhost ~]# multipath -ll
mpathb (360A9800572D4F6761346536792D6C56) dm-2 NETAPP,LUN
size=150G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=4 status=active
| |- 0:0:1:1 sdg 8:96 active ready running
| '- 1:0:1:1 sdi 8:128 active ready running
'-+- policy='round-robin 0' prio=1 status=enabled
|- 0:0:0:1 sdc 8:32 active ready running
'- 1:0:0:1 sde 8:64 active ready running
mpatha (360A9800572D4F675034653679386A69) dm-1 NETAPP,LUN
size=150G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=4 status=active
| |- 0:0:0:0 sdb 8:16 active ready running
| '- 1:0:0:0 sdd 8:48 active ready running
'-+- policy='round-robin 0' prio=1 status=enabled
|- 0:0:1:0 sdf 8:80 active ready running
'- 1:0:1:0 sdh 8:112 active ready running
Isso mostra 2 LUNs conectadas por meio de 4 caminhos cada. Agora, para obter informações semelhantes no Windows, você deve usar mpclaim -vc: \ mpio .txt para criar um arquivo de texto com esta saída:
MPIO Storage Snapshot on Friday, 31 August 2012, at 13:14:45.345
Registered DSMs: 1
================
+--------------------------------|-------------------|----|----|----|---|-----+
|DSM Name | Version |PRP | RC | RI |PVP| PVE |
|--------------------------------|-------------------|----|----|----|---|-----|
|Microsoft DSM |006.0001.07601.17514|0020|0003|0001|030|False|
+--------------------------------|-------------------|----|----|----|---|-----+
Microsoft DSM
=============
MPIO Disk1: 04 Paths, Round Robin, ALUA Not Supported
SN: 60A9800572D4F6761346536792D6C56
Supported Load Balance Policies: FOO RR RRWS LQD WP LB
Path ID State SCSI Address Weight
---------------------------------------------------------------------------
0000000077030001 Active/Optimized 003|000|001|001 0
Adapter: QLogic Fibre Channel Adapter... (B|D|F: 034|000|000)
Controller: 46616B65436F6E74726F6C6C6572 (State: Active)
0000000077030000 Active/Optimized 003|000|000|001 0
Adapter: QLogic Fibre Channel Adapter... (B|D|F: 034|000|000)
Controller: 46616B65436F6E74726F6C6C6572 (State: Active)
0000000077010001 Active/Optimized 001|000|001|001 0
Adapter: QLogic Fibre Channel Adapter... (B|D|F: 006|000|000)
Controller: 46616B65436F6E74726F6C6C6572 (State: Active)
0000000077010000 Active/Optimized 001|000|000|001 0
Adapter: QLogic Fibre Channel Adapter... (B|D|F: 006|000|000)
Controller: 46616B65436F6E74726F6C6C6572 (State: Active)
MPIO Disk0: 04 Paths, Round Robin, ALUA Not Supported
SN: 60A9800572D4F675034653679386A69
Supported Load Balance Policies: FOO RR RRWS LQD WP LB
Path ID State SCSI Address Weight
---------------------------------------------------------------------------
0000000077030001 Active/Optimized 003|000|001|000 0
Adapter: QLogic Fibre Channel Adapter... (B|D|F: 034|000|000)
Controller: 46616B65436F6E74726F6C6C6572 (State: Active)
0000000077030000 Active/Optimized 003|000|000|000 0
Adapter: QLogic Fibre Channel Adapter... (B|D|F: 034|000|000)
Controller: 46616B65436F6E74726F6C6C6572 (State: Active)
0000000077010001 Active/Optimized 001|000|001|000 0
Adapter: QLogic Fibre Channel Adapter... (B|D|F: 006|000|000)
Controller: 46616B65436F6E74726F6C6C6572 (State: Active)
0000000077010000 Active/Optimized 001|000|000|000 0
Adapter: QLogic Fibre Channel Adapter... (B|D|F: 006|000|000)
Controller: 46616B65436F6E74726F6C6C6572 (State: Active)
MSDSM-wide default load balance policy: N\A
No target-level default load balance policies have been set.
================================================================================
Você notará que no Linux o WWID começa com um 3, mas caso contrário o SN e o WWID devem corresponder ao que está listado no SAN Controller. Você pode obter detalhes adicionais sobre o FC HBA usando fcinfo / details ou o < href="http://terrytlslau.tls1.cc/2011/08/how-to-find-world-wide-name-wwn-in.html"> Gerenciador de armazenamento console de gerenciamento. O Server 2012 adicionará novos cmdlets MPIO , mas ainda não tive a chance de testá-los .