SANRAD I3.1.1205 Switch User Manual


 
10-16 SANRAD V-Switch CLI User Manual
Renaming a Storage Device
If you are working in
a V-Switch cluster,
the disk must be
renamed on both V-
Switches.
You can rename a disk. Renaming the disk will have no effect on the
volume hierarchies built on the disk.
storage set
You need to define three parameters to rename a disk:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-s
STORAGE ALIAS STORAGE ALIAS TO
MODIFY
MANDATORY
Stor_1
-na
NEW ALIAS NEW ALIAS FOR
STORAGEK
MANDATORY IF
CHANGING
RAID1
-info
INFORMATION INFORMATION TO
ASSIGN TO
STORAGE DEVICE
MANDATORY IF
CHANGING
Expose_as
_transparent
Example:
The disk, Stor_1, is renamed to RAID1 and a note is made for the storage
manager to expose this disk as a transparent volume.
storage set –s Stor_1 –na RAID1 –info Expose_as
_transparent
Removing a Storage Device
If you are working in
a V-Switch cluster,
the disk must be
removed on both V-
Switches.
You can remove a disk from the V-Switch database. The disk must be
defined as missing to remove it.
storage remove
You need to define one parameter to remove a disk:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-s
STORAGE
ALIAS OF STORAGE
TO REMOVE
MANDATORY
Stor_1
Example:
Disk named Stor_1 is removed from the V-Switch database.
storage remove –s Stor_1