Changing Mirror Volumes to Standard Volumes
Describes how to convert a mirror volume to a standard volume.
About this task
To change read-only mirror volumes to read-write (standard) volumes, you must promote the mirror volumes to standard volumes. After the mirror volume is promoted, the snapshot schedule specified for the mirror is used for the promoted read-write volume and the mirror schedule is disabled. You can promote a mirror volume to a standard volume using the Control System or the CLI.
Mirror promotion time is typically negligible, but is dependent on the number of containers in the volume being promoted. For a volume with thousands of containers and a few terabytes of data, it may take a few seconds. For enormous volumes with tens of thousands of containers and hundreds of terabytes of data, promotion could take a few minutes.
cldb.log
file with the time taken. For
example:2021-06-27 22:47:00,563 INFO VolumeMirrorInfo [VolumeMirrorThread0]:
Volume conversion successfully completed for volume v100k.m@c.228toMirror false.
Time taken : 142395ms
Changing Multiple Mirror Volumes to Standard Volumes Using the Control System
About this task
Procedure
- Select the mirror volumes to promote from the list of volumes in Volumes pane.
-
Select Change to Standard Volume(s) from the
Actions drop-down menu.
The Change to Standard Volume(s) confirmation dialog displays.
- Review the list of mirror volumes to promote and click Change Volume(s) to change the mirror volumes to standard volumes.
What to do next
Changing a Mirror Volume to a Standard Volume Using the Control System
Procedure
- Log in to the Control System and go to the volume information page for the mirror volume.
-
Select Change to Standard Volume(s) from the
Select Action drop-down menu.
The Change to Standard Volume(s) confirmation dialog displays.
- Click Change Volume(s) to change the mirror volume to a standard volume.
What to do next
Changing a Mirror Volume to a Standard Volume Using the CLI or REST API
About this task
maprcli volume modify
command with the
-type
option value set to rw
on the cluster
where the mirror volume resides and specify the name of the mirror volume that is
being promoted. In the following example, the mirror volume is named volA:
Cluster2> maprcli volume modify -name volA -type rw
For
more information, see volume modify
.