Linux AS4U5 lvm raw oracle10
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-02
备绑定生效:
/sbin/service rawdevices restart
查看裸设备
[root@oraDBServer ~]# raw -qa /dev/raw/raw1: bound to major 253, minor 0 /dev/raw/raw2: bound to major 253, minor 1 /dev/raw/raw3: bound to major 253, minor 2 /dev/raw/raw4: bound to major 253, minor 3 /dev/raw/raw5: bound to major 253, minor 4 /dev/raw/raw6: bound to major 253, minor 5 /dev/raw/raw7: bound to major 253, minor 6 /dev/raw/raw8: bound to major 253, minor 7 /dev/raw/raw9: bound to major 253, minor 8 /dev/raw/raw10: bound to major 253, minor 9 /dev/raw/raw11: bound to major 253, minor 10 [root@oraDBServer ~]# 7.修改raw文件属性: # /sbin/service rawdevices restart # chown oracle:dba /dev/raw/raw[1-9]
# chmod 0660 /dev/raw/raw[1-9] ls -al /dev/raw/* crw-rw---- 1 oracle dba 162, 1 Jul 22 08:25 /dev/raw/raw1 crw-rw---- 1 oracle dba 162, 10 Jul 22 08:25 /dev/raw/raw10 crw-rw---- 1 oracle dba 162, 11 Jul 22 08:25 /dev/raw/raw11 crw-rw---- 1 oracle dba 162, 2 Jul 22 08:25 /dev/raw/raw2 crw-rw---- 1 oracle dba 162, 3 Jul 22 08:25 /dev/raw/raw3 crw-rw---- 1 oracle dba 162, 4 Jul 22 08:25 /dev/raw/raw4 crw-rw---- 1 oracle dba 162, 5 Jul 22 08:25 /dev/raw/raw5 crw-rw---- 1 oracle dba 162, 6 Jul 22 08:31 /dev/raw/raw6 crw-rw---- 1 oracle dba 162, 7 Jul 22 08:25 /dev/raw/raw7 crw-rw---- 1 oracle dba 162, 8 Jul 22 08:25 /dev/raw/raw8 crw-rw---- 1 oracle dba 162, 9 Jul 22 08:25 /dev/raw/raw9 [root@localhost /]# vi /etc/udev/permissions.d/50-udev.permissions # raw devices ram*:root:disk:0660 raw/*:oracle:dba:0660 #113 line 查看相前raw的信息 [root@localhost /]# raw -qa /dev/raw/raw1: bound to major 253, minor 0 /dev/raw/raw2: bound to major 253, minor 1 /dev/raw/raw3: bound to major 253, minor 2 /dev/raw/raw4: bound to major 253, minor 3 /dev/raw/raw5: bound to major 253, minor 4 /dev/raw/raw6: bound to major 253, minor 5 /dev/raw/raw7: bound to major 253, minor 6 /dev/raw/raw8: bound to major 253, minor 7 /dev/raw/raw9: bound to major 253, minor 8 /dev/raw/raw10: bound to major 253, minor 9 /dev/raw/raw11: bound to major 253, minor 11 10.使用oracle用户创建链接文件: (/oradata目录下在创建连接前内容为空) [root@localhost /]#mkdir /oradata [root@localhost /]# chown -R oracle.dba oradata/ [root@localhost /]# chmod 775 /oradata/ [root@localhost /]# ll total 166 ............... drwxr-xr-x 5 oracle oinstall 4096 Jul 20 13:45 opt drwxrwxr-x 2 oracle dba 4096 Jul 22 08:32 oradata .........................
[oracle@localhost ~]$ cd /oradata/ [oracle@localhost oradata]$ ln -s /dev/raw/raw1 /oradata/system01.dbf [oracle@localhost oradata]$ ln -s /dev/raw/raw2 /oradata/sysaux01.dbf [oracle@localhost oradata]$ ln -s /dev/raw/raw3 /oradata/undotbs01.dbf [oracle@localhost oradata]$ ln -s /dev/raw/raw4 /oradata/redo01.dbf [oracle@localhost oradata]$ ln -s /dev/raw/raw5 /oradata/redo02.dbf [oracle@localhost oradata]$ ln -s /dev/raw/raw6 /oradata/control01.ctl [oracle@localhost oradata]$ ln -s /dev/raw/raw7 /orad |
||
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: linux ftp下一篇: linux的运行级别
关于Linux AS4U5 lvm raw oracle10的所有评论