beautypg.com

Rename, Syntax, Parameters – HP Array Controller HSG V8.7 Software User Manual

Page 361: Example, Rename old-name new-name

background image

CLI Commands

B–89

RENAME

Renames a specified container or a specified host connection.

Syntax

RENAME old-name new-name

Parameters

old-name
Specifies the existing name of the container or host connection.

new-name
Assigns the new name for the container or the host connection.

See “Command Syntax,” page B–5, for information regarding container
naming rules.

A name of a host connection can be any combination of letters and
numbers, with the one restriction that it cannot take the form of the
default assigned by the controller (!NEWCONnn).

Note Units may not be renamed.

Example

This example shows how to rename DISK10000 to MYDISK:

SHOW DISKS

Name Type Port Targ Lun Used by

-------------------------------------------------------------

DISK10000

disk

1

0

0

D100

DISK10100

disk

1

1

0

D101

RENAME DISK10000 MYDISK
SHOW DISKS

Name Type Port Targ Lun Used by

-------------------------------------------------------------

MYDISK

disk

1

0

0

D100

DISK10100

disk

1

1

0

D101