SCF Reference Manual for the Storage Subsystem (G06.28+, H06.05+, J06.03+)
SWITCH [ / OUT file-spec / ] DISK $disk {-P |-B |-M |-MB }
[ , POOL $pool ] [ , SEL state ]
[ , SUB { ALL | MAGNETIC | VIRTUAL } ]
Wild-card characters are supported.
OUT file-spec
directs all SCF output to the specified file.
DISK $disk{-P |-B |-M |-MB }
is the disk name and the path (primary, backup, mirror, or mirror backup). A single path
specification is required.
POOL $pool
specifies that the command is performed only on disks associated with the specified storage
pool.
SEL state
specifies that the command affects only devices in the specified state.
SUB { ALL | MAGNETIC | VIRTUAL }
specifies that the command affects only disks of the specified type. The default is ALL.
See “Attribute Descriptions for Disk Commands” (page 198) for descriptions of all attributes for disk
commands.
SWITCH DISK Examples
The SWITCH DISK command is not supported for virtual disks. See “Changing the Active Path for
a Disk” (page 112).
• To designate the mirror path of a volume as the primary disk path:
-> SWITCH $DATA00-M
• To designate the backup path of a volume as the primary disk path:
-> SWITCH $DATA-B
• To combine both of the previous commands:
-> SWITCH DISK ($DATA00-M, $DATA-B)
SWITCH SCSI Command
The SWITCH SCSI command designates the active path to an Open SCSI device and, in doing
so, designates the preferred SAC path for the Open SCSI device. The syntax is:
SWITCH [ / OUT file-spec / ] SCSI $SCSI-device{-P |-B }
[ , SEL state ]
Wild-card characters are supported.
OUT file-spec
directs all SCF output to the specified file.
SCSI $SCSI-device{-P |-B }
is the name of the Open SCSI IOP and the path (primary or backup).
SEL state
specifies that the command affects only devices in the specified state.
296 Storage Subsystem Commands