Command Line Interface Guide
Omconfig Replace Member Virtual Disk
Description Replaces the member of a given virtual disk with the destination disk.
Syntax
omconfig storage vdisk action=replacememberdisk controller=id
vdisk=id source=<PDISKID> destination=<PDISKID>, where id is the
controller ID and virtual disk ID as reported by the omreport command. The <
PDISK
>
variable specifies the physical disk.
NOTE: To obtain these values, type omreport storage controller to display the
controller IDs and then type omreport storage vdisk controller=ID to display the IDs for
the virtual disks attached to the controller.
Example to Replace physical disk 3 on connector 0 of controller 1 of virtual disk 4 with physical disk 5.
On a Serial Attached SCSI (SAS) controller, the physical disk resides in enclosure 2.
Example for SCSI, SATA,
and ATA Ccntrollers
omconfig storage vdisk action=replacememberdisk controller=1
vdisk=4 source=0:3 destination=0:5
Example for SAS
controllers
omconfig storage vdisk action=replacememberdisk controller=1
vdisk=4 source=0:2:3 destination=0:2:5
Omconfig Rename Virtual Disk
Description Renames a virtual disk.
Syntax
omconfig storage vdisk action=rename controller=id vdisk=id
name=<string>, where id is the controller ID and virtual disk ID as reported by the
omreport command and <string> is the new name for the virtual disk.
NOTE: To obtain these values, type omreport storage controller to display the
controller IDs and then type omreport storage vdisk controller=ID to display the IDs for
the virtual disks attached to the controller.
Example to Rename virtual disk 4 on controller 1 to vd4.
Example
omconfig storage vdisk action=rename controller=1 vdisk=4
name=vd4
Omconfig Enable Fluid Cache on Virtual Disk
Description Enables fluid cache for the specified virtual disk.
NOTE: Enabling fluid cache creates a new fluid cache disk. You must use only the new
fluid cache disk for all future data access. Data access to any of the corresponding
virtual disk or caching its partitions may lead to data corruption.
Syntax
omconfig storage vdisk action=enablefluidcache controller=id
vdisk=id devicename=<string> cachepolicy=<wb|wt>, where id is the
controller ID and virtual disk ID as reported by the omreport command and <string> is the
device name of the virtual disk, wb is writeback, and wt is writethrough. To obtain the
values for controller ID and virtual disk ID, type omreport storage controller to
display the controller IDs and then type
omreport storage vdisk
controller=ID to display the IDs for the virtual disks attached to the controller.
Example to Enable fluid cache on virtual disk 4 on controller 1.
Example
omconfig storage vdisk action=enablefluidcache controller=1
vdisk=4 devicename=/dev/sdb cacachepolicy=wb
156