SCF Reference Manual for the Storage Subsystem (G06.28+, H06.05+, J06.03+)

Changing a Mirrored Volume Into Two Nonmirrored Disks
This procedure converts a mirrored, internal volume into two nonmirrored disks without destroying
files on either disk.
1. Review the “Considerations for RENAME DISK” (page 89).
2. Stop both halves of the mirrored volume:
-> STOP $DATA01
3. Delete the mirror from the system configuration database:
-> DELETE $DATA01-M
4. Restart the disk process:
-> START $DATA01
5. Add the deleted mirror to the system configuration database as a nonmirrored disk by
specifying a new name and its location:
-> ADD $SPARE00, SENDTO STORAGE, PRIMARYLOCATION (1,1,2)
6. Start the disk process in the SERVICING state, substate SPECIAL in preparation for changing
its name:
-> START $SPARE00, SPECIAL
7. Change the disk name on the disk label to make the configuration record equal the label, and
restart the disk:
-> RENAME $SPARE00, $SPARE00
Changing Two Nonmirrored Disks Into a Mirrored Volume
This example converts two adjacent, internal disks into a mirrored, internal volume. The nonmirrored
disk $DATA02 is in group 01, module 1, slot 3. The disk to become the mirror disk is in slot 4 in
the same enclosure. Automatic configuration is off.
1. Review information about the MIRRORLOCATION attribute.
2. Stop the disk:
-> STOP $DATA02
3. Identify the unconfigured disk in slot 4 as the mirrored volume of $DATA02 in slot 3:
-> ALTER $DATA02, MIRRORLOCATION (1,1,4)
4. Start the primary half of the mirrored volume in slot 3:
-> START $DATA02-P
5. Revive the mirrored half in slot 4:
-> START $DATA02-M
Remirroring Disks Online
You can perform these tasks without stopping the entire disk volume:
Change the disk configuration from an unmirrored configuration to a mirrored configuration
Relocate both the mirror disk and primary disk to new slots
Unmirror a disk volume
Switch the roles of the two disks of a mirror disk volume
Throughout the performance of these tasks, a primary disk drive is always available to applications.
Thus, applications need not be taken out of service. For an example of disk relocation, see “Example
of Online Disk Remirroring” (page 81). Before you consult this example, read these considerations.
Configuring Mirrored Disks 79