Page 1 of 1

3par cli command to show luns :)

Posted: Tue Jul 17, 2012 4:35 pm
by mr_manny
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 :)

Re: 3par cli command to show luns :)

Posted: Wed Aug 15, 2012 5:08 pm
by mr_manny
How do I translate these 3par luns to hdisk# on aix?


cli% showvv -showcols Id,Name,VSize_MB aixbox01*
Id Name VSize_MB
81 aixbox01_fc-0003G-r1_d.0 3072
82 aixbox01_fc-0003G-r1_d.1 3072
83 aixbox01_fc-0003G-r1_d.2 3072
84 aixbox01_fc-0003G-r1_d.3 3072
51 aixbox01_fc-0012G-r5_d.0 12288
52 aixbox01_fc-0012G-r5_d.1 12288
57 aixbox01_fc-0020G-r5_d.0 20480
58 aixbox01_fc-0020G-r5_d.1 20480
59 aixbox01_fc-0020G-r5_d.2 20480
60 aixbox01_fc-0020G-r5_d.3 20480
61 aixbox01_fc-0020G-r5_d.4 20480
62 aixbox01_fc-0020G-r5_d.5 20480
63 aixbox01_fc-0020G-r5_d.6 20480
64 aixbox01_fc-0020G-r5_d.7 20480
65 aixbox01_fc-0020G-r5_d.8 20480
66 aixbox01_fc-0020G-r5_d.9 20480
67 aixbox01_fc-0020G-r5_d.10 20480
68 aixbox01_fc-0020G-r5_d.11 20480
69 aixbox01_fc-0020G-r5_d.12 20480
70 aixbox01_fc-0020G-r5_d.13 20480
71 aixbox01_fc-0020G-r5_d.14 20480
72 aixbox01_fc-0020G-r5_d.15 20480
73 aixbox01_fc-0020G-r5_d.16 20480
74 aixbox01_fc-0020G-r5_d.17 20480
75 aixbox01_fc-0020G-r5_d.18 20480
76 aixbox01_fc-0020G-r5_d.19 20480
77 aixbox01_fc-0020G-r5_d.20 20480
78 aixbox01_fc-0020G-r5_d.21 20480
79 aixbox01_fc-0020G-r5_d.22 20480
80 aixbox01_fc-0020G-r5_d.23 20480
85 aixbox01_fc-0020G-r5_d.24 20480
86 aixbox01_fc-0020G-r5_d.25 20480
47 aixbox01_fc-0036G-r5_d.0 36864
48 aixbox01_fc-0036G-r5_d.1 36864
49 aixbox01_fc-0036G-r5_d.2 36864
50 aixbox01_fc-0036G-r5_d.3 36864
53 aixbox01_fc-0125G-r5_d.0 128000
54 aixbox01_fc-0125G-r5_d.1 128000
55 aixbox01_fc-0125G-r5_d.2 128000
56 aixbox01_fc-0125G-r5_d.3 128000
-------------------------------------
40 total 1228800


anyone have aix using 3par storage?


thanks

Re: 3par cli command to show luns :)

Posted: Fri Aug 17, 2012 12:25 am
by Richard Siemers
We've been using 3PAR on aix for about 3 years now. The only identifying field between the host and 3PAR is by LUN#.

Check out this thread for a AIX specific script: viewtopic.php?f=17&t=32