2013-06-11 07:44 AM
i'm trying to migrate a few snapvaulted volumes from one aggregate to another (32-b aggregate each) in order to gain some space, all that being on the same filer (Data onTAP 8.1.2 7-mode).
Here's what i tried with a test volume :
1 - Snapvault relation stop : snapvault stop -f vault_filer:vol_path
2 - Volume move : vol move start srv_vol destination_aggr
3 - Snapvault relation start : snapvault start -S src_filer:/vol/vol_name/q.xxx /vol/vol_name/q.xxx
My problem here was that right after i restarted my snapvault relation, i lost all my snapshot history (which was here when i did the vol move). All i had left was a "ndvm_final_xxxxxx" snapshot once i started back the SV relation.
Obviously my concern here would be to be able to do that without loosing any snapshot.
After some research i saw that i could be using snapmirror instead, but that might require to create a new volume... ? I'm a bit confused and could need some light here.
Thank you guys.
Solved! SEE THE SOLUTION
2013-06-11 07:55 AM
Try this instead:
1) SnapMirror the SnapVault target to a new volume on the target aggregate, once that completes:
2) Stop the SnapVault relationship
3) Update the SnapMirror relationship
4) Quiesce and then break the SnapMirror
5) Rename the orginal SnapVault target volume (add a '_old' at the end perhaps)
6) Rename the SnapMirror target volume to the same name as the original SnapVault target volume
7) Start the Snapvault relationship
Let me know if this works better for you.
2013-06-14 05:16 AM
"snapvault stop" deletes the qtree on the destination, don't do this if you don't want to re-baseline.
try the method Paul suggested, i.e. snapmirror you SV secondary volume into another volume. The only thing you need to do afterwards is snapmirror break and "snapvault start -r" (which updates the snapvault database and resyncs with the source). Simply renaming the volumes will not work as the SV database stores the volume ID (which changes after snapmirror)
snapvault quiesce ...
snapmirror initialize... update...
snapvault start -r ....
2013-06-14 05:25 AM
See answer below, problem here was the part about stopping the snapvault relationship.
Anyway thank for your help!
Gald to see there's some devoted people here ready to help