如何更改hdisk的号码
有两台h85,连到一个7133,都能识别到两个hdisk,但是顺序不一样,由于安装rac的需要,需要hdisk的顺序一致,即如何在一台h85上将hdisk2该为hdisk3。我多次删除hdisk,重新识别都不可以。 lsdev -Cc disk 贴出来 可以造一个假的,呵呵:) 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 编辑 ] 原帖由 舒风星 于 2008-4-15 09:14 发表 http://bbs.chinaunix.net/images/common/back.gif
可以造一个假的,呵呵:)
如何造假呢? 另外一台的呢 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 只要pvid一致,共享vg的major number保持一致就可以吧 我查了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 编辑 ] 原帖由 jimmytao 于 2008-4-15 09:43 发表 http://bbs.chinaunix.net/images/common/back.gif
只要pvid一致,共享vg的major number保持一致就可以吧
major number在建立vg时都是默认的,是61。
页:
[1]
2