dhm007 发表于 2008-04-15 08:54

如何更改hdisk的号码

有两台h85,连到一个7133,都能识别到两个hdisk,但是顺序不一样,由于安装rac的需要,需要hdisk的顺序一致,即如何在一台h85上将hdisk2该为hdisk3。
我多次删除hdisk,重新识别都不可以。

jimmytao 发表于 2008-04-15 09:11

lsdev -Cc disk 贴出来

舒风星 发表于 2008-04-15 09:14

可以造一个假的,呵呵:)

dhm007 发表于 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 编辑 ]

dhm007 发表于 2008-04-15 09:21

原帖由 舒风星 于 2008-4-15 09:14 发表 http://bbs.chinaunix.net/images/common/back.gif
可以造一个假的,呵呵:)
如何造假呢?

jimmytao 发表于 2008-04-15 09:28

另外一台的呢

dhm007 发表于 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

jimmytao 发表于 2008-04-15 09:43

只要pvid一致,共享vg的major number保持一致就可以吧

dhm007 发表于 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 编辑 ]

dhm007 发表于 2008-04-15 10:05

原帖由 jimmytao 于 2008-4-15 09:43 发表 http://bbs.chinaunix.net/images/common/back.gif
只要pvid一致,共享vg的major number保持一致就可以吧

major number在建立vg时都是默认的,是61。
页: [1] 2
查看完整版本: 如何更改hdisk的号码