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

标题: vcs下面与操作系统命令重复捣的鬼 [打印本页]

作者: 郑全    时间: 2014-8-19 19:30
标题: vcs下面与操作系统命令重复捣的鬼
在一用户处,准备把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前面了所导致。





欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2