Move Volume to another Aggregate on NetAPP OnTAP 8

Overview

In this tutorial we will be using NetAPP FAS3210 to demonstrate How to Move Volume to another Aggregate on NetAPP OnTAP 8.

Stop NFS Exports

Log-in to NetAPP with SSH / Console (We used PUTTY)

First you need to stop NFS Shares on the needed volume.
I used rdfile to copy the settings from the contents of /etc/exports :

rdfile /etc/exports

Now paste it into a text editor and copy everything besides the lines about your volume and then paste it back to the file :

wrfile /etc/exports

Exit wrfile with Ctrl-C and export the file :

exportfs -r

Stop CIFS Service

cifs terminate

Move Volume to another Aggregate

After we have stopped all sharing services on this volume we can move Volume to another Aggregate:
vol move start volume-name destination-aggregate

you can monitor the process using :

snapmirror status

Wait until you see:

“Successfully completed move of volume volname to aggr aggrname.”

Restore Exports

Now we need to put the NFS exports back so copy the content from the text editor and paste it into the file :

wrfile /etc/exports

Exit wrfile with Ctrl-C and export the file :

exportfs -r

Start CIFS Service

cifs restart

 

All Done!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.