3par cli command to show luns :)
Posted: Tue Jul 17, 2012 4:35 pm
found a nice 3par cli command to display luns...showvv
cli% showvv -showcols Id,Name,UsrCPG,VSize_MB
Id Name UsrCPG VSize_MB
0 admin -- 10240
157 box01_fc-0040G-r5_d.0 FC_RAID5_15K_SS4 40960
158 box01_fc-0040G-r5_d.1 FC_RAID5_15K_SS4 40960
159 box01_fc-0040G-r5_d.2 FC_RAID5_15K_SS4 40960
160 box01_fc-0040G-r5_d.3 FC_RAID5_15K_SS4 40960
14 box02_fc-0003G-r1_d.1 FC_RAID1_15K_SS2 3072
15 box02_fc-0003G-r1_d.2 FC_RAID1_15K_SS2 3072
16 box02_fc-0003G-r1_d.3 FC_RAID1_15K_SS2 3072
17 box02_fc-0003G-r1_d.4 FC_RAID1_15K_SS2 3072
32 box02_fc-0006G-r5_d.12 FC_RAID5_15K_SS4 6144
33 box02_fc-0006G-r5_d.13 FC_RAID5_15K_SS4 6144
34 box02_fc-0006G-r5_d.14 FC_RAID5_15K_SS4 6144
35 box02_fc-0006G-r5_d.15 FC_RAID5_15K_SS4 6144
36 box02_fc-0006G-r5_d.16 FC_RAID5_15K_SS4 6144
37 box02_fc-0006G-r5_d.17 FC_RAID5_15K_SS4 6144
20 box02_fc-0012G-r5_d.7 FC_RAID5_15K_SS4 12288
...
you can also list only those associated with a specific box...if hostname is associated w/lun name
cli% showvv -showcols Id,Name,UsrCPG,VSize_MB box01*
Id Name UsrCPG VSize_MB
157 box01_fc-0040G-r5_d.0 FC_RAID5_15K_SS4 40960
158 box01_fc-0040G-r5_d.1 FC_RAID5_15K_SS4 40960
159 box01_fc-0040G-r5_d.2 FC_RAID5_15K_SS4 40960
160 box01_fc-0040G-r5_d.3 FC_RAID5_15K_SS4 40960
----------------------------------------------------------
4 total 163840
I like
cli% showvv -showcols Id,Name,UsrCPG,VSize_MB
Id Name UsrCPG VSize_MB
0 admin -- 10240
157 box01_fc-0040G-r5_d.0 FC_RAID5_15K_SS4 40960
158 box01_fc-0040G-r5_d.1 FC_RAID5_15K_SS4 40960
159 box01_fc-0040G-r5_d.2 FC_RAID5_15K_SS4 40960
160 box01_fc-0040G-r5_d.3 FC_RAID5_15K_SS4 40960
14 box02_fc-0003G-r1_d.1 FC_RAID1_15K_SS2 3072
15 box02_fc-0003G-r1_d.2 FC_RAID1_15K_SS2 3072
16 box02_fc-0003G-r1_d.3 FC_RAID1_15K_SS2 3072
17 box02_fc-0003G-r1_d.4 FC_RAID1_15K_SS2 3072
32 box02_fc-0006G-r5_d.12 FC_RAID5_15K_SS4 6144
33 box02_fc-0006G-r5_d.13 FC_RAID5_15K_SS4 6144
34 box02_fc-0006G-r5_d.14 FC_RAID5_15K_SS4 6144
35 box02_fc-0006G-r5_d.15 FC_RAID5_15K_SS4 6144
36 box02_fc-0006G-r5_d.16 FC_RAID5_15K_SS4 6144
37 box02_fc-0006G-r5_d.17 FC_RAID5_15K_SS4 6144
20 box02_fc-0012G-r5_d.7 FC_RAID5_15K_SS4 12288
...
you can also list only those associated with a specific box...if hostname is associated w/lun name
cli% showvv -showcols Id,Name,UsrCPG,VSize_MB box01*
Id Name UsrCPG VSize_MB
157 box01_fc-0040G-r5_d.0 FC_RAID5_15K_SS4 40960
158 box01_fc-0040G-r5_d.1 FC_RAID5_15K_SS4 40960
159 box01_fc-0040G-r5_d.2 FC_RAID5_15K_SS4 40960
160 box01_fc-0040G-r5_d.3 FC_RAID5_15K_SS4 40960
----------------------------------------------------------
4 total 163840
I like