UNSOLVED

sk_

updated

10 years ago

S

sk_

1 Rookie

•

104 Posts

0

5174

July 19th, 2016 22:00

How to list current SP for all LUNs?

Running Unity for Block, how can I list/report the current SP (owner) for all LUNs? It is not displayed in LUN listing, and I haven't seen any reports or "folder view" to show this information?

So far I have only seen this info in LUN properties, but that needs one-by-one checking ;-/

thanks,

  • Equelin

    20 Posts

    3635

    1

    Posted July 20th, 2016 03:00

    Hello,

    I did not find this possibility in Unipshere but you can do it with CLI or Rest API.

    Here is an example with EMCLI for VMware VMFS LUN:

    uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/vmware/vmfs show

    Storage system address: 10.0.0.1

    Storage system port: 443

    HTTPS connection

    1: ID = VMFS_1

    LUN = sv_1

    Name = MyVMware

    Description = My description

    Health state = OK (5)

    Storage pool ID = pool_2

    Storage pool = capacity

    Size = 107374182400 (100G)

    Protection size used = 0

    SP owner = SPA

    Trespassed = no


    You'll find the same info for block LUN with the parameter /stor/prov/luns/lun show


    Regards,

  • kelleg

    6 Operator

    •

    4537 Posts

    3635

    0

    Posted August 2nd, 2016 14:00

    Was your question answered correctly? If so, please remember to mark your question Answered when you get the correct answer and award points to the person providing the answer. This helps others searching for a similar issue.

    glen

  • zayedm

    2 Posts

    3635

    0

    Posted August 22nd, 2016 02:00

    Hi, it does require clicking using GUI per each LUN but you can apply the same command Equelinprovided via CLI which will be a good view of SP per LUN Name:

    spa:~> uemcli /stor/prov/luns/lun show |  egrep 'Name|SP'

          Name                 = hyper-v-00

          SP owner             = SPA

          Name                 = hyper-v-01

          SP owner             = SPB

          Name                 = DR_hyper-v-00

          SP owner             = SPA

          Name                 = DR_hyper-v-01

          SP owner             = SPA

          Name                 = lun 0

          SP owner             = SPA

          Name                 = lun1

          SP owner             = SPB

          Name                 = LUN_Hiroki

          SP owner             = SPA

          Name                 = DR_LUN_Hiroki

          SP owner             = SPA

          Name                 = myname

          SP owner             = SPA

  • kelleg

    6 Operator

    •

    4537 Posts

    3635

    0

    Posted August 22nd, 2016 08:00

    You might want to submit a Request for Enhancement to EMC to add the SP owner column to the BLOCK listing.

    glen