Host : RHEL 6.
Oracle 12.1.0.2 and cluserware .
We are doing a fresh install of oracle and asm on RHEL.
Adding the disk to ASM was not a problem. However we found that the disk showed that there was on 100MB of space.
Went back to the sysadmin and he realized there was a problem with the partition.
On one node we dropped the disk
/etc/init.d/oracleasm deletedisk DATA01.
Ran scandisks on all nodes.
Verified the disk was dropped.
The sysadmin went in and fixed the partition issue.
parted /dev/mapper/NIM-LUN-DATA-1 print
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/NIM-LUN-DATA-1: 537GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 537GB 537GB primary
Now . I went in and added the disk again
/etc/init.d/oracleasm createdisk DATA01 /dev/mapper/NIM-LUN-DATA-1p1
Marking disk "DATA01" as an ASM disk: [ OK ]
[root@racpr0301 ~]# /etc/init.d/oracleasm listdisks
DATA01
OCRVOTE01
OCRVOTE02
OCRVOTE03
Node2
root@racpr0302 ~]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@racpr0302 ~]# /etc/init.d/oracleasm listdisks
DATA01
OCRVOTE01
OCRVOTE02
OCRVOTE03
[root@racpr0302 ~]#
SQL> select name,OS_MB,TOTAL_MB,FREE_MB ,PATH from v$asm_disk
2 ;
NAME OS_MB TOTAL_MB FREE_MB
------------------------------ ---------- ---------- ----------
PATH
--------------------------------------------------------------------------------
94 0 0
ORCL:DATA01
OCRVOTE01 10238 10238 7187
ORCL:OCRVOTE01
What am I missing?
Thank you in advance.