免费注册 查看新帖 |

Chinaunix

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

[故障求助] 请教高手:无法unmirrorvg,应怎么办!急 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-01 13:49 |只看该作者 |倒序浏览
因为mirror的盘有问师需重新加盘做mirror,但在unmirrorvg时就有问题
1、做unmirrorvg操作
smitty unmirrorvg=>;
VOLUME GROUP name 输入   rootvg
Number of COPIES of each logical   选  1
PHYSICAL VOLUME names F4选择要剃除的PV时F4 列出如下:

0516-304 : Unable to find device id 0056eb8d1570663a in the Device   Configuration Database.                                 
PV                                                                    
0056eb8d1570663a                                                      
hdisk3   

若不选PV,执行unmirrorvg时报以下错误;
>;>; unmirrorvg rootvg


    Output from Command_to_Execute follows below:

---- start ----

0516-1155 lreducelv: Last good copy of a partition cannot reside on a missing disk.
Try again after reactivating the disk using chpv and varyonvg.
0516-922 rmlvcopy: Unable to remove logical partition copies from
        logical volume hd6.
0516-1135 unmirrorvg: The unmirror of the volume group failed.
        The volume group is still partially or fully mirrored.

---- end ----

论坛徽章:
0
2 [报告]
发表于 2005-08-01 13:52 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

看上去好像你作Mirror的那2个盘已经坏掉一个了。

论坛徽章:
0
3 [报告]
发表于 2005-08-01 14:53 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

是的,那一个盘就是有问题了,我才要unmirrorvg,换盘后,重做mirrorvg的

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
4 [报告]
发表于 2005-08-01 15:16 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

Notes:
If LVM has not recognized that a disk has failed it is possible that LVM will remove a different mirror. Therefore if you know that a disk has failed and LVM does not show those disks as missing you should specify the failed disks on the command line or you should use replacepv to replace the disk or reducevg to remove the disk.
If a logical volume copy spans more than one disk, the portion of the logical volume copy that resides on a disk not listed by the user is also removed.
The unmirrorvg command is not allowed on a snapshot volume group.


所以我觉得,你应该这样试试

# unmirrorvg rootvg hdisk7

参考网页:
http://publib16.boulder.ibm.com/pseries/en_US/cmds/aixcmds5/unmirrorvg.htm

论坛徽章:
0
5 [报告]
发表于 2005-08-01 15:21 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

是不是已经将坏掉的盘删除了,应该先unmirrorvg,reducevg,最后才rmdev

论坛徽章:
0
6 [报告]
发表于 2005-08-01 15:44 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

我一开始,检查好环境后,就直接执行的unmirrorvg,就不成功。
对了我在讲一下环境,可能原因是不是一对盘。

当时,已经做好了多组盘,每组两个盘,一个母盘,一个mirror盘。
然后将每组盘插到多台服务器上。

我估计一开始母盘与mirror盘就弄乱了,启机后,mirror就不对,有多个机器都有同样的问题。
因为当时没有发现问题就生产了,一个月后才发现问题,再unmirrorvg就不行了。

有那位高手现在可以解决unmirrorvg的问题啊!

论坛徽章:
0
7 [报告]
发表于 2005-08-01 15:47 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

原帖由 "nimysun" 发表:
Notes:
If LVM has not recognized that a disk has failed it is possible that LVM will remove a different mirror. Therefore if you know that a disk has failed and LVM does not show those disks as missi..........



我当时用smitty unmirrorvg做的,没有用命令行试,因为是生产机,不能随意试。并且hdiskX在盘中已以认不到了,只认出0056eb8d1570663a  ,总不能
unmirrorvg rootvg 0056eb8d1570663a  吧!

论坛徽章:
0
8 [报告]
发表于 2005-08-01 15:49 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

[quote]原帖由 "dugong"]是不是已经将坏掉的盘删除了,应该先unmirrorvg,reducevg,最后才rmdev[/quote 发表:


目前的状态也可能认为是先将坏掉的盘删掉了,如果像您说的这样应怎样解决unmirrorvg的问题

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-11-09 06:20:00
9 [报告]
发表于 2005-08-01 15:59 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

建议你先按照nimysun的建议先试试。

论坛徽章:
0
10 [报告]
发表于 2005-08-01 16:04 |只看该作者

请教高手:无法unmirrorvg,应怎么办!急

[quote]原帖由 "feiaix"]建议你先按照nimysun的建议先试试。[/quote 发表:

关键是再认mirror PV是hdiskXXX啊
目前系统中
PHYSICAL VOLUME names F4选择要剃除的PV时F4 列出如下:

0516-304 : Unable to find device id 0056eb8d1570663a in the Device   Configuration Database.                                 
PV                                                                     
0056eb8d1570663a                                                      
hdisk3

其中hdisk3是目前正在active的rootvg 的PV,另一个0056eb8d1570663a估计就是那块坏的mirror PV了。
总不能我执行 # unmirrorvg rootvg 0056eb8d1570663a   吧
谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP