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

 找回密码
 注册

QQ登录

只需一步,快速开始

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

[Oracle] ASM添加votedisk

[复制链接]
跳转到指定楼层
楼主
发表于 2020-6-14 12:29:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1、 查看votedisk磁盘信息
[grid@orcl1 ~]$ crsctl query css votedisk
## STATE    File Universal Id                File Name Disk group
-- -----    -----------------                --------- ---------
1.ONLINE   8c11fb1c89764fd0bfbc39ddb21e3343(/dev/asmdisk2) [OCR]
Located 1 voting disk(s).
2、 查看当前OCR磁盘信息
[grid@orcl1 ~]$ ocrcheck
Status of Oracle Cluster Registry is asfollows :
        Version                  :          3
        Total space (kbytes)     :     262120
        Used space (kbytes)      :       2916
        Available space (kbytes) :    259204
        ID                       :   65217394
        Device/File Name         :       +OCR
                                    Device/Fileintegrity check succeeded
                                    Device/Filenot configured
                                    Device/Filenot configured
                                    Device/Filenot configured
                                    Device/Filenot configured
        Cluster registry integrity check succeeded
        Logical corruption check bypassed due to non-privileged user
3、 查看作ASM用的磁盘
[grid@orcl1 ~]$ ll /dev/asm*
lrwxrwxrwx 1 root root 4 Feb 18 21:54/dev/asmdisk1 -> sdb1
lrwxrwxrwx 1 root root 4 Feb 19 02:04/dev/asmdisk2 -> sdc1
[grid@orcl1 ~]$
4、 设置DISPLAY变量
[grid@orcl1 ~]$export DISPLAY=192.168.133.1:0.0
[grid@orcl1 ~]$export LANG=C
5、 使用asmca添加ASM磁盘组
[grid@orcl1 ~]$asmca
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-2 17:00 , Processed in 0.105600 second(s), 23 queries .

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

© 2001-2020

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