Oracle's raw creation under Linux

Source: Internet
Author: User

1. Disk partition, set up 13 partitions, corresponding ORACLE13 files respectively

Fdisk/dev/sdc


2. Edit the 60.raw,rules file

#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/raw5%N"

action== "Add", kernel== "Sdc6", run+= "/bin/raw/dev/raw/raw6%N"

action== "Add", kernel== "Sdc7", run+= "/bin/raw/dev/raw/raw7%N"

action== "Add", kernel== "Sdc8", run+= "/bin/raw/dev/raw/raw8%N"

action== "Add", kernel== "SDC9", run+= "/bin/raw/dev/raw/raw9%N"

action== "Add", kernel== "SDC10", run+= "/bin/raw/dev/raw/raw10%N"

action== "Add", kernel== "Sdc11", run+= "/bin/raw/dev/raw/raw11%N"

action== "Add", kernel== "Sdc12", run+= "/bin/raw/dev/raw/raw12%N"

action== "Add", kernel== "Sdc13", run+= "/bin/raw/dev/raw/raw13%N"

kernel== "raw*", owner== "Oracle", group== "Oinstall", mode== "660"//modify owner, genus, and access rights


3. Execute the Build command

#start_udev

#raw-QA//view created RAW


4. Modify permissions (if included in the second step, can not be executed)

#chmod 660/dev/raw/raw*

#chown oracle:dba/dev/raw/raw*


5. Write an Oracle map RAW file so that you can specify it directly when you build the library

#vi Mapping.txt

System=/dev/raw/raw1

Sysaux=/dev/raw/raw2

Undotbs1=/dev/raw/raw3

Temp=/dev/raw/raw5

Users=/dev/raw/raw6

Redo1_1=/dev/raw/raw7

Redo1_2=/dev/raw/raw8

Redo1_3=/dev/raw/raw9

Control1=/dev/raw/raw10

Control2=/dev/raw/raw11

Control3=/dev/raw/raw12

Spfile=/dev/raw/raw13


This article from "Knowledge change Destiny!!!" "Blog, be sure to keep this provenance http://arlen99.blog.51cto.com/10424817/1759325

Oracle's raw creation under Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.