You can restore a vFiler unit by using the vfiler create -r command. You restore a vFiler unit in the following scenarios: during disaster recovery, data migration (if the migration fails and the vFiler unit on the source storage system is destroyed), or if a vFiler unit is accidentally deleted.
The /etc configuration directory must exist in the source or destination storage system. If the /etc configuration directory does not exist in the source or destination storage system, you can copy the /etc configuration directory from the destination or source storage system by using the SnapMirror feature, ndmpcopy, or from tape.
|If you want to...||Enter the following command...|
|Restore the destroyed vFiler unit with the old name||
vfiler create oldname -r original_rootvolume
|Restore the destroyed vFiler unit with a new name||
vfiler create newname -r original_rootvolume -b oldname
oldname is the name of the original vFiler unit.
original_rootvolume is the path of the root volume that was specified when creating the vFiler unit.
newname is the name of the new vFiler unit.
For more information about the vfiler create command, see the na_vfiler(1) man page.
The following command restores vfiler2 that was destroyed:
The following command restores vfiler2 that was destroyed, with a new name vfiler3: