2012-01-25 06:49 AM
Is there a way to copy 120 volume names, sizes etc, from one filer to another?
I don't want to copy the data, I'm doing that with snapmirror.
I just want to recreate all the volumes with the same structure on a new filer i'm migrating to.
What's the best way to do this?
Solved! SEE THE SOLUTION
2012-01-25 07:00 AM
I think you can consider using aggr copy:
The biggest downside: unlike with SnapMirror, there is no incremental update.
2012-01-25 08:12 AM
But he's going to use SnapMirror anyway, so if it is possible to resume it later for each volume from existing snapshots, it could be interesting option. Otherwise the biggest downside is need to copy all the data just to create volumes.
I think this is where power shell toolkit could be quite useful. Not being PS expert, I assume it is something like
$source = connect-NaController -Name source
$target = connect-NaController -Name target
get-NaVol -controller $source | New-NaVol -controller $target -Name $_.Name $targetaggr -Size $_.TotalSize ...
Thanks to http://communities.netapp.com/docs/DOC-6293 for explaining how to work with multiple controllers.
Message was edited by: Andrey Borzenkov