- 论坛徽章:
- 0
|
vg由一块PV组成,VG中有一个LV。
然后加一块盘到VG中,再使用mirrorvg。
问,是不是会出现LV的copies分布在hdisk0 和 hdisk1上?
==============================================
答:取决于mirrorvg的参数,若指定非严格模式可能会出现上述情况。若指定严格模式不会出现上述情况。
严格模式参数:
mklvcopy
-s strict
Determines the strict allocation policy. Copies of a logical partition can be allocated to share or not to share the same physical volume. The strict variable is
represented by one of the following:
y
Sets a strict allocation policy, so copies for a logical partition cannot share the same physical volume. flag.
n
Does not set a strict allocation policy, so copies for a logical partition can share the same physical volume.
s
Sets a super strict allocation policy, so that the partitions allocated for one mirror cannot share a physical volume with the partitions from another
mirror. See Note 4 for other effects of the superstrict allocation policy on mklvcopy behavior.
Note: When changing a nonsuper strict logical volume to a super strict logical volume, you must specify physical volumes or use the -u flag. |
|