Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ASM showing wrong disk size

divMay 19 2017 — edited May 23 2017

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.

This post has been answered by div on May 23 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2017
Added on May 19 2017
2 comments
791 views