Disk Enclosures
cancel
Showing results for 
Search instead for 
Did you mean: 

Identify which bcv device group a physical device is in.

Alwyn Santos
Advisor

Identify which bcv device group a physical device is in.


I'm using symbcv list to determine is a bcv was resynced after backup. This give me a physical device name. Is there a way to get the Device Group that this disk belongs to ?

I can get a list of Device Groups and the devices by using the command:
symdg list -v

But I'm looking to go the other way.

For example:
sym??? /dev/rdsk/c21t13d0

Would lisk the Device Group that is belongs to.

Thanks
Mark
2 REPLIES
Quin Hammes
Valued Contributor

Re: Identify which bcv device group a physical device is in.

I think that you would want to do a...

symdev list |grep c21t13d0

or is it

symdev -list |grep c21t13d0

Its been a month or so since I touched a EMC.

Quin
Alwyn Santos
Advisor

Re: Identify which bcv device group a physical device is in.

I just had time to revisit this issue and have come up with the following...

symdev show $(symdev list |grep c21t8d0 | cut -c0-3) | grep ' Device Group Name'


Enjoy,
Mark Greenhalgh