现在我装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吗?
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
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