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!

Creating new asm partition on disk

User_MV38PJun 15 2016 — edited Jun 16 2016

Hi All,

Cluster upgrade from 11.2 to 12.1 is throwing an error message- "In sufficient disk space available in ASM disk group OCR_VOTE"

The first option that I have tried is trying to resize the disk partition.

Not able to resize the disks in  ASM disk group OCR_VOTE.

SQL> alter diskgroup OCR_VOTE resize all size 4G;

alter diskgroup OCR_VOTE resize all size 4G

*

ERROR at line 1:

ORA-15032: not all alterations performed

ORA-15057: specified size of 4096 MB is larger than actual size of ls -lh

MB

ORA-15057: specified size of 4096 MB is larger than actual size of 1953 MB

ORA-15057: specified size of 4096 MB is larger than actual size of 1953 MB

ORA-15057: specified size of 4096 MB is larger than actual size of 1953 MB

ORA-15057: specified size of 4096 MB is larger than actual size of 1953 MB

Second option, I have tried is adding a disk to disk group.

To add a new disk to ASM disk group OCR_VOTE.  Before adding a new disk, I have got the details about the disk group.

select name,failgroup,path,group_number,total_mb,free_mb,os_mb from v$asm_disk where group_number =2;

NAME                           FAILGROUP                                  PATH      GROUP_NUMBER   TOTAL_MB     FREE_MB      OS_MB

------------------------------ ------------------------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------ ---------- ---------- ----------

OCR_VOTE_0002                  OCR_VOTE_0002                  /data/asm_vote3 2        1953       1729       1953

OCR_VOTE_0004                  OCR_VOTE_0004                  /data/asm_vote5 2        1953       1760       1953

OCR_VOTE_0001                  OCR_VOTE_0001                  /data/asm_vote2 2        1953       1729       1953

OCR_VOTE_0000                  OCR_VOTE_0000                  /data/asm_vote1 2        1953       1731       1953

OCR_VOTE_0003                  OCR_VOTE_0003                  /data/asm_vote4 2        1953       1760       1953

Cd /data

Ls –ltr  asm_vote*

-rw-rw-rw- 1 ora11g oinstall 2048000000 Jun 15 13:16 asm_vote4

-rw-rw-rw- 1 ora11g oinstall 2048000000 Jun 15 13:16 asm_vote5

-rw-rw-rw- 1 ora11g oinstall 2048000000 Jun 15 13:58 asm_vote2

-rw-rw-rw- 1 ora11g oinstall 2048000000 Jun 15 13:58 asm_vote3

-rw-rw-rw- 1 ora11g oinstall 2048000000 Jun 15 13:58 asm_vote1

I would like to add a new disk to the disk group. Here asm_vote6 disk to the disk group OCR_VOTE.

There are so many links that provides how to create oracle asm disk using “oracleasm createdisk OCR_VOTE_0005  /dev/asm_vote6”

This command gave me the error “Unable to query file "/data/asm_vote6": No such file or directory”.

/dev/sdb2      ext4   960G  783G  129G  86%   /data

I understand that I have to create a new partition of asm_disk in the system under /data/  as asm_vote6.  Can someone please advise how to create a disk partition asm_vote6 in /data file system partition.

Thank you very much.

Nagesh.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2016
Added on Jun 15 2016
6 comments
1,776 views