不知道怎么搞的,系统上面是可以看到分配过来的盘。路径改为/dev/oracle/disks/*也是空的。
但是到了安装的时候就看不到。
权限给的是这个
目录调整为/dev/mapper/,貌似也没有看到磁盘
[root@rac1 ~]# uname -a
Linux rac1 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@rac1 ~]# cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
同样的环境换成了11g安装就可以认到盘。哎。不清楚19c是不是改了磁盘管理方式了。。。。
先不管了。安装11g玩玩。19c也不知道怎么去获取学习资料。论坛关于19c的资料好像蛮少的。
可以参考一下 https://www.oracle.com/technetwork/cn/server-storage/linux/install-100242-zhs.html
可以列出和查询现有磁盘:
[root@ca-test1 /]# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
[root@ca-test1 /]# /etc/init.d/oracleasm querydisk VOL1
Checking for ASM disk "VOL1" [ OK ]
向 RAC 设置中添加磁盘时,需要通知其他节点该磁盘的存在。在一个节点上运行“createdisk”命令,然后在其他每一个节点上运行“scandisks”:
[root@ca-test1 /]# /etc/init.d/oracleasm scandisks
Scanning system for ASM disks [ OK ]