EMC – Listing pool disks with naviseccli

Mat‘s been doing some work on the DIY Heatmaps script, and came across an interesting bug in naviseccli. It seems that using the “-list -disks” option displays the drives in one pool, whereas “-list -all” displays disks for every pool. This seems to have popped up in the latest version of naviseccli. It’s a bit weird. We’re running these commands against CX4 arrays running the latest R30 FLARE. Whether this behaves differently on the VNX or not, I’m not sure. Notice also that Mat has started using ******** as his password too ;)

C:\scripts\heatmap>naviseccli -help
@(#)Navisphere naviseccli Revision 7.31.30.0.90 on Sun Dec 4 20:34:42 2011
Copyright (C) 1997-2011, EMC Corporation

C:\scripts\heatmap>naviseccli -user mat -password ******** -scope 0 -h SPB storagepool -list -disks
Pool Name: SP_SIL_10_EXCH_LOGS_1
Pool ID: 2
Disks:

Pool Name: SP_GOL_5
Pool ID: 0
Disks:

Pool Name: SP_SIL02_5
Pool ID: 6
Disks:

Pool Name: SP_SIL03_5
Pool ID: 7
Disks:

Pool Name: SP_ICMS_10
Pool ID: 4
Disks:

Pool Name: SP_SIL05_5_SQL
Pool ID: 9
Disks:

Pool Name: SP_SIL_10
Pool ID: 5
Disks:
Bus 4 Enclosure 7 Disk 5
Bus 0 Enclosure 2 Disk 11
Bus 6 Enclosure 6 Disk 7
Bus 6 Enclosure 6 Disk 9
Bus 3 Enclosure 2 Disk 11
Bus 0 Enclosure 2 Disk 12
Bus 2 Enclosure 7 Disk 3
Bus 2 Enclosure 7 Disk 5
Bus 4 Enclosure 7 Disk 10
Bus 4 Enclosure 7 Disk 12
Bus 1 Enclosure 7 Disk 3
Bus 1 Enclosure 7 Disk 5
Bus 1 Enclosure 7 Disk 7
Bus 7 Enclosure 0 Disk 6
Bus 4 Enclosure 7 Disk 7
Bus 4 Enclosure 7 Disk 9
Bus 7 Enclosure 0 Disk 11
Bus 2 Enclosure 7 Disk 7
Bus 2 Enclosure 7 Disk 9
Bus 7 Enclosure 0 Disk 8
Bus 6 Enclosure 6 Disk 11
Bus 4 Enclosure 7 Disk 6
Bus 0 Enclosure 2 Disk 6
Bus 0 Enclosure 2 Disk 8
Bus 2 Enclosure 7 Disk 2
Bus 2 Enclosure 7 Disk 4
Bus 2 Enclosure 7 Disk 6
Bus 4 Enclosure 7 Disk 11
Bus 1 Enclosure 7 Disk 2
Bus 1 Enclosure 7 Disk 4
Bus 1 Enclosure 7 Disk 6
Bus 7 Enclosure 0 Disk 5
Bus 7 Enclosure 0 Disk 7
[snip]

Bus 5 Enclosure 2 Disk 6
Bus 5 Enclosure 2 Disk 8
Bus 6 Enclosure 6 Disk 5
Bus 2 Enclosure 7 Disk 8
Bus 3 Enclosure 2 Disk 6
Bus 3 Enclosure 2 Disk 8
Bus 5 Enclosure 2 Disk 11
Bus 7 Enclosure 0 Disk 9
Bus 6 Enclosure 6 Disk 10
Bus 6 Enclosure 6 Disk 12

Pool Name: SP_SIL04_5
Pool ID: 8
Disks:

Pool Name: SP_SIL_5_EXCH_DATA_1
Pool ID: 1
Disks:

Pool Name: SP_SIL01_5
Pool ID: 3
Disks:

C:\scripts\heatmap>naviseccli -user mat -password ******** -scope 0 -h SPB storagepool -list -all
Pool Name: SP_SIL_10_EXCH_LOGS_1
Pool ID: 2
Raid Type: r_10
Percent Full Threshold: 70
Description:
Disk Type: Fibre Channel
State: Ready
Status: OK(0x0)
Current Operation: None
Current Operation State: N/A
Current Operation Status: N/A
Current Operation Percent Completed: 0
Raw Capacity (Blocks): 54036889600
Raw Capacity (GBs): 25766.797
User Capacity (Blocks): 26845184000
User Capacity (GBs): 12800.781
Consumed Capacity (Blocks): 21862046720
Consumed Capacity (GBs): 10424.636
Available Capacity (Blocks): 4983137280
Available Capacity (GBs): 2376.145

Percent Full: 81.438
Total Subscribed Capacity (Blocks): 21862046720
Total Subscribed Capacity (GBs): 10424.636
Percent Subscribed: 81.438
Oversubscribed by (Blocks): 0
Oversubscribed by (GBs): 0.000
Auto-Tiering: Manual
Tier Name: FC
Raid Type: r_10
User Capacity (GBs): 12800.78
Consumed Capacity (GBs): 6311.39
Available Capacity (GBs): 6489.40
Percent Subscribed: 49.30%
Data Targeted for Higher Tier (GBs): 0.00
Data Targeted for Lower Tier (GBs): 0.00
Disks (Type):
Bus 3 Enclosure 5 Disk 5 (Fibre Channel)
Bus 3 Enclosure 5 Disk 8 (Fibre Channel)
Bus 6 Enclosure 2 Disk 11 (Fibre Channel)
Bus 7 Enclosure 4 Disk 6 (Fibre Channel)
Bus 7 Enclosure 4 Disk 8 (Fibre Channel)
Bus 0 Enclosure 3 Disk 5 (Fibre Channel)
Bus 0 Enclosure 3 Disk 7 (Fibre Channel)
Bus 0 Enclosure 3 Disk 9 (Fibre Channel)
Bus 5 Enclosure 4 Disk 11 (Fibre Channel)
Bus 6 Enclosure 2 Disk 12 (Fibre Channel)
Bus 4 Enclosure 2 Disk 11 (Fibre Channel)
Bus 1 Enclosure 5 Disk 5 (Fibre Channel)
Bus 1 Enclosure 5 Disk 8 (Fibre Channel)
Bus 5 Enclosure 4 Disk 6 (Fibre Channel)
Bus 5 Enclosure 4 Disk 8 (Fibre Channel)
Bus 4 Enclosure 2 Disk 6 (Fibre Channel)
Bus 4 Enclosure 2 Disk 8 (Fibre Channel)
Bus 2 Enclosure 3 Disk 11 (Fibre Channel)
Bus 3 Enclosure 5 Disk 10 (Fibre Channel)
[snip]
Bus 6 Enclosure 2 Disk 10 (Fibre Channel)
Bus 7 Enclosure 4 Disk 7 (Fibre Channel)
Bus 7 Enclosure 4 Disk 9 (Fibre Channel)
Bus 1 Enclosure 5 Disk 11 (Fibre Channel)
Bus 1 Enclosure 5 Disk 6 (Fibre Channel)
Bus 6 Enclosure 2 Disk 5 (Fibre Channel)
Bus 6 Enclosure 2 Disk 7 (Fibre Channel)
Bus 6 Enclosure 2 Disk 9 (Fibre Channel)
Bus 7 Enclosure 4 Disk 12 (Fibre Channel)
Bus 5 Enclosure 4 Disk 7 (Fibre Channel)
Bus 5 Enclosure 4 Disk 9 (Fibre Channel)
Bus 4 Enclosure 2 Disk 7 (Fibre Channel)
Bus 4 Enclosure 2 Disk 9 (Fibre Channel)
Bus 4 Enclosure 2 Disk 12 (Fibre Channel)
Bus 7 Enclosure 4 Disk 11 (Fibre Channel)
Bus 2 Enclosure 3 Disk 5 (Fibre Channel)
Bus 2 Enclosure 3 Disk 7 (Fibre Channel)
Bus 2 Enclosure 3 Disk 9 (Fibre Channel)

Disks:
LUNs: 350, 316, 393, 354, 397, 318, 358, 391, 392, 353, 396, 360, 319, 356, 317, 357, 394, 355, 399, 390, 398, 352, 395, 315, 351, 359
FAST Cache: Disabled

Pool Name: SP_GOL_5
Pool ID: 0
Raid Type: r_5
Percent Full Threshold: 70
Description:
Disk Type: Fibre Channel
State: Ready
Status: OK(0x0)
Current Operation: None
Current Operation State: N/A
Current Operation Status: N/A
Current Operation Percent Completed: 0
Raw Capacity (Blocks): 25329792000
Raw Capacity (GBs): 12078.186
User Capacity (Blocks): 20259724800
User Capacity (GBs): 9660.590
Consumed Capacity (Blocks): 17973689600
Consumed Capacity (GBs): 8570.523
Available Capacity (Blocks): 2286035200
Available Capacity (GBs): 1090.067
Percent Full: 88.716
Total Subscribed Capacity (Blocks): 17973689600
Total Subscribed Capacity (GBs): 8570.523
Percent Subscribed: 88.716
Oversubscribed by (Blocks): 0
Oversubscribed by (GBs): 0.000
Auto-Tiering: Scheduled

Tier Name: FC
Raid Type: r_5
User Capacity (GBs): 9660.59
Consumed Capacity (GBs): 3417.21
Available Capacity (GBs): 6243.38
Percent Subscribed: 35.37%
Data Targeted for Higher Tier (GBs): 0.00
Data Targeted for Lower Tier (GBs): 0.00
Disks (Type):
Bus 1 Enclosure 2 Disk 8 (Fibre Channel)
Bus 1 Enclosure 2 Disk 6 (Fibre Channel)
Bus 0 Enclosure 5 Disk 9 (Fibre Channel)
Bus 0 Enclosure 5 Disk 7 (Fibre Channel)
Bus 0 Enclosure 5 Disk 5 (Fibre Channel)
Bus 4 Enclosure 0 Disk 11 (Fibre Channel)
Bus 4 Enclosure 0 Disk 13 (Fibre Channel)
Bus 2 Enclosure 0 Disk 8 (Fibre Channel)
Bus 2 Enclosure 0 Disk 6 (Fibre Channel)
Bus 1 Enclosure 2 Disk 5 (Fibre Channel)
Bus 6 Enclosure 0 Disk 11 (Fibre Channel)
Bus 6 Enclosure 0 Disk 13 (Fibre Channel)
Bus 3 Enclosure 0 Disk 11 (Fibre Channel)
Bus 3 Enclosure 0 Disk 13 (Fibre Channel)
Bus 2 Enclosure 0 Disk 9 (Fibre Channel)
Bus 2 Enclosure 0 Disk 7 (Fibre Channel)
Bus 2 Enclosure 0 Disk 5 (Fibre Channel)
Bus 1 Enclosure 2 Disk 9 (Fibre Channel)
Bus 1 Enclosure 2 Disk 7 (Fibre Channel)
Bus 0 Enclosure 5 Disk 8 (Fibre Channel)
Bus 0 Enclosure 5 Disk 6 (Fibre Channel)
Bus 6 Enclosure 0 Disk 10 (Fibre Channel)
Bus 6 Enclosure 0 Disk 12 (Fibre Channel)
Bus 6 Enclosure 0 Disk 14 (Fibre Channel)
Bus 3 Enclosure 0 Disk 10 (Fibre Channel)
Bus 3 Enclosure 0 Disk 12 (Fibre Channel)
Bus 3 Enclosure 0 Disk 14 (Fibre Channel)
Bus 4 Enclosure 0 Disk 10 (Fibre Channel)
Bus 4 Enclosure 0 Disk 12 (Fibre Channel)
Bus 4 Enclosure 0 Disk 14 (Fibre Channel)

Disks:
LUNs: 1102, 902, 997, 1987, 900, 1988, 986, 1983, 984, 901, 988, 1986, 1984, 985, 983, 700, 1101, 998, 987, 1985
FAST Cache: Enabled

Pool Name: SP_SIL02_5
Pool ID: 6
Raid Type: r_5
Percent Full Threshold: 70
Description:
Disk Type: Fibre Channel
State: Ready
Status: OK(0x0)
Current Operation: None
Current Operation State: N/A
Current Operation Status: N/A
Current Operation Percent Completed: 0
Raw Capacity (Blocks): 50659584000
Raw Capacity (GBs): 24156.372
User Capacity (Blocks): 40519449600
User Capacity (GBs): 19321.179
Consumed Capacity (Blocks): 38644481280
Consumed Capacity (GBs): 18427.125
Available Capacity (Blocks): 1874968320
Available Capacity (GBs): 894.055
Percent Full: 95.373
Total Subscribed Capacity (Blocks): 38644481280
Total Subscribed Capacity (GBs): 18427.125
Percent Subscribed: 95.373
Oversubscribed by (Blocks): 0
Oversubscribed by (GBs): 0.000
Auto-Tiering: Scheduled

Tier Name: FC
Raid Type: r_5
User Capacity (GBs): 19321.18
Consumed Capacity (GBs): 8620.53
Available Capacity (GBs): 10700.65
Percent Subscribed: 44.62%
Data Targeted for Higher Tier (GBs): 0.00
Data Targeted for Lower Tier (GBs): 0.00
Disks (Type):
Bus 6 Enclosure 7 Disk 14 (Fibre Channel)
Bus 6 Enclosure 7 Disk 12 (Fibre Channel)
Bus 6 Enclosure 7 Disk 10 (Fibre Channel)
Bus 2 Enclosure 0 Disk 14 (Fibre Channel)
Bus 2 Enclosure 0 Disk 12 (Fibre Channel)
Bus 2 Enclosure 0 Disk 10 (Fibre Channel)
Bus 0 Enclosure 5 Disk 14 (Fibre Channel)
Bus 0 Enclosure 5 Disk 12 (Fibre Channel)
Bus 0 Enclosure 5 Disk 10 (Fibre Channel)
Bus 5 Enclosure 0 Disk 9 (Fibre Channel)
Bus 5 Enclosure 0 Disk 1 (Fibre Channel)
Bus 5 Enclosure 5 Disk 5 (Fibre Channel)
Bus 6 Enclosure 7 Disk 6 (Fibre Channel)
Bus 5 Enclosure 0 Disk 4 (Fibre Channel)
Bus 5 Enclosure 0 Disk 2 (Fibre Channel)
Bus 5 Enclosure 0 Disk 6 (Fibre Channel)
Bus 5 Enclosure 5 Disk 7 (Fibre Channel)
Bus 3 Enclosure 3 Disk 8 (Fibre Channel)
Bus 3 Enclosure 3 Disk 6 (Fibre Channel)
Bus 1 Enclosure 2 Disk 14 (Fibre Channel)
Bus 1 Enclosure 2 Disk 12 (Fibre Channel)
Bus 1 Enclosure 2 Disk 10 (Fibre Channel)
Bus 7 Enclosure 5 Disk 5 (Fibre Channel)
Bus 5 Enclosure 0 Disk 11 (Fibre Channel)
Bus 5 Enclosure 0 Disk 13 (Fibre Channel)
Bus 2 Enclosure 0 Disk 13 (Fibre Channel)
Bus 2 Enclosure 0 Disk 11 (Fibre Channel)
Bus 0 Enclosure 5 Disk 13 (Fibre Channel)
Bus 0 Enclosure 5 Disk 11 (Fibre Channel)
Bus 7 Enclosure 5 Disk 8 (Fibre Channel)
Bus 6 Enclosure 7 Disk 9 (Fibre Channel)
Bus 6 Enclosure 7 Disk 7 (Fibre Channel)
Bus 5 Enclosure 0 Disk 8 (Fibre Channel)
Bus 3 Enclosure 3 Disk 14 (Fibre Channel)
Bus 3 Enclosure 3 Disk 12 (Fibre Channel)
Bus 3 Enclosure 3 Disk 10 (Fibre Channel)
Bus 5 Enclosure 5 Disk 6 (Fibre Channel)
Bus 5 Enclosure 0 Disk 3 (Fibre Channel)
Bus 5 Enclosure 0 Disk 7 (Fibre Channel)
Bus 5 Enclosure 0 Disk 5 (Fibre Channel)
Bus 3 Enclosure 3 Disk 9 (Fibre Channel)
Bus 3 Enclosure 3 Disk 7 (Fibre Channel)
Bus 3 Enclosure 3 Disk 5 (Fibre Channel)
Bus 6 Enclosure 7 Disk 13 (Fibre Channel)
Bus 6 Enclosure 7 Disk 11 (Fibre Channel)
Bus 5 Enclosure 0 Disk 10 (Fibre Channel)
Bus 5 Enclosure 0 Disk 12 (Fibre Channel)
Bus 5 Enclosure 0 Disk 14 (Fibre Channel)
Bus 5 Enclosure 5 Disk 14 (Fibre Channel)
Bus 7 Enclosure 5 Disk 7 (Fibre Channel)
Bus 7 Enclosure 5 Disk 9 (Fibre Channel)
Bus 6 Enclosure 7 Disk 8 (Fibre Channel)
Bus 5 Enclosure 0 Disk 0 (Fibre Channel)
Bus 3 Enclosure 3 Disk 13 (Fibre Channel)
Bus 3 Enclosure 3 Disk 11 (Fibre Channel)
Bus 6 Enclosure 7 Disk 5 (Fibre Channel)
Bus 5 Enclosure 5 Disk 8 (Fibre Channel)
Bus 1 Enclosure 2 Disk 13 (Fibre Channel)
Bus 1 Enclosure 2 Disk 11 (Fibre Channel)
Bus 7 Enclosure 5 Disk 6 (Fibre Channel)

Disks:
LUNs: 7214, 501, 993, 999, 701, 509, 991, 990, 936, 500, 996, 994, 992, 1100
FAST Cache: Enabled