Unsolved

Closed

1 Rookie

 • 

79 Posts

477

July 18th, 2023 08:00

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,

1 Rookie

 • 

79 Posts

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

1 Rookie

 • 

79 Posts

July 19th, 2023 07:00

Array is on old code. 4.4.x

Moderator

 • 

7.7K Posts

July 19th, 2023 07:00

Hello macyero,

Which Unity system and what is your current OE version?

Moderator

 • 

7.7K Posts

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

1 Rookie

 • 

79 Posts

July 21st, 2023 07:00

I don't see trespass available for uemcli on the Unity 4.4.x. Any way to run uemcli to go back to its owner?

Moderator

 • 

7.7K Posts

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

1 Rookie

 • 

79 Posts

July 21st, 2023 10:00

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

Moderator

 • 

7.7K Posts

July 25th, 2023 12:00

Hello macyero,

I have not found any other way of doing it via cli.

No Events found!

Top