Table of ContentsView in Frames

Restoring a vFiler unit

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.

Before you begin

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.

Step

  1. Enter the appropriate command to restore the destroyed vFiler unit:
    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.

Example

The following command restores vfiler2 that was destroyed:

vfiler create vfiler2 -r /vol/vol1

The following command restores vfiler2 that was destroyed, with a new name vfiler3:

vfiler create vfiler3 -r /vol/vol1 -b vfiler2