免费注册 查看新帖 |

Chinaunix

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

删除克隆 alt_rootvg ,释放回PV问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-13 00:38 |只看该作者 |倒序浏览
做练习时在hdisk1上建了个rootvg的 alternate_clone_disk克隆备份,\r\n\r\n#lsvg\r\nrootvg\r\naltinst_rootvg\r\n\r\n用 #alt_rootvg_op -X altinst_rootvg   把altinst_rootvg删除了\r\n\r\n#lsvg\r\nrootvg\r\n\r\n#lspv\r\nhdisk0       rootvg   active\r\nhdisk1       \r\n\r\n问题是当我重启AIX后,hdisk1还是变回altinst_rootvg .\r\n即:\r\n#lspv\r\nhdisk0    rootvg                active\r\nhdisk1   altinst_rootvg     active\r\n\r\n我如何做才能取消克隆,彻底的释放hdisk1 ?  我试过把hdisk1加入rootvg 及 独立建下个datavg , 系统重启后变回altinst_rootvg\n\n[ 本帖最后由 kelvenlee 于 2008-11-13 00:42 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-12-01 00:32 |只看该作者

回复 #3 kelvenlee 的帖子

这个问题还没解决, yddll 我该如何做?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
3 [报告]
发表于 2008-12-01 13:07 |只看该作者
lslv -m hd5\r\n的输出结果是啥啊?\r\n如果你的硬盘上没啥数据的话,确认能认出那块是那块的话(使用pvid或者scsi id来区分而不是用设备名hdiskx来却分),把硬盘的pvid去掉试试吧\r\nchdev -l hdisk1 -a pv=clear\r\nchdev -l hdisk1 -a pv=yes\r\n重新做一遍clone,clone完重启一下再看\n\n[ 本帖最后由 yddll 于 2008-12-1 13:09 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-12-01 15:58 |只看该作者
exportvg  altinst_rootvg     \r\n就可以了,我以前是这样做的.

论坛徽章:
0
5 [报告]
发表于 2008-12-02 01:44 |只看该作者
chdev 及export vg  都试过了,还是一样.    算了,我重装系统,不信斗它不过.    谢谢您们.

论坛徽章:
0
6 [报告]
发表于 2008-12-02 09:49 |只看该作者
如果重装系统,就是说明你投降了。。。

论坛徽章:
0
7 [报告]
发表于 2008-12-02 12:22 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
8 [报告]
发表于 2008-12-07 16:08 |只看该作者
在执行完了alt_rootvg_op -X 以后,再在那块不用的盘上建一个VG,应该就不会出现你的问题了

论坛徽章:
0
9 [报告]
发表于 2008-12-17 16:44 |只看该作者
Attention: If you have created an alternate rootvg with\r\n            alt_disk_install, but no longer wish to use it, or want to run\r\n            alt_disk_install commands, do not run exportvg on altinst_rootvg.\r\n\r\n            Simply run the alt_disk_install -X command to remove the\r\n            altinst_rootvg definition from the ODM database. The reason you\r\n            cannot run the exportvg command (or the reducevg command) is that\r\n            the logical volume names and file systems now have the real names,\r\n            and exportvg removes the stanza\'s for the real file system from\r\n            /etc/filesystems for the real rootvg.

论坛徽章:
0
10 [报告]
发表于 2008-12-18 00:17 |只看该作者
但还是没有明白LZ的case为啥会这样。\r\n\r\n我做过的case重启后都不会有LZ 的问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP