免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5125 | 回复: 8
打印 上一主题 下一主题

[故障求助] 再问mirrorvg rootvg问题,各位大侠请进 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-21 15:28 |只看该作者 |倒序浏览
root@host1 # lsvg -l rootvg
rootvg:
LV NAME------------ TYPE------ LPs-- PPs-- PVs- LV STATE----- MOUNT POINT
hd5---------------- boot------ 1---- 2---- 2--- closed/stale- N/A
hd6---------------- paging---- 32--- 64--- 2--- open/stale--- N/A
paging00----------- paging---- 32--- 64--- 2--- open/stale--- N/A
hd8---------------- jfs2log--- 1---- 2---- 2--- open/stale--- N/A
hd4---------------- jfs2------ 32--- 64--- 2--- open/stale--- /
hd2---------------- jfs2------ 32--- 64--- 2--- open/stale--- /usr
hd9var------------- jfs2------ 16--- 32--- 2--- open/stale--- /var
hd3---------------- jfs2------ 32--- 64--- 2--- open/stale--- /tmp
hd1---------------- jfs2------ 1---- 2---- 2--- open/stale--- /home
hd10opt------------ jfs2------ 144-- 288-- 2--- open/stale--- /opt
lg_dumplv---------- sysdump--- 24--- 24--- 1--- open/syncd--- N/A
fslv01------------- jfs2------ 160-- 320-- 2--- open/stale--- /opt/hlr/sysbackup
fwdump------------- jfs2------ 1---- 2---- 2--- open/stale--- /var/adm/ras/platform
root@host1 #

镜像过程输出:

root@host1 #
root@host1 # mirrorvg rootvg
0516-934 /etc/syncvg: Unable to synchronize logical volume hd5.
0516-1296 lresynclv: Unable to completely resynchronize volume.
        The logical volume has bad-block relocation policy turned off.
        This may have caused the command to fail.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd6.
0516-1296 lresynclv: Unable to completely resynchronize volume.
        The logical volume has bad-block relocation policy turned off.
        This may have caused the command to fail.
0516-934 /etc/syncvg: Unable to synchronize logical volume paging00.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd8.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd4.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd2.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd9var.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd3.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd1.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd10opt.
0516-934 /etc/syncvg: Unable to synchronize logical volume fslv01.
0516-934 /etc/syncvg: Unable to synchronize logical volume fwdump.
0516-932 /etc/syncvg: Unable to synchronize volume group rootvg.
0516-1124 mirrorvg: Quorum requirement turned off, reboot system for this
        to take effect for rootvg.
0516-1126 mirrorvg: rootvg successfully mirrored, user should perform
        bosboot of system to initialize boot records.  Then, user must modify
        bootlist to include:  hdisk0 hdisk1.

另外一条命令的结果:

root@host1 # syncvg -v rootvg
0516-934 /etc/syncvg: Unable to synchronize logical volume hd5.
0516-1296 lresynclv: Unable to completely resynchronize volume.
        The logical volume has bad-block relocation policy turned off.
        This may have caused the command to fail.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd6.
0516-1296 lresynclv: Unable to completely resynchronize volume.
        The logical volume has bad-block relocation policy turned off.
        This may have caused the command to fail.
0516-934 /etc/syncvg: Unable to synchronize logical volume paging00.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd8.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd4.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd2.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd9var.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd3.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd1.
0516-934 /etc/syncvg: Unable to synchronize logical volume hd10opt.
0516-934 /etc/syncvg: Unable to synchronize logical volume fslv01.
0516-934 /etc/syncvg: Unable to synchronize logical volume fwdump.
0516-932 /etc/syncvg: Unable to synchronize volume group rootvg.

搜索了下本版的文章

发现篇类似的精华帖子

http://bbs.chinaunix.net/viewthread.php?tid=773884

小弟想问的是

该本地盘无法镜像是否当真多了bos.compat.links导致

除了那篇帖子的楼主还有其他人碰到这种情况了吗?

多谢!

论坛徽章:
0
2 [报告]
发表于 2008-10-21 15:53 |只看该作者
忘记说了

root@host1 # lsvg -l rootvg

的结果是镜像之后的输出

可以看到基本上所有的卷都是stale状态

论坛徽章:
0
3 [报告]
发表于 2008-10-21 15:59 |只看该作者
见过:
     mirrorvg -m rootvg hdisk1
还真没见过:
     mirrorvg rootvg
     这样会默认为hdisk0,hdisk1做mirror?

[ 本帖最后由 tianyue01 于 2008-10-21 16:00 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-10-21 16:15 |只看该作者
我们是两块本地盘做的RAID1镜像

这个命令在实验室模拟是没有问题的

另外

man mirrorvg

By default, mirrorvg attempts to mirror the logical volumes onto any of the
       disks in a volume group. If you wish to control which drives are used for
       mirroring, you must include the list of disks in the input parameters,
       PhysicalVolume. Mirror strictness is enforced. Additionally, mirrorvg mirrors
       the logical volumes, using the default settings of the logical volume being
       mirrored. If you wish to violate mirror strictness or affect the policy by
       which the mirror is created, you must execute the mirroring of all logical
       volumes manually with the mklvcopy command.

论坛徽章:
0
5 [报告]
发表于 2008-10-21 16:27 |只看该作者
做了RAID1,还需soft mirroring吗?

论坛徽章:
0
6 [报告]
发表于 2008-10-21 16:42 |只看该作者
mirrorvg rootvg 好像可以滴

论坛徽章:
0
7 [报告]
发表于 2008-10-21 17:49 |只看该作者

回复 #5 tianyue01 的帖子

做了RAID1,还需soft mirroring吗?
==========================
呵呵

可能没有表达准确

是LVM做的镜像

论坛徽章:
0
8 [报告]
发表于 2008-10-22 08:07 |只看该作者
bad-block relocation policy turned off
改成relocatable看看

论坛徽章:
0
9 [报告]
发表于 2008-10-22 13:51 |只看该作者
smitty chlv 里找到bad-block relocation 看看是选项是yes/no?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP