
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 652 5237158+ 83 Linux
Disk /dev/sde: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 652 5237158+ 83 Linux
Disk /dev/sdf: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 652 5237158+ 83 Linux
Disk /dev/dm-0: 18.9 GB, 18991808512 bytes
255 heads, 63 sectors/track, 2308 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 5469 MB, 5469372416 bytes
255 heads, 63 sectors/track, 664 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
[root@cluster1 ~]# /etc/init.d/oracleasm listdisks
ASM1
ASM2
ASM3
ASM4
OCR
四、测试记录
--------------
1、 虚拟机 os 底层加盘/dev/sdg1、用 ASMLIB 标记为 ASM 磁盘/dev/oracleasm/disks/OCR
2、 以独占和 nocrs 模式启动 crs:
[root@cluster1 ~]# /grid/bin/crsctl start crs -excl -nocrs
CRS-4123: Oracle High Availability Services has been started.
…
CRS-2676: Start of 'ora.asm' on 'cluster1' succeeded
3、 修改 ocr.loc
将 ocrconfig_loc 改为+OCR
[root@cluster1 ~]# vi /etc/oracle/ocr.loc
ocrconfig_loc=+OCR
local_only=FALSE
~
评论