重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3837|回复: 0
打印 上一主题 下一主题

vcs下面与操作系统命令重复捣的鬼

[复制链接]
跳转到指定楼层
楼主
发表于 2014-8-19 19:30:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在一用户处,准备把memory_target加大一点,通过alter system set memory_target=16g后,启动数据库报错:ORA-00845: MEMORY_TARGET not supported on this system ,一查,发现/dev/shm大小为    15g,于是去增加/dev/shm,这个 shm默认为物理内存的一半,一增加,就报这个错误:
    # mount -t tmpfs shmfs -o size=16g /dev/shm
UX:vxfs mount: ERROR: V-3-20135: FSType tmpfs not recognized
UX:vxfs mount: INFO: V-3-20147: Usage:
mount [-t vxfs] [generic_options] [-o suboptions] {special | mount_point}
        suboptions are:
                [rw|ro][,crw]
                [remount]
                [quota|usrquota|grpquota]
                [suid|nosuid]
                [log|delaylog|tmplog]
                [datainlog|nodatainlog]
                [snapof=primary_mntpt[,snapsize=blocks]]
                [convosync={direct|dsync|closesync|delay|unbuffered}]
                [mincache={direct|dsync|closesync|tmpcache|unbuffered}]
                [blkclear]
                [cio]
                [largefiles|nolargefiles]
                [cluster]
                [seconly]
                [noatime]
                [nomtime]
                [ckpt=ckpt_name]
                [mntlock=id]
                [ioerror={mwdisable|wdisable|nodisable|mdisable|disable}]
                [logiosize=size]
                [noauto]
                [ckptautomnt={off|ro|rw}]
                [uniqueino|nouniqueino]
                [nommapcio]
                [protected={off|on}]

开始还以为是安装了vcs后,增加shm空间必须要vsf的命令,后来想想不对吧,mount一直都是好好的呀,于是看看mount的路径,才发现 该 mount的路径为 :/opt/VRTSvcs/bin/mount,于是马上想起,直接使用
    /bin/mount -t  tmpfs shmfs -o size=17g /dev/shm
   问题搞定,后来再使用 df -h,也发现不行,同样的办法搞定。再检查发现环境变量中 /opt/VRTSvcs/bin/ 在 /bin前面了所导致。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-23 19:59 , Processed in 0.107227 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表