0

Platform - RHEL. Database - 11.2.0.3.

I have a diskgroup name TEST with AU as 1. I need to have the diskgroup with AU as 4 therefore I decided to drop the existing DG and recreate the new one with required AU.

I dropped the existing DG, it got dropped just fine. When I try to create new diskgoups with same name, it gives me error as below:

ERROR at line 1:

ORA-15018: diskgroup cannot be created

ORA-15031: disk specification ‘/dev/mapper/TESTDG01’ matches no disks

ORA-15025: could not open disk “/dev/mapper/TESTDG01”

ORA-15056: additional error message

Linux-x86_64 Error: 13: Permission denied

Additional information: 42

Additional information: -807646732

The header of disks are in PROVISIONED status.

What is the issue here? Can't I create new diskgroup with same name?

How to clear the disk header?

  • Why do you want to clear the disk header, when you receive permission denied? Check the disk permissions. – Balazs Papp Jul 6 '16 at 12:30
  • @BalazsPapp If the disk is 'provisioned' status, and if I need to create diskgroups of the same name, I though it would not allow since already in the ASM disks, the header would be updated with that name right? Isn't that the reason it is not allowing? Kindly clarify – tesla747 Jul 6 '16 at 12:33
  • 1
    You typically get PROVISIONED when using ASMLib. PROVISIONED does not mean it is part of a diskgroup already. PROVISIONED - Disk is not part of a disk group and may be added to a disk group with the ALTER DISKGROUP statement. The PROVISIONED header status is different from the CANDIDATE header status in that PROVISIONED implies that an additional platform-specific action has been taken by an administrator to make the disk available for Automatic Storage Management. – Balazs Papp Jul 6 '16 at 12:35
  • Ok but why should it be provisioned since I have deleted the disks via asmlib which in turn clears my headers as well right? – tesla747 Jul 6 '16 at 12:41
  • You did not mention ASMLib before. If you use ASMLib, the disk path you specified is incorrect. If you don't use ASMLib, then this is simply a permission error. Still, it is not the PROVISIONED status that causes the above permission error. – Balazs Papp Jul 6 '16 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.