Redhat 6.2(x86_64)+oracle10g(RAC)+asm安装配置(3)

2019-03-10 19:08

sectors (command 'u').

Command (m for help): n Command action e extended

p primary partition (1-4) p

Partition number (1-4): 1

First cylinder (1-1011, default 1): Using default value 1

Last cylinder, +cylinders or +size{K,M,G} (1-1011, default 1011): 100M

Command (m for help): n Command action e extended

p primary partition (1-4) e

Partition number (1-4): 2

First cylinder (101-1011, default 101): Using default value 101

Last cylinder, +cylinders or +size{K,M,G} (101-1011, default 1011): Using default value 1011

Command (m for help): n Command action

l logical (5 or over)

p primary partition (1-4) l

First cylinder (101-1011, default 101): Using default value 101

Last cylinder, +cylinders or +size{K,M,G} (101-1011, default 1011): 200M

Command (m for help): p

Disk /dev/emcpowerf: 1073 MB, 1073741824 bytes 34 heads, 61 sectors/track, 1011 cylinders

Units = cylinders of 2074 * 512 = 1061888 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x9755c97b

Device Boot Start End Blocks Id System /dev/emcpowerf1 1 100 103669+ 83 Linux /dev/emcpowerf2 101 1011 944707 5 Extended

/dev/emcpowerf5 101 200 103669+ 83 Linux

Command (m for help): save

对其他的设备也进行类似的分区后,分完区后可使用fdisk –l命令进行查看。 2) 配置自动生成裸设备 需要编辑文件,生成裸设备,并写成脚本,放在/etc目录下,具体文件名为raw.rac,内容为: #!/bin/sh

# Oracle Cluster Registry (OCR) devices chown root:dba /dev/emcpowerf[5,6] chmod 640 /dev/emcpowerf[5,6] raw /dev/raw/raw1 /dev/emcpowerf5 raw /dev/raw/raw2 /dev/emcpowerf6 sleep 2

chown root:dba /dev/raw/raw1 chown root:dba /dev/raw/raw2 chmod 640 /dev/raw/raw1 chmod 640 /dev/raw/raw2 #####

# Oracle Cluster Voting disks #####

chown orasrv:dba /dev/emcpowere[5,6,7] chmod 644 /dev/emcpowere[5,6,7] raw /dev/raw/raw3 /dev/emcpowere5 raw /dev/raw/raw4 /dev/emcpowere6 raw /dev/raw/raw5 /dev/emcpowere7 sleep 2

chown orasrv:dba /dev/raw/raw[3,4,5] chmod 644 /dev/raw/raw[3,4,5] #Oracle Asm

chown orasrv:dba /dev/emcpowerg5 chown orasrv:dba /dev/emcpowerb5 chown orasrv:dba /dev/emcpowerc5 chmod 664 /dev/emcpowerg5 chmod 664 /dev/emcpowerb5 chmod 664 /dev/emcpowerc5

raw /dev/raw/raw6 /dev/emcpowerg5 raw /dev/raw/raw7 /dev/emcpowerb5 raw /dev/raw/raw8 /dev/emcpowerc5

sleep 2

chown orasrv:dba /dev/raw/raw[6,7,8] chmod 664 /dev/raw/raw[6,7,8]

[root@pehis1 etc]# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 499.0 GB, 498999492608 bytes 255 heads, 63 sectors/track, 60666 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000

Device Boot Start End Blocks Id System /dev/sda1 1 60667 487304191+ ee GPT Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdb: 499.0 GB, 498999492608 bytes 255 heads, 63 sectors/track, 60666 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000

Device Boot Start End Blocks Id System /dev/sdb1 1 60667 487304191+ ee GPT Partition 1 does not start on physical sector boundary.

Disk /dev/sdc: 1073 MB, 1073741824 bytes 34 heads, 61 sectors/track, 1011 cylinders

Units = cylinders of 2074 * 512 = 1061888 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 1073 MB, 1073741824 bytes 34 heads, 61 sectors/track, 1011 cylinders

Units = cylinders of 2074 * 512 = 1061888 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x7010185f

Device Boot Start End Blocks Id System /dev/sdd1 1 100 103669+ 83 Linux /dev/sdd2 101 1011 944707 5 Extended /dev/sdd5 101 200 103669+ 83 Linux /dev/sdd6 201 398 205295+ 83 Linux

Disk /dev/sde: 1073 MB, 1073741824 bytes 34 heads, 61 sectors/track, 1011 cylinders

Units = cylinders of 2074 * 512 = 1061888 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x2b557bae

Device Boot Start End Blocks Id System /dev/sde1 1 100 103669+ 83 Linux /dev/sde2 101 1011 944707 5 Extended /dev/sde5 101 200 103669+ 83 Linux /dev/sde6 201 398 205295+ 83 Linux /dev/sde7 399 596 205295+ 83 Linux

Disk /dev/sdf: 1932.7 GB, 1932735283200 bytes 255 heads, 63 sectors/track, 234975 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x1f20228d

Device Boot Start End Blocks Id System /dev/sdf1 1 100 803218+ 83 Linux /dev/sdf2 101 234975 1886633437+ 5 Extended /dev/sdf5 101 234975 1886633406 83 Linux

Disk /dev/sdh: 574.2 GB, 574220140544 bytes 255 heads, 63 sectors/track, 69811 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xbb3a5b38

Device Boot Start End Blocks Id System /dev/sdh1 1 100 803218+ 83 Linux /dev/sdh2 101 69811 559953607+ 5 Extended /dev/sdh5 101 69811 559953576 83 Linux

Disk /dev/sdg: 1395.9 GB, 1395864371200 bytes 255 heads, 63 sectors/track, 169704 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x818b0333

Device Boot Start End Blocks Id System /dev/sdg1 1 100 803218+ 83 Linux /dev/sdg2 101 169704 1362344130 5 Extended /dev/sdg5 101 169704 1362344098+ 83 Linux

Disk /dev/sdj: 1073 MB, 1073741824 bytes 34 heads, 61 sectors/track, 1011 cylinders

Units = cylinders of 2074 * 512 = 1061888 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x7010185f

Device Boot Start End Blocks Id System /dev/sdj1 1 100 103669+ 83 Linux /dev/sdj2 101 1011 944707 5 Extended /dev/sdj5 101 200 103669+ 83 Linux /dev/sdj6 201 398 205295+ 83 Linux

Disk /dev/sdi: 1073 MB, 1073741824 bytes 34 heads, 61 sectors/track, 1011 cylinders

Units = cylinders of 2074 * 512 = 1061888 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000

Disk /dev/sdi doesn't contain a valid partition table

Disk /dev/sdk: 1073 MB, 1073741824 bytes 34 heads, 61 sectors/track, 1011 cylinders

Units = cylinders of 2074 * 512 = 1061888 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes


Redhat 6.2(x86_64)+oracle10g(RAC)+asm安装配置(3).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:浅析高校思想政治教育的创新研究-精选教育文档

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: