10GRACRAW+ASMrhel-server-5.5-x86_64(四)

2015-01-27 18:09:01 · 作者: · 浏览: 126
. The number of cylinders for this disk is set to 2610. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-2610, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-2610, default 2610): +100m Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (14-2610, default 14): Using default value 14 Last cylinder or +size or +sizeM or +sizeK (14-2610, default 2610): +100m Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 3 First cylinder (27-2610, default 27): Using default value 27 Last cylinder or +size or +sizeM or +sizeK (27-2610, default 2610): +100m Command (m for help): n Command action e extended p primary partition (1-4) e Selected partition 4 First cylinder (40-2610, default 40): Using default value 40 Last cylinder or +size or +sizeM or +sizeK (40-2610, default 2610): Using default value 2610 Command (m for help): n First cylinder (40-2610, default 40): Using default value 40 Last cylinder or +size or +sizeM or +sizeK (40-2610, default 2610): +100m Command (m for help): n First cylinder (53-2610, default 53): Using default value 53 Last cylinder or +size or +sizeM or +sizeK (53-2610, default 2610): +100m Command (m for help): n First cylinder (66-2610, default 66): Using default value 66 Last cylinder or +size or +sizeM or +sizeK (66-2610, default 2610): +10g Command (m for help): n First cylinder (1283-2610, default 1283): Using default value 1283 Last cylinder or +size or +sizeM or +sizeK (1283-2610, default 2610): +5g Command (m for help): n First cylinder (1892-2610, default 1892): Using default value 1892 Last cylinder or +size or +sizeM or +sizeK (1892-2610, default 2610): Using default value 2610 Command (m for help): p Disk /dev/sdc: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 1 13 104391 83 Linux /dev/sdc2 14 26 104422+ 83 Linux /dev/sdc3 27 39 104422+ 83 Linux /dev/sdc4 40 2610 20651557+ 5 Extended /dev/sdc5 40 52 104391 83 Linux /dev/sdc6 53 65 104391 83 Linux /dev/sdc7 66 1282 9775521 83 Linux /dev/sdc8 1283 1891 4891761 83 Linux /dev/sdc9 1892 2610 5775336 83 Linux


八.配置raw 设备

?

所谓raw 设备,就是通过字符方式访问的设备,也就是读写设备不需要缓冲区。 在Linux 下,对磁盘值提供了块方式的访问。要想通过字符方式访问,必须配置raw 设备服务,并且Oracle 用户对这些raw 设备必须有访问的权限。

?

在2个节点上做如下操作:

?

1.修改/etc/udev/rules.d/60-raw.rules 文件

?

root@rh1 soft]# vi /etc/udev/rules.d/60-raw.rules

ACTION=="add", KERNEL=="sdc1",RUN+="/bin/raw /dev/raw/raw1 %N"

ACTION=="add", KERNEL=="sdc2",RUN+="/bin/raw /dev/raw/raw2 %N"

ACTION=="add", KERNEL=="sdc3",RUN+="/bin/raw /dev/raw/raw3 %N"

ACTION=="add", KERNEL=="sdc5",RUN+="/bin/raw /dev/raw/raw4 %N"

ACTION=="add", KERNEL=="sdc6",RUN+="/bin/raw /dev/raw/raw5 %N"

ACTION=="add",KERNEL=="raw[1-5]", OWNER="orac