免费注册 查看新帖 |

Chinaunix

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

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

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

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

原帖由 "netyu" 发表:
先unmirrorvg rootvg
再reducevg root hdiskx
rmdev -l /dev/hdiskx -d

接着chdev -f /dev/hdiskx
再将新硬盘加入到rootvg, extendvg rootvg hdiskx
再作mirror,  mirror -c 2 rootvg



目前,我已经无法unmirrorvg了,怎么办
谢谢

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

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

逐个 rmlvcopy  lvname  hdiskX
reducevg vgname hdiskX

如果 hdisk 已经被 rmdev 删除了,则
lquery -p hdiskX -At   得到 pvid
然后reducevg vgname pvid

论坛徽章:
0
23 [报告]
发表于 2005-08-02 08:00 |只看该作者

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

why not you can not run #unmirrorvg rootvg 00563b8d1570663a,

hehe

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

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

why you want to do unmirrorvg ? you do not need to use the unmirrorvg command, then you can fix your issue.

rmlvcopy is a better command for you, I think.

论坛徽章:
0
25 [报告]
发表于 2005-08-02 11:18 |只看该作者

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

原帖由 "koala_mel" 发表:
why you want to do unmirrorvg ? you do not need to use the unmirrorvg command, then you can fix your issue.

rmlvcopy is a better command for you, I think.


I have already run rmlvcopy command.But the error was same as the unmirrorvg command.

论坛徽章:
0
26 [报告]
发表于 2005-08-02 11:24 |只看该作者

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

原帖由 "biti_rainy" 发表:
逐个 rmlvcopy  lvname  hdiskX
reducevg vgname hdiskX

如果 hdisk 已经被 rmdev 删除了,则
lquery -p hdiskX -At   得到 pvid
然后reducevg vgname pvid


lquery怎么没有这个命令,是AIX5L的命令吗?
我没有看到这个命令啊

论坛徽章:
0
27 [报告]
发表于 2005-08-02 13:28 |只看该作者

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

use redefine rootvg command first, then use lspv to see if the pv is in the vg,  then use rmlvcopy

论坛徽章:
0
28 [报告]
发表于 2005-08-02 13:44 |只看该作者

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

[quote]原帖由 "koala_mel"]use redefine rootvg command first, then use lspv to see if the pv is in the vg,  then use rmlvcopy[/quote 发表:

你的意思是说用
# redefinevg -d hdisk0 rootvg
也就是说,通过这个命令可以将mirror的那块盘从VG中剃除了是吗?
然后再rmlvcopy就可将单个LV移除mirror是吗?

谢谢!

论坛徽章:
0
29 [报告]
发表于 2005-08-02 14:05 |只看该作者

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

the redefine command will help to get the configuration from the odm, so after that you can use the rmlvcopy and reducevg command. but it does not mean to delete it from the rootvg , it will depend on the situation. but I think redefinevg command can help you to fix the issue.

论坛徽章:
0
30 [报告]
发表于 2005-08-02 14:09 |只看该作者

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

For the rootvg volume group, you can use the redefinevg command, which examines every disk in the system to determine which volume group it belongs to
and then updates the ODM. For example:
# redefinevg rootvg

after you can find if that bad disk exists on root vg and decide what to do next.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP