免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3428 | 回复: 8

[Q][AIX][4.3.3]被importvg破坏的rootvg如何修复? [复制链接]

论坛徽章:
0
发表于 2002-10-26 09:47 |显示全部楼层
同一机器上两个AIX系统盘,本来都能启动(不同的ML级别);\r\n后来为了COPY数据,将一个盘IMPORTVG到另一个盘:\r\n\r\n# importvg  -y  root2vg  hdisk1\r\n\r\n此后,HDISK1上的系统就起不来了.\r\n\r\n没有磁带机,无系统的磁带备份.\r\n\r\n是生产系统,不能试验的 \r\n\r\n\r\n各位侠友帮忙!

论坛徽章:
0
发表于 2002-10-27 14:34 |显示全部楼层

你的问题没有说清楚

你的问题没有说明清楚。\r\n而且,系统起步来的时候,LED显示屏上的面板显示的错误代码是什么?\r\n你说在一台机器上有两个系统盘,到底是简单的两个硬盘呢还是两个分开的VG,每个VG上面都有启动信息?

论坛徽章:
0
发表于 2002-10-29 09:19 |显示全部楼层

Re: 你的问题没有说清楚

最初由 fujilide 发布\r\n[B]你的问题没有说明清楚。\r\n而且,系统起步来的时候,LED显示屏上的面板显示的错误代码是什么?\r\n你说在一台机器上有两个系统盘,到底是简单的两个硬盘呢还是两个分开的VG,每个VG上面都有启动信息? [/B]
\r\n\r\n两个AIX系统盘,本来都能启动(不同的ML级别);\r\n说得很清楚了,是不同的ML级别,那肯定是两个AIX安装了。\r\n\r\n错误的起源就是做了importvg,那当然是两个分开的VG了,要不怎么IMPORTVG?\r\n\r\n\r\n难道没有人做过在AIX中IMPORTVG另一个AIX安装么?

论坛徽章:
0
发表于 2002-10-29 09:48 |显示全部楼层
错误的缘由:\r\n\r\n原来HDISK1上有一个OLD  AIX(4330-04)系统,从HDISK1启动,则HDISK1就是ROOTVG;\r\n\r\nHDISK0上有一个新装的AIX(4330-10)系统,从HDISK0启动,则HDISK0就是ROOTVG。\r\n\r\n为了COPY HDISK1上的数据到新系统,做了IMPORTVG  -Y ROOT2VG HDISK1;由于HDISK1上同样有hd5、hd2、hd4等逻辑卷,与新的系统下的hd5/hd2/hd4等冲突,于是:\r\n0516-010 lqueryvg: Volume group must be varied on; use varyonvg command.\r\n0516-530 synclvodm: Logical volume name hd5 changed to bootlv00.\r\n0516-530 synclvodm: Logical volume name hd6 changed to pagelv00.\r\n0516-530 synclvodm: Logical volume name hd8 changed to loglv00.\r\n0516-530 synclvodm: Logical volume name hd4 changed to fslv00.\r\n0516-530 synclvodm: Logical volume name hd2 changed to fslv01.\r\n0516-530 synclvodm: Logical volume name hd9var changed to fslv02.\r\n0516-530 synclvodm: Logical volume name hd3 changed to fslv03.\r\n0516-530 synclvodm: Logical volume name hd1 changed to fslv04.\r\n0516-530 synclvodm: Logical volume name paging00 changed to pagelv01.\r\n0516-530 synclvodm: Logical volume name lv00 changed to fslv05.\r\n以上为该importvg命令的输出。\r\n\r\n\r\n这时候停掉新系统,用HDISK1启动就报错了。\r\n\r\n错误号没记得,维护手册上对应的解决办法就是从CD启动,在尝试修复;至于怎么修复,就不得而知了  \r\n\r\n问题已经很清楚了,就是卷名改了,错误号我认为没所谓。

论坛徽章:
0
发表于 2002-10-29 09:52 |显示全部楼层
我的理解是:\r\n\r\n你有两个硬盘: hdisk0 and hdisk1, 分别安装了AIX4。3。3,但是它们有不同的MAINTENANCE LEVEL, 以前它们都在rootvg里面, 都可以作系统盘。另外你系统里有rootvg and root2vg,  \r\n\r\nnow you removed hdisk1 from rootvg, and added it to root2vg, right? if yes, I think the hdisk1 can be removed from the root2vg first, and join the rootvg。 the key is that you need to recreate the bos kernel on hdisk1。\r\n\r\nThe following is outline procedure:\r\n\r\n# reducevg root2vg hdisk1\r\n# extendvg rootvg hdisk1\r\n# bosboot -ad /dev/hdisk1\r\n# bootlist -m normal hdisk1 hdisk0 (decide if hdisk0 or hdisk1 is a boot disk on next reboot time。if you wan to use hdisk1, please put the name first)\r\n\r\nyou said it is a production machine。 so I do not think you can verify it immediately because the change need a system reboot。 you can wait for the next time you  have other change and need a system reboot, then you can verify it。

论坛徽章:
0
发表于 2002-10-29 11:09 |显示全部楼层
最初由 reajan 发布\r\n[B]我的理解是:\r\n\r\n你有两个硬盘: hdisk0 and hdisk1, 分别安装了AIX4。3。3,但是它们有不同的MAINTENANCE LEVEL, 以前它们都在rootvg里面, 都可以作系统盘。另外你系统里有rootvg and root2vg,  \r\n\r\nnow you removed hdisk1 from rootvg, and added it to root2vg, right? if yes, I think the hdisk1 can be removed from the root2vg first, and join the rootvg。 the key is that you need to recreate the bos kernel on hdisk1。\r\n\r\nThe following is outline procedure:\r\n\r\n# reducevg root2vg hdisk1\r\n# extendvg rootvg hdisk1\r\n# bosboot -ad /dev/hdisk1\r\n# bootlist -m normal hdisk1 hdisk0 (decide if hdisk0 or hdisk1 is a boot disk on next reboot time。if you wan to use hdisk1, please put the name first)\r\n\r\nyou said it is a production machine。 so I do not think you can verify it immediately because the change need a system reboot。 you can wait for the next time you  have other change and need a system reboot, then you can verify it。 [/B]
\r\n\r\n我倒!\r\n\r\n你大概错误理解了\"importvg  -y  root2vg  hdisk1\"这个命令\r\n\r\n假设你系统中开始有一个Avg,对应hdisk8,你想把它更名为Bvg ,\r\n你可以这么做:\r\nexportvg  Avg\r\nimportvg -y Bvg hdisk8\r\n\r\n\r\n无论如何,感谢援手!

论坛徽章:
0
发表于 2002-10-29 11:15 |显示全部楼层
现在新的系统盘已经投入生产了,所有应用数据和数据库都移植成功;老的系统盘已经没什么用,起不来就算了,我已经把它干掉,做成备份用的空间了 \r\n\r\n但是从技术上,这个问题还要继续讨论,等手头有两个空盘我再做试验\r\n\r\n祝各位侠友蒸蒸日上

论坛徽章:
0
发表于 2002-10-29 12:02 |显示全部楼层

这个问题跟克隆ROOTVG磁盘问题差不多。

这个问题应该可以解决的,我觉得跟克隆ROOTVG磁盘的问题差不多,可以查看一下alt_disk_install命令的相关帮助。里面有详细的描述。

论坛徽章:
0
发表于 2002-10-30 09:35 |显示全部楼层
allanliao ,你如果有了解决的办法请帖出来
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP