HP StorageWorks Storage System Scripting Utility reference (September 2005)

NOTE:
This switch is commonly used to allow a host to point to a new version of the virtual disk by giving the
new virtual disk the same WWN as the old virtual disk.
WRITE_PROTECT
Does not allow writing to the virtual d isk for all presented LUNs/host.
NOWRITE_PROTECT
Turns off write p rotection and allows writing to the virtual disk for all p resented LUNs/host.
WAIT_FOR_COMPLETION
Default. Waits until the comm and’s operation completes before displaying the next utility prompt (and
returning control) or before running another script line. For large (greater than 1 TB) virtual disks, using
this option c an result in a long period before the prompt displays.
WRITECACHE=
This is the cache para m eter for the write operation. There are two values: W RITETHROUGH and
WRITEBACK. With WRITETHROUGH the operation comp letes when the write to disk c ompletes. With
WRITEBACK, the operation completes when the da ta is written to cache.
NOTE:
If you are creating a preallocated snapclone (using a container), you need to change the Write Cache
Policies from WRITEBACK to WRITETHROUGH for the source virtual disk. The reason the cache policy
has to be changed to WRITETHROUGH is to ush any cache memory to the virtual disk before it is
cloned. Thepolicyofthesourcevirtualdiskwillrevertbacktotheoriginalsettingwhenyoucomplete
the c reation of the snapclone.
MIRRORCACHE=
This sets the controller's mirror cache. The values are MIR RORED (cache is mirrored between both
controllers) and NOTMIRRORED (cache is not mirrored).
Required switch
The SIZE sw
itch is re quired with the ADD VDISK command.
Switch defaults
The following d efaults are used for the ADD VDISK command when nothing is specied:
MIRRORCACHE=Mirrored
WRITECACHE=WriteBack
OS_UNIT_ID= defaults to zero
PREFERRED_PATH= defaults to NOPREFERRED_PATH
REDUNDANCY= defaults to Vraid1
DISK_GROUP= \Disk Groups\Default Disk Group
READ_CACHE
NOWRITE_PROTECT
40
Utility command reference