免费注册 查看新帖 |

Chinaunix

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

如何更改hdisk的号码 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2008-08-22 12:46 |只看该作者
7133 service guide上写的很清楚啊。\r\n\r\n1. Find the pdisk or hdisk number that you want to change, and select a new (unused)\r\nname.\r\n2. Give the command:\r\nlsdev -Cl [disknumber] -Fconnwhere\r\nwhere [disknumber] is the pdisk or hdisk number (for example, pdisk0) that you\r\nwant to change.\r\nThe command returns a ConnectionLocation number (for example,\r\n004AC5119E000D).\r\n3. Make a note of this number; you will need it later in this procedure.\r\n4. Give the command:\r\nlsdev -Cl [disknumber] -Ftype\r\nwhere [disknumber] is the pdisk or hdisk number (for example, pdisk0) that you\r\nwant to change.\r\nThe command returns the device Type for the disk.\r\n5. Make a note of this device type; you will need it later in this procedure.\r\n6. Remove the existing pdisk or hdisk number from the configuration. Give the\r\ncommand:\r\nrmdev -l [disknumber] -d\r\nwhere [disknumber] is the pdisk or hdisk number (for example, pdisk0) that you\r\nwant to remove.\r\n7. Give the command:\r\nmkdev -pssar -t [Type] -c [Class] -s ssar -w [ConnectionLocation] -l [NewDiskName]\r\nwhere:\r\n[Type] is the disk type that you noted in step 5.\r\n[Class] is pdisk for a pdisk, or disk for an hdisk.\r\n[ConnectionLocation] is the number that you noted in step 3.\r\n[NewDiskName] is the pdisk or hdisk number (for example, pdisk0) that you want\r\nfor the disk.\r\nFor example:\r\nmkdev -p ssar -t scsd -c pdisk -s ssar -w 004AC5119E000D -l pdisk50

论坛徽章:
0
12 [报告]
发表于 2008-08-27 11:12 |只看该作者
:wink:\n\n[ 本帖最后由 sky.xuxm 于 2008-8-27 11:16 编辑 ]

论坛徽章:
0
13 [报告]
发表于 2008-08-27 11:14 |只看该作者
:wink:\n\n[ 本帖最后由 sky.xuxm 于 2008-8-27 11:16 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP