The smo storage rename command

Contributors NetAppZacharyWambold Download PDF of this page

This command updates the name or IP address of the storage system.

Syntax

        smo storage rename
-profile profile
-oldname old_storage_name
-newname new_storage_name
\[-quiet \| -verbose\]

Parameters

  • -profile profile

    Specifies the name of the profile. This name can be up to 30 characters long and must be unique within the host.

  • -oldname old_storage_name

    Specifies the IP address or name of the storage system before the storage system is renamed. You must enter the IP address or name of the storage system that is displayed when you run the smo storage list command.

  • -newname new_storage_name

    Specifies the IP address or name of the storage system after the storage system is renamed.

  • -quiet

    Displays only error messages in the console. The default is to display error and warning messages.

  • -verbose

    Displays error, warning, and informational messages in the console.

Example

The following example uses the smo storage rename command to rename the storage system:

smo storage rename -profile mjullian -oldname lech -newname hudson -verbose