Volume move from one SVM to Another snapmirror volume Cluster mode Netapp

In this article I am going to explain volume move from one SVM to another and snapmirror volume cluster mode Netapp (CMode Netapp). Volume rehost can only works when volume has been transitioned from 7-Mode Netapp to Cluster Mode Netapp. 

Transitioned Volume Move from one SVM to Another

Non-Transitioned Volume can’t be rehosted from one SVM to Another SVM, Let’s see the process to transition the volume from 7-Mode to Cluster mode.

Let’s Create one volume in Netapp 7-Mode

7mode> vol create VOLUME1 -l en aggr1 10g

7MTT CLI> Tool

>transition credentials add -h 192.168.4.15 -u root
>transition credentials add -h 192.168.4.16 -u admin
>transition create -s SESSION2 -t standalone -n 192.168.4.15 -c 192.168.4.15 -h 192.168.4.16 -v ARKIT-SVM
>transition volumepair add -s SESSION2 -v VOLUME1 -c VOLUME1 -g AGGR01-SATA
>transition schedule add -s SESSION2 -n SCHED1 -d 0-6 -b 00:00 -e 24:00 -t 25 -u 16:00
>transition show -s SESSION2 -r no
>transition precheck -s SESSION2 -r no
>transition start -s SESSION2 -n -r no
>transition precutover -s SESSION2 -m no_test -r no
>transition cutover -s SESSION2 -r no

Now login to Netapp cluster mode then do rehost volume

ARKITCLU::*> set advanced
ARKITCLU::*> volume rehost -vserver VSRV01 -volume arkroot -destination-vserver VSRV01 -force-unmap-luns false

Move volume from one aggregate to another aggregate

Creating an test volume for volume move operation

ARKITCLU::> volume create -vserver VSRV01 -volume test1 -aggregate aggr1 -size 40MB -state online
[Job 21] Job succeeded: Successful

ARKITCLU::> volume container test1
vserver volume aggregate
------- ------ ---------
VSRV01 test1 aggr1

Execute an below command to move volume from aggr1 aggregate to another aggregate aggr2

ARKITCLU::> volume move start -vserver VSRV01 -volume test1 -destination-aggregate aggr2 -perform-validation-only false
[Job 23] Job is queued: Move "test1" in Vserver "VSRV01" to aggregate "aggr2". Use the "volume move show -vserver VSRV01 -volume test1" command to view the status of this operation.

See the volume move status

ARKITCLU::> volume move show
Vserver Volume State Move Phase Percent-Complete Time-To-Complete
--------- ---------- -------- ---------- ---------------- ----------------
VSRV01 test1 healthy replicating
 47% Wed Aug 10 21:17:58 2016

After successful move verify the volume container

ARKITCLU::> volume container test1
vserver volume aggregate
------- ------ ---------
VSRV01 test1 aggr2

Migrating volume from one SVM to another using snapmirror volume cluster mode Netapp

First we have to create an peer in between vservers, in below example peer has been created between VSRV01 and VSRV2 with snapmirror application type

ARKITCLU::> vserver peer create -vserver VSRV01 -peer-vserver VSRV2 -applications snapmirror -peer-cluster ARKITCLU

Info: 'vserver peer create' command is successful.

Create snapmirror

ARKITCLU::> snapmirror create -source-path VSRV01:test1 -destination-path VSRV2:snap2 -type DP -throttle unlimited
Operation succeeded: snapmirror create for the relationship with destination "VSRV2:snap2".

Check snapmirror relationship

ARKITCLU::> snapmirror show
 Progress
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
----------- ---- ------------ ------- -------------- --------- ------- --------
VSRV01:test1
 DP VSRV2:snap2 Broken-off
 Idle - true -

Initialise snapmirror for base transfer

ARKITCLU::> snapmirror initialize -destination-path VSRV2:snap2 -source-path VSRV01:test1
Operation is queued: snapmirror initialize of destination "VSRV2:snap2".
ARKITCLU::> snapmirror show-history

That’s it about the volume move from one SVM to another and snapmirror volume cluster mode Netapp article

Related Articles

Autosupport manual configuration Netapp Cluster mode

df Command Netapp Cluster mode Awesome examples

Netapp cluster setup

Netapp certified storage associate

Thanks for your wonderful Support and Encouragement

Stay Connected with us. Learn More and Earn More

ARK

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn More

You may also like...

1 Response

  1. rajesh says:

    Thanks for the info Ravi….

Leave a Reply