This post is more than 5 years old
12 Posts
0
4538
May 2nd, 2017 12:00
Get LUN Properties
Hi, how do I get a listing of LUNs and their paramers from the command line?
I need:
LUN name
Size (User Capacity, Consumed Capacity)
Thin / thick
Compress
Dedup
I Try
Naviseccli -h lun -list
... no dedup information
Powershell ... via Get-EmcLun
... very few features
Unisphere
... can not be automated
VNX Monitoring & Reporting
... very few features, no castomized reports
Thank you, Jirka.
No Events found!
Jiri.Barta
12 Posts
0
May 2nd, 2017 22:00
Yes, thank you.
Jirka.
Example output ...
---------------------------
C:\>naviseccli -h lun -list -l 33 -all
LOGICAL UNIT NUMBER 33
Name: lun_name
UID:
Current Owner: SP B
Default Owner: SP B
Allocation Owner: SP B
User Capacity (Blocks): 12884901888
User Capacity (GBs): 6144.000
Consumed Capacity (Blocks): N/A
Consumed Capacity (GBs): N/A
LUN Allocation (Blocks): N/A
LUN Allocation (GBs): N/A
Snapshot Allocation (Blocks): N/A
Snapshot Allocation (GBs): N/A
Metadata Allocation (Blocks): 1338192896
Metadata Allocation (GBs): 638.100
Uncommitted Allocation (Blocks): 5045920048
Uncommitted Allocation (GBs): 2406.082
Snapshot Subscribed Capacity (Blocks): N/A
Snapshot Subscribed Capacity (GBs): N/A
Metadata Subscribed Capacity (Blocks): 4234150912
Metadata Subscribed Capacity (GBs): 2019.000
Compression Savings (Blocks): N/A
Compression Savings (GBs): N/A
Pool Name: Pool_02
Raid Type: r_5
Disk Type: SAS Flash 2
Offset: 0
Auto-Assign Enabled: DISABLED
Auto-Trespass Enabled: DISABLED
Current State: Ready
Status: OK(0x0)
Is Faulted: false
Is Transitioning: false
Current Operation: None
Current Operation State: N/A
Current Operation Status: N/A
Current Operation Percent Completed: 0
Statistics Logging Current Time: 05/03/17 07:20:17
Read Requests: 34925866
Read Requests SP A: 16470149
Read Requests SP B: 18455717
Write Requests: 23422953
Write Requests SP A: 12351657
Write Requests SP B: 11071296
Blocks Read: 3066205204
Blocks Read SP A: 1717038309
Blocks Read SP B: 1349166895
Blocks Written: 5131576003
Blocks Written SP A: 3490596517
Blocks Written SP B: 1640979486
Busy Ticks: 709113757
Busy Ticks SP A: 1573534950
Busy Ticks SP B: 3430546103
Idle Ticks: 771034547
Idle Ticks SP A: 3464223776
Idle Ticks SP B: 1601778067
Sum of Outstanding Requests: 362356127
Sum of Outstanding Requests SP A: 236069870
Sum of Outstanding Requests SP B: 126286257
Non-Zero Request Count Arrivals: 32419861
Non-Zero Request Count Arrivals SP A: 17616245
Non-Zero Request Count Arrivals SP B: 14803616
Implicit Trespasses: 2
Implicit Trespasses SP A: 0
Implicit Trespasses SP B: 2
Explicit Trespasses: 2
Explicit Trespasses SP A: 1
Explicit Trespasses SP B: 1
Is Pool LUN: Yes
Is Thin LUN: Yes
Is Private: No
Is Compressed: No
Deduplication State: On
Deduplication Status: OK(0x0)
Features: N/A
Tiering Policy: Auto Tier
Initial Tier: Highest Available
Tier Distribution:
Extreme Performance: 100.00%
Allow Snapshot Auto-Delete: Yes
Snapshot Mount Points: N/A
Consistency Group: N/A
Primary LUN: N/A
Attached Snapshot: N/A
Allow Inband Snap Attach: N/A
Allocation Policy: Automatic
kelleg
4.5K Posts
1
May 2nd, 2017 13:00
Look in the latest Unisphere Command Line Interface for Block - look in the Virtual Pools Commands.
glen