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 ;-/
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.
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'
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,