SCF Reference Manual for the Storage Subsystem (G06.24+, H06.03+)

Configuring Magnetic Disks
SCF Reference Manual for the Storage Subsystem529937-007
6-16
Remirroring Disks Online
Considerations for ALTER DISK, SWAPMIRROR, and Online
Disk Remirroring
The SWAPMIRROR attribute causes the two disk drives of a mirrored disk volume
to switch roles:
°
The primary disk drive becomes the mirror disk drive.
°
The mirror disk drive becomes the primary disk drive.
To delete the paths to a primary disk drive when you perform online disk
remirroring, you must first use an ALTER DISK, SWAPMIRROR command so that
the primary disk drive becomes the mirror disk drive. You cannot DELETE the
paths to a disk drive that is currently serving as the primary disk drive.
For the ALTER DISK, SWAPMIRROR command to work:
°
The disk volume must be mirrored.
°
Both disk drives must have the same number of paths; that is, both disks either
have, or do not have, backup paths.
You cannot specify both the attribute SWAPMIRROR and the attribute
MIRRORLOCATION in the same ALTER DISK command.
The SWAPMIRROR command is allowed only when the disk paths are in one of
these combinations of states:
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.
-P -B -M -MB
STARTED STARTED STARTED STARTED
STARTED STOPPED STARTED STOPPED
STOPPED STARTED STOPPED STARTED
STOPPED STOPPED STARTED STARTED
STARTED STARTED STOPPED STOPPED