SCF Reference Manual for the Storage Subsystem (G06.27+, H06.04+)
Configuring Magnetic Disks
SCF Reference Manual for the Storage Subsystem—529937-008
6-17
Remirroring Disks Online
Example of Online Disk Remirroring
In this example, SCF is used interactively to move both the primary disk drive and the
mirror disk drive to new slots. The mirror disk drive is moved to location (1,1,2), and the
primary disk drive is moved to location (1,1,1). The ALTER DISK, SWAPMIRROR
command is used twice. When the task is complete, the disk drive originally serving as
the primary serves as the primary once again, and the original mirror disk drive again
plays the role of mirror.
The example assumes that:
•
The disks are internal disks.
•
The disk volume has the AUTOREVIVE attribute turned on.
To perform this remirroring task:
1. Stop the -M and -MB paths:
->STOP DISK $DATA1-M
->STOP DISK $DATA1-MB
2. Delete the mirror disk path (-M):
->DELETE DISK $DATA1-M
3. Issue an ALTER DISK $disk-volume-name command whose
MIRRORLOCATON attribute assigns the mirror disk drive to location (1,1,2):
->ALTER $DATA1, MIRRORLOCATION (1,1,2)
A prompt gives you the option of reviving the disk drive.
4. To change the location of the primary disk drive, you must first stop and delete it.
However, SCF cannot perform such operations on a disk drive currently serving as
Note. OSM automatically recognizes online remirrored disks. TSM does not. Anytime you use TSM in
conjunction with online disk remirroring, observe these rules
:
•
Before issuing a sequence of SCF commands that implements online disk remirroring, always stop
the TSM process.
•
After you have issued the commands and before you exit SCF, make sure to restart the TSM
process.
For example:
1. Use the SCF ABORT command to stop the TSM server:
>SCF ABORT PROCESS $ZZKRN.#TSM-SRM
(Wait for at least one minute to make sure that all the TSM server processes have been stopped.)
2. Use SCF commands to remirror the disk.
3. Use the SCF START command to start the TSM server:
>SCF START PROCESS $ZZKRN.#TSM-SRM
4. Exit SCF:
>EXIT