Renaming a Filesystem or LUN (CLI)

Use the following procedure to rename a filesystem or LUN.

Caution:

Changing a share name will disrupt active client I/O operations.
  1. Disconnect all active clients connected to the filesystem or LUN.
  2. Go to shares.
    hostname:> shares
  3. To view the projects, use the list command.
    hostname:shares> list
    default
    home
  4. Enter select and the project name that contains the filesystem or LUN you want to rename.
    hostname:shares> select default
  5. Enter rename, the existing filesystem or LUN name, and the new filesystem or LUN name.

    The name must be 1 to 64 characters in length. The name cannot begin with a period (.) and cannot include spaces. Allowable characters are alphanumeric characters and special characters _ - . :

    hostname:shares default> rename fs-1 fs-2

    If file retention is set, review section File Retention Management. You cannot rename a retained file, even after its retention has expired.