
UNSOLVED
Closed
Unity - Trespass, CLI to set back to default owner
Hi,
I have a bunch of LUNs within a Consistency Group that have trespassed/owner changed to the other SP and I would like to reset all of those LUNs back to the default owner. Is there a command that I can run to do this?
Also, is there a better way to only list those LUNs that are trespassed? I used the following command, but it lists all of the LUNs:
uemcli /stor/prov/luns/lun show -filter "Name, Trespassed"
Thanks,
Responses (8)
Solutions (0)
DELL-Sam L
Community Manager
•
8152 Posts
•
34721 Points
285
0
Posted July 19th, 2023 07:00
Hello macyero,
Which Unity system and what is your current OE version?
DELL-Sam L
Community Manager
•
8152 Posts
•
34721 Points
261
0
Posted July 20th, 2023 06:00
Hello macyero,
Have you tried to run the following command to see if the luns return back to their owner SP?
uemcli -h trespass mine
OR
uemcli -h trespass mine
DELL-Sam L
Community Manager
•
8152 Posts
•
34721 Points
230
0
Posted July 21st, 2023 08:00
Hello macyero,
You are going to have to use the gui to trespass the luns back to their owner. Here is a link that shows the steps. https://dell.to/3rHBEl0
trespass isn't an option in Unisphere or from the uemcli. I don't see it listed in the customizing the columns. The only way to change this is editing each LUN and changing the owner. There must be a way to do this on a bunch of LUNs? What if there were Consistency Groups and each consistency group had 50 LUNs? I would have to go into each Consistency Group and try to find the LUN to modify the owner. There must be a way to do this from the CLI
DELL-Sam L
Community Manager
•
8152 Posts
•
34721 Points
151
0
Posted July 25th, 2023 12:00
Hello macyero,
I have not found any other way of doing it via cli.

macyero
1 Rookie
•
79 Posts
312
0
Posted July 18th, 2023 08:00
I also used the following command to put into a table:
uemcli /stor/prov/luns/lun show -filter "Name, SP owner, Health state, Trespassed" -output table