关于挂载问题

今天重启服务器,盘阵没有挂载,纠结了好久才发现这个问题。
首先启动数据库的时候报错:ORA-00205: error in identifying controlfile, check alert log for more info
打开%oraclehome/admin/frk/bdump/alert.log
查到错误为:
ORA-00202: controlfile: '/oracledata/frk/control01.ctl'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
找不到这个文件,到oracledata下面,这个文件夹是空的,才发现磁盘阵列没有挂载上。
在SSH中输入fdisk -l 查看到下面有游离的磁盘/dev/sdb1,这个就是要挂载到/oracledata文件夹的磁盘阵列
输入mount /dev/sdb1 /oracledata
然后在看df -h
出现了这个磁盘
再重启下之前没有完全启动的数据库
输入su - oracle
$sqlplus /nolog
SQL>conn /as sysdba
SQL>shutdown immediate
等关闭之后再输入
SQL>startup
之后就正常启动了。哇咔咔

猜你喜欢

转载自www.cnblogs.com/last-summer/p/10481849.html