HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
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