免费注册 查看新帖 |

Chinaunix

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

[新手入门] 如何更改hdisk的号码 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-15 08:54 |只看该作者 |倒序浏览
有两台h85,连到一个7133,都能识别到两个hdisk,但是顺序不一样,由于安装rac的需要,需要hdisk的顺序一致,即如何在一台h85上将hdisk2该为hdisk3。
我多次删除hdisk,重新识别都不可以。

论坛徽章:
0
2 [报告]
发表于 2008-04-15 09:11 |只看该作者
lsdev -Cc disk 贴出来

论坛徽章:
0
3 [报告]
发表于 2008-04-15 09:14 |只看该作者
可以造一个假的,呵呵

论坛徽章:
0
4 [报告]
发表于 2008-04-15 09:20 |只看该作者
erpapp:/dev#lsdev -Cc disk
hdisk0 Available 40-60-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 40-60-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 11-08-L      SSA Logical Disk Drive
hdisk3 Available 11-08-L      SSA Logical Disk Drive

erpapp:/dev#lspv
hdisk0          000ca3ff00085d46                    rootvg          active
hdisk1          000ca3fff9d38327                    rootvg          active
hdisk2          000ca40fadf246f6                    None
hdisk3          000ca40fa599fec1                    None

[ 本帖最后由 dhm007 于 2008-4-15 09:40 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2008-04-15 09:21 |只看该作者
原帖由 舒风星 于 2008-4-15 09:14 发表
可以造一个假的,呵呵

如何造假呢?

论坛徽章:
0
6 [报告]
发表于 2008-04-15 09:28 |只看该作者
另外一台的呢

论坛徽章:
0
7 [报告]
发表于 2008-04-15 09:38 |只看该作者
dserp:/#lsdev -Cc disk
hdisk0 Available 40-60-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 40-60-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 11-08-L      SSA Logical Disk Drive
hdisk3 Available 11-08-L      SSA Logical Disk Drive

dserp:/#lspv
hdisk0          000ca40f6be189fd                    rootvg          active
hdisk1          000ca40ffa2a0ac7                    rootvg          active
hdisk2          000ca40fa599fec1                    datavg
hdisk3          000ca40fadf246f6                    appvg

论坛徽章:
0
8 [报告]
发表于 2008-04-15 09:43 |只看该作者
只要pvid一致,共享vg的major number保持一致就可以吧

论坛徽章:
0
9 [报告]
发表于 2008-04-15 10:00 |只看该作者
我查了metalink,里面有这样一段话,不是很懂。
Note, the disk and its PVID must be visible and consistent between nodes. If the device name associated with the PVID for a disk that you want to use is different on any node, you must create a new device file for the disk on each of the nodes using a common unused name. In this case, create a dummy disk; e.g., hdisk99 using the mknod command on both the nodes with the minor and major number of the actual disk being used for OCR or voting disk. This will ensure the disk name being same across all the nodes.

如何用mknod建立一个a dummy disk?

[ 本帖最后由 dhm007 于 2008-4-15 10:02 编辑 ]

论坛徽章:
0
10 [报告]
发表于 2008-04-15 10:05 |只看该作者
原帖由 jimmytao 于 2008-4-15 09:43 发表
只要pvid一致,共享vg的major number保持一致就可以吧


major number在建立vg时都是默认的,是61。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP