Changes the characteristics of a mirror pool.
chmp -A [ -c aiocachelvname ] [ -h highwatermark ] -m mirrorpoolname vgname
chmp -h highwatermark -m mirrorpoolname vgname
Item | Description |
---|---|
-A | Configures a mirror pool for asynchronous mirroring. |
-c aiocachelvname | Specifies the name of an asynchronous I/O-cache logical volume. The logical volume must be of the aio_cache type and must not reside in the mirror pool that is specified with the -m flag. If you do not specify the -c flag, the chmp command attempts to find the appropriate logical volume of the aio_cache type. |
-f | Forces a mirror pool from asynchronous mirroring to synchronous mirroring, even if the remote I/O cache is not accessible. |
-h highwatermark | Specifies the I/O-cache high watermark. The value is the percent of I/O cache size. The default value is 100%. The flag also detects an increase in size of the I/O-cache logical volumes and takes the appropriate action. |
-m mirrorpoolname | Specifies the mirror pool name. |
-S | Changes a mirror pool from asynchronous mirroring to synchronous mirroring. |
Item | Description |
---|---|
vgname | Specifies the volume group name where the mirror pool resides. |
mkvg -f -S -M s -y gmvg1 hdisk1 hdisk2 hdisk3
chvg -a n -b n gmvg1
chpv -p MP1 hdisk1 hdisk2 hdisk3
mklv -b n -p copy1=MP1 -y user_data_lv gmvg1 10
extendvg -f -p MP2 gmvg1 hdisk4 hdisk5 hdisk6
mirrorvg -c 2 -p copy2=MP2 gmvg1
mklv -t aio_cache -p copy1=MP1 -y mp1_aiolv gmvg1 1
chmp -A -c mp1_aiolv -h 80 -m MP2 gmvg1
chmp -S -m MP2 gmvg1
chmp -h 90 -m MP2 gmvg
chmp -S -m MP2 gmvg1
rmlv mp1_aiolv
mklv -t aio_cache -p copy1=MP1 -y mp1_new_aiolv gmvg1 1
chmp -A -c mp1_new_aiolv -h 90 -m MP2 gmvg1