求助高手们

[复制链接]
查看11 | 回复7 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
现在我装CRS,但是遇到问题是:在输入ocr以后,提示不可写:The location /dev/vgocr/rocr1 ,entered for Oracle Cluster Registry is NOT writable.
问题是我已经建好vgocr,并且在上面做了lv,在cluster起来以后也用vgchange -a s /dev/vgocr了,在两边都能看到这个VG,用dd if=/dev/zero of=/dev/vgocr/rocr1 bs=8192 count=12800也是OK的,我在sar -d里面也看到磁盘有IO的,
难道非要用裸磁盘/dev/rdsk/cxtydz吗?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
DB2#[/dev]vgdisplay -v vgocr
--- Volume groups ---
VG Name
/dev/vgocr
VG Write Access
read/write
VG Status
available, shared, client
Max LV
255
Cur LV
6
Open LV
6
Max PV
16
Cur PV
1
Act PV
1
Max PE per PV
1016
VGDA
2
PE Size (Mbytes)
4

Total PE
127
Alloc PE
77
Free PE
50
Total PVG
0
Total Spare PVs
0

Total Spare PVs in use0

------


DB1
Server

DB2
Client

--- Logical volumes ---
LV Name
/dev/vgocr/lvol1
LV Status
available/syncd
LV Size (Mbytes)
12

Current LE
3
Allocated PE
3
Used PV
1
LV Name
/dev/vgocr/vote2
LV Status
available/syncd
LV Size (Mbytes)
32

Current LE
8
Allocated PE
8
Used PV
1
LV Name
/dev/vgocr/vote3
LV Status
available/syncd
LV Size (Mbytes)
32

Current LE
8
Allocated PE
8
Used PV
1
LV Name
/dev/vgocr/ocr1
LV Status
available/syncd
LV Size (Mbytes)
100

Current LE
25
Allocated PE
25

Used PV
1
LV Name
/dev/vgocr/ocr2
LV Status
available/syncd
LV Size (Mbytes)
100

Current LE
25
Allocated PE
25

Used PV
1
LV Name
/dev/vgocr/vote1
LV Status
available/syncd
LV Size (Mbytes)
32

Current LE
8
Allocated PE
8
Used PV
1

--- Physical volumes ---
PV Name
/dev/dsk/c4t1d3
PV Name
/dev/dsk/c12t1d3 Alternate Link
PV Name
/dev/dsk/c6t1d3Alternate Link
PV Name
/dev/dsk/c14t1d3 Alternate Link
PV Status
available

Total PE
127
Free PE
50
Autoswitch
On
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
DB1#[/dev/vgocr]vgdisplay -v vgocr
--- Volume groups ---
VG Name
/dev/vgocr
VG Write Access
read/write
VG Status
available, shared, server
Max LV
255
Cur LV
6
Open LV
6
Max PV
16
Cur PV
1
Act PV
1
Max PE per PV
1016
VGDA
2
PE Size (Mbytes)
4

Total PE
127
Alloc PE
77
Free PE
50
Total PVG
0
Total Spare PVs
0

Total Spare PVs in use0

------


DB1
Server

DB2
Client

--- Logical volumes ---
LV Name
/dev/vgocr/test
LV Status
available/syncd
LV Size (Mbytes)
12

Current LE
3
Allocated PE
3
Used PV
1
LV Name
/dev/vgocr/vote1
LV Status
available/syncd
LV Size (Mbytes)
32

Current LE
8
Allocated PE
8
Used PV
1
LV Name
/dev/vgocr/vote2
LV Status
available/syncd
LV Size (Mbytes)
32

Current LE
8
Allocated PE
8
Used PV
1
LV Name
/dev/vgocr/vote3
LV Status
available/syncd
LV Size (Mbytes)
32

Current LE
8
Allocated PE
8
Used PV
1
LV Name
/dev/vgocr/ocr1
LV Status
available/syncd
LV Size (Mbytes)
100

Current LE
25
Allocated PE
25

Used PV
1
LV Name
/dev/vgocr/ocr2
LV Status
available/syncd
LV Size (Mbytes)
100

Current LE
25
Allocated PE
25

Used PV
1

--- Physical volumes ---
PV Name
/dev/dsk/c4t1d3
PV Name
/dev/dsk/c14t1d3 Alternate Link
PV Name
/dev/dsk/c12t1d3 Alternate Link
PV Name
/dev/dsk/c6t1d3Alternate Link
PV Status
available

Total PE
127
Free PE
50
Autoswitch
On
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
DB1#[/dev/vgocr]ll
total 0
crw-rw-rw- 1 root sys 64 0x110000 Dec5 20:02 group
brw-r----- 1 root sys 64 0x110005 Dec6 12:08 ocr1
brw-r----- 1 root sys 64 0x110006 Dec6 12:08 ocr2
crw-r----- 1 oracle dba 64 0x110005 Dec6 12:08 rocr1
crw-r----- 1 oracle dba 64 0x110006 Dec6 12:08 rocr2
crw-rw---- 1 oracle dba 64 0x110001 Dec6 12:07 rtest
crw-rw---- 1 oracle dba 64 0x110002 Dec6 12:08 rvote1
crw-rw---- 1 oracle dba 64 0x110003 Dec6 12:08 rvote2
crw-rw---- 1 oracle dba 64 0x110004 Dec6 12:08 rvote3
brw-r----- 1 root sys 64 0x110001 Dec6 12:07 test
brw-r----- 1 root sys 64 0x110002 Dec6 12:08 vote1
brw-r----- 1 root sys 64 0x110003 Dec6 12:08 vote2
brw-r----- 1 root sys 64 0x110004 Dec6 12:08 vote3
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
为什不按oracle文档作,用ocfs或raw
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
这要看你整个是如何规划的
ocfs,raw,asm?
每种模式下使用的CRS都不太一样啊
你现在采用哪种模式呢?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
最初由 sealight 发布
[B]这要看你整个是如何规划的
ocfs,raw,asm?
每种模式下使用的CRS都不太一样啊
你现在采用哪种模式呢? [/B]

是啊,还有asm,不过一般不用。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
这也是按照oracle官方文档做的,使用的是SLVM。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行