免费注册 查看新帖 |

Chinaunix

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

如何chdev硬盘 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-05-08 12:55 |只看该作者 |倒序浏览
有一台7779-BCS外带四个刀片7998-60X,60X都有系统。60X都是一样的配置,各带2块硬盘。重新给四台60X装系统(系统装在了hdisk0上),选的是完全覆盖安装。装完系统后,查看硬盘显示如下:\r\n#lspv\r\nhdisk0           000264aa8bdb094e          rootvg          active\r\nhdisk1           000264aa33dda78b          rootvg          active\r\n \r\n#chdev -l hdisk1 -a pv=clear\r\nMethod error(/usr/lib/methods/chgdisk):\r\n             0514-062 Cannot porform the requestde function because the specified device is busy.\r\n\r\n#rmdev -dl hdisk1 -R\r\nMethod error(/usr/lib/methods/ucfgdevice):\r\n             0514-062 Cannot porform the requestde function because the specified device is busy.\r\n\r\n\r\n\r\n请问如何能把那块hdisk1硬盘的系统给chdev掉???????\n\n[ 本帖最后由 huoren_123 于 2009-5-8 12:58 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-05-08 13:16 |只看该作者

回复 #1 huoren_123 的帖子

0514-062 Cannot perform the requested function because the specified device is busy \r\nPossible Causes \r\nYou specified a device that is being used by one or more processes. \r\n\r\nProcedures for Recovery \r\nCheck to make sure you selected the correct device.\r\n\r\nIf that is not the problem: \r\n\r\nRemove the process that is allocating your device. \r\nRun the ps -ef command to list which process is using the device you specified. \r\nRemove the process by using the kill command.\r\nIf that does not resolve the problem:\r\n\r\nReboot your system and reenter your command if your system is still busy. \r\nUse the sync command to update your i-node table. \r\nRun the shutdown -Fr command. Wait for the login prompt. \r\nAfter you log in, reenter your command.\r\nIf your device is still busy:\r\n\r\nhttp://post.doit.wisc.edu/librar ... sgdnref/err0514.htm\n\n[ 本帖最后由 ziggler 于 2009-5-8 13:19 编辑 ]

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
3 [报告]
发表于 2009-05-08 13:22 |只看该作者
你把操作系统装hdisk1上了,disk1已经是rootvg的一部分了,你还想chdev -l hdisk1 -a pv=clear??\r\n先migratepv hdisk1 hdisk0\r\n再reducevg rootvg hdisk1\r\n然后再chdev -l吧

论坛徽章:
0
4 [报告]
发表于 2009-05-08 21:26 |只看该作者

回复 #3 yddll 的帖子

3楼的判断正确,关键是LZ出于何种目的需要对hdisk1做chdev的动作?\r\n看lz描述是安装的时候选择安装盘为hdisk0,但是最终却安装到2块硬盘上。\r\n根据我以前一个经验,因为原来有系统,所以lz选择覆盖安装的时候,\r\n在选择安装硬盘时没有取消hdisk1(因为原系统在hdisk1上,重装就会默认选上)。\r\n所以目前只能按3楼的建议做。

论坛徽章:
12
CU大牛徽章
日期:2013-09-18 15:20:4815-16赛季CBA联赛之同曦
日期:2016-02-01 20:28:25IT运维版块每日发帖之星
日期:2015-11-10 06:20:00操作系统版块每日发帖之星
日期:2015-10-28 06:20:002015亚冠之塔什干棉农
日期:2015-06-04 11:41:56丑牛
日期:2014-05-10 16:11:33技术图书徽章
日期:2013-09-23 13:25:58CU大牛徽章
日期:2013-09-18 15:21:17CU大牛徽章
日期:2013-09-18 15:21:12CU大牛徽章
日期:2013-09-18 15:21:06CU大牛徽章
日期:2013-09-18 15:20:58数据库技术版块每日发帖之星
日期:2016-02-08 06:20:00
5 [报告]
发表于 2009-05-08 23:10 |只看该作者
rootvg装载两块盘上不是很好吗?做mirrorvg。

论坛徽章:
0
6 [报告]
发表于 2009-05-10 23:40 |只看该作者
依旧白菜的菜,小鸟的鸟,听课。\r\n\r\n菜鸟的建议:\r\n我有个办法能让LZ更深刻, 重装系统,New and Complete.....\r\n选盘的时候选HDISK0,记住Hdisk1别选。\r\n猜你应该是这样的:<<hdisk0\r\n                            <<hdisk1\r\n这样就好了:\r\n           <<Hdisk0\r\n                     Hdisk1\r\n装完系统后:\r\nlspv\r\n如果还是:\r\n#lspv\r\nhdisk0           000264aa8bdb094e          rootvg          active\r\nhdisk1           000264aa33dda78b          rootvg          active\r\n那得拜拜神仙了,呵呵。

论坛徽章:
0
7 [报告]
发表于 2009-05-12 10:25 |只看该作者
3楼的回答正确。LZ你的赏金呢,不会是又一个烂尾贴吧。

论坛徽章:
0
8 [报告]
发表于 2009-05-13 18:45 |只看该作者
如果你非要重做系统\r\n那么migratepv hdisk1 hdisk0将hdisk1上的系统迁移到hdisk0上\r\n用reducevg rootvg hdisk1去掉hdisk1\r\n再chdev —l hdisk1 -a pv=clear后\r\n再重做

论坛徽章:
0
9 [报告]
发表于 2009-07-13 13:02 |只看该作者
:wink: :wink: :wink: :wink:

论坛徽章:
0
10 [报告]
发表于 2010-12-28 15:25 |只看该作者
AIX深入敌后 发表于 2009-5-13 18:45 \r\n如果你非要重做系统\r\n那么migratepv hdisk1 hdisk0将hdisk1上的系统迁移到hdisk0上\r\n用reducevg rootvg hdi ...
\n\n我也认为这样比较好,没必要重装
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP