Go to main content

Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.x

Exit Print View

Updated: November 2018
 
 

Renaming a Filesystem or LUN (CLI)


Caution

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.

    A name must consist of 1 to 64 characters, but not include spaces or begin with a period. Allowable characters are: alphanumeric and special characters _ - . :

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

Related Topics