Swap mirror chunk

You can use the swap_mirror command to swap a mirror chunk and a primary chunk, making the original primary chunk the mirror, and the original mirror chunk the new primary. This operation is especially useful as an on-line method of migrating chunks to a newer, faster set of disk drives.

To swap a single mirrored chunk, use the following command:

execute function task("modify chunk swap_mirror",<chunk number>).

To swap all the chunks in a mirrored space, use the following command:

execute function task("modify space swap_mirrors","<space name>").

Note: You cannot swap a chunk if either its primary or mirror is down.