Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

RAW creation of ORACLE under linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1. Disk partition, create 13 partitions, corresponding to ORACLE13 files

Fdisk / dev/sdc

two。 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== "660th" / / modify ownership, group, and access permissions

3. Execute build command

# start_udev

# raw-qa / / View the created RAW

4. Modify permissions (if it is already included in step 2, you don't have to do it)

# chmod 660 / dev/raw/raw*

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

5. Write an ORACLE mapping RAW file so that you can specify directly when building 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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report