2011-12-15 01:18 PM
Let me know if there is an easy way to move SnapMirror volumes to a different aggregate.
Here's the situation, we have multiple sites SnapMirroring to our SAS aggregate. We recently purchased SATA storage on a new aggregate (same controller) that I would like to move the volumes to. Is this something that would need a snapmirror initialization to the new aggregate or can I just break the SnapMirrors, move the volumes, and resync the mirrors?
2011-12-15 01:34 PM
You have to mirror to the new aggregate... from either the existing mirror with a cascade or from the source. If you cascade you can remove the middle man mirror and resync to the new sata target.
2011-12-15 07:14 PM
Yes we're using DFM 4.1, Operations Manager, Provisioning, and Protection Manager with all the snapmirror jobs in datasets. Can you elaborate some more or point me in the direction of documentation explaining the use of the wizard? Thanks.
2011-12-15 07:34 PM
I am not sure whether it existed since DFM 4.1 but you can check in NMC.
Actually this wizard is for managing the space in aggr, but as you wanted to move a secondary volume to different aggr, this is one of the feature in this wizard. Check this out:
One of the point is:
- Enables you to plan and implement migration of volumes on secondary storage.
I guess this is what you are intending to do. Eventhough space management is not your concern, you want to move the secondary volume to a different aggr. Correct me if I did understand your problem wrong.
2011-12-15 11:01 PM
You can also use the command line to migrate secondary volumes which are managed by protection manager. We have done it for snapvault relations and it should work even for snapmirror relations.
Dry run without actually executing the command
dfpm migrate volume -D -d "Destinationfiler:destination-aggregate" -c cleanup_after_migration "sourcefiler:/volume-name"
dfpm migrate volume -d "Destinationfiler:destination-aggregate" -c cleanup_after_migration "sourcefiler:/volume-name"
Hope this helps.
2011-12-30 10:21 AM
Hey arunchak, I found the option you mentioned in the NMC but it is greyed out. It is called "Migrate - Move volume to another aggregate." I am guessing this is an added license feature that we do not have, I believe it is called DataMotion. Thanks for the info.
2012-02-17 12:16 PM
I don't think you need Data Motion in order to do this. I am trying to run through the same process and couldn't figure out why the Migrate option was grayed out for me. Turns out that despite my thinking that the source volume (i.e. original SnapMirror destination) met the volume migration requirements, it actually did not. The volume migration requirements are as follows:
To enable volume migration as a task in a space management plan for an aggregate, the Secondary Space Management wizard must discover potential destination aggregates that meet the volume migration requirements.
In my case, after pulling out some hair (which is already in low supply), I realized that my source volume had an NFS export, thus was not migration capable. As soon as I removed that NFS export on that original Snapmirror destination, I was able to proceed and I have now just used the secondary space management to migrate that volume to another aggregate on the same controller. Hope this helps.