linux下ORACLE之RAW创建
1.磁盘分区,建立13个分区,分别对应ORACLE13个文件
十余年的大理州网站建设经验,针对设计、前端、开发、售后、文案、推广等六对一服务,响应快,48小时及时工作处理。全网整合营销推广的优势是能够根据用户设备显示端的尺寸不同,自动调整大理州建站的显示方式,使网站能够适用不同显示终端,在浏览器中调整网站的宽度,无论在任何一种浏览器上浏览网站,都能展现优雅布局与设计,从而大程度地提升浏览体验。创新互联从事“大理州网站设计”,“大理州网站推广”以来,每个客户项目都认真落实执行。
fdisk /dev/sdc
2. 编辑60.raw,rules文件
#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" //修改属主,属组,及访问权限
3.执行生成命令
#start_udev
#raw -qa //查看创建的RAW
4. 修改权限(如果第二步中已包含,可以不执行)
#chmod 660 /dev/raw/raw*
#chown oracle:dba /dev/raw/raw*
5.编写ORACLE映射RAW文件,以便建库时直接指定
#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
新闻名称:linux下ORACLE之RAW创建
网站路径:http://scjbc.cn/article/gsdeco.html