水煮oracle19——《oracle rac安装中mount -t ocfs2的问题

   初次安装rac,遇到不少问题,其中问题一就是
#mount -t ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs 
报错:mount.ocfs2: Invalid argument while mounting /dev/sdb1 on /ocfs.
           Check 'dmesg' for more information on this error.
所以就检查了
#cat  /var/log/dmesg------但是功力尚浅看不出什么原因来
又检查
#cat /var/log/message------里面提示错误
Apr 23 15:32:59 rac1 kernel: (6696,1):ocfs2_initialize_super:1455
ERROR: couldn't mount because of unsupported optional features (50).
Apr 23 15:32:59 rac1 kernel: (6696,1):ocfs2_fill_super:578 ERROR: status = -22
Apr 23 15:32:59 rac1 kernel: ocfs2: Unmounting device (8,17) on (node 255)
由此可以知道可能选择的rpm出现了问题,笨人不怕多练嘛!那就换个rpm版本试试吧
哥们的linux redhat5 有点久,kernel号:
#uname -r
2.6.18-8.el5xen
   原来版本是:ocfs2 1.4.4-1
更换为
                      :ocfs2 1.2.7-1
 
跟换步骤:
1.#rpm -ivh ocfs* --force     ——安装后把1.4.4rpm包卸掉(#rpm -e  ocfs。。。)
2.以 root 身份运行
#/etc/init.d/o2cb unload
# /etc/init.d/o2cb configure
# /etc/init.d/o2cb status
# ocfs2console----格式化sdb1
# mount -t ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs

至此搞定,成功使用!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23890223/viewspace-722052/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23890223/viewspace-722052/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值