To rename qtree in NetApp filers, we can follow below procedure.
- 1st make sure your volumes is in R/W state. If volume is snapmirrored and is in R/O mode... execute below procedure .
- Quiesce snapmirror (snapmirror quiesce -S sourcefiler:/vol/vol1/qtree1 destfiler:/vol/vol1/qt1)
- Break snapmirror (snapmirror break destfile:/vol/vol1/qt1)
- Now you can rename qtree, but not with ADMIN mode, we can do only in ADVANCED mode.
- priv set advanced
- qtree rename old qtree path new atree path (qtree rename /vol/vol1/qt1 vol/vol1/qt2)
- Once you rename qtree, make sure you also change share names.
- Then you can resync snapmirror with source filer (snapmirror resync)
If qtrees belongs to volumes which are in specific vfilers, just add "vfiler run vfilername" before executing commands.
No comments:
Post a Comment