Using the vfiler rename command, you can rename a vFiler unit to give it a unique name.
Considerations
- The new name should not exist on the storage system, or on the partner storage system in an active/active configuration. Although Data ONTAP allows the storage system and its partner to have vFiler units
with identical names, it is easier to administer the systems if you create a unique name for each vFiler unit.
- The vfiler rename command does not change the CIFS node name of the vFiler unit or affect any client connections that are active. The vfiler rename command changes the name of the vFiler unit only within Data ONTAP; it does not re-broadcast the new name to the CIFS domain controllers or the NetBIOS nameservers because these protocols might be using a different name for the vFiler unit than Data ONTAP uses. To change the name mapping in the CIFS domain controllers, run CIFS setup for each of these protocols.
- Do not rename a vFiler unit while it is being migrated. Doing so will cause the migrate
command on the remote system to fail.
Step
- Enter the following command:vfiler rename old_vfiler_name new_vfiler_name
Example
In the following example, a vFiler unit, vfiler1, is renamed to vfiler2:vfiler rename vfiler1 vfiler2