#Create CG from existing XDP volumes?
1 messages · Page 1 of 1 (latest)
You can only add RW volumes to a CG.
OK that makes things interresting then... maybe if you break the SM, add it to an CG and then resync it up? Or else we have ended up in a dead-end with SMAS (which uses CG) and SnapCenter for VI, which didn't support CG at the time we sat op the SMAS... I think I will do some testing, so see what is possible...
Well... I actually managed to add the XDP volume into a CG without any issues (in my test setup)...
I am now trying to resync between the two CGs.. which is another matter... apparently I have to specify the volumes with the -cg-item-mappings option... like this: s01::*> snapmirror resync -destination-path tst_dst:/cg/tst_dst -source-path tst_src:/cg/tst -cg-item-mappings tst_src_1:@tst_src_1_dest,tst_src_2:@tst_src_2_dest,tst_src_3:@tst_src_3_dest
But I get this strange error: Error: command failed: Relationship database write failed (duplicate entry).
I am not 100% sure it's the correct syntax...
...and if I run the resync without the -cg-item-mappings option I get: Error: command failed: The "cg-item-mappings" parameter is required for a "create" operation for a SnapMirror relationship between Consistency Groups.
my bad, I meant the original local consistency group that you can create using "vserver consistency-group create" not the snapmirror one.