SCF Reference Manual for the Storage Subsystem (G06.28+, H06.05+, J06.03+)
Considerations for DELETE DISK and Online Disk Remirroring
• You must stop all paths to the mirror disk drive (-M and -MB) before you issue this DELETE
command:
->DELETE DISK $disk-volume-name -M
• To delete a disk drive currently serving as the primary disk drive, you must first change its role
by using the SWAPMIRROR command.
Example of Online Disk Remirroring
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:
• Use the SCF ABORT command to stop the TSM server:
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 MIRRORLOCATION 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 the primary. You
must therefore use the SWAPMIRROR attribute so that the primary disk drive becomes the
mirror disk drive:
-> ALTER DISK $DATA1, SWAPMIRROR
This command converts the original mirror disk drive into the primary, thus making it available
to applications.
5. After the disk drive originally serving as the primary has become the mirror, you can issue
these commands:
Configuring Mirrored Disks 81