免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: abcdex
打印 上一主题 下一主题

[系统管理] 去EMC面试,问了这么一个问题 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2015-08-12 13:19 |显示全部楼层
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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP