After migration I tried to startup ASM database but there was any error during startup
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15063: ASM discovered an insufficient number of disks for diskgroup “DATA”
oracle@server:~> oerr ora 15063
15063, 00000, “ASM discovered an insufficient number of disks for diskgroup \”%s\”"
// *Cause:Â ASM was unable to find a sufficient number of disks belonging to the
//Â Â Â Â Â Â Â Â Â diskgroup to continue the operation.
// *Action: Check that the disks in the diskgroup are present and functioning,
//Â Â Â Â Â Â Â Â Â that the owner of the ORACLE binary has read/write permission to
//Â Â Â Â Â Â Â Â Â the disks, and that the ASM_DISKSTRING initialization parameter
//         has been set correctly. Verify that ASM discovers the appropriate
//Â Â Â Â Â Â Â Â Â disks by querying V$ASM_DISK from the ASM instance.
1)Check that the disks in the diskgroup are present and functioning
select DG.GROUP_NUMBER “G.NO”,DG.NAME,D.DISK_NUMBER,D.MOUNT_STATUS,
D.HEADER_STATUS,DG.TYPE,D.NAME,D.PATH FROM V$ASM_DISK D,V$ASM_DISKGROUP DG
where DG.GROUP_NUMBER=D.GROUP_NUMBER;
–> in my case there now rows are selected
2) check if is averythink ok on OS level
oracle@server:/opt> /etc/init.d/oracleasm listdisks
–> nothing. It’s strange so let’s try to scan all disks
3) check ASM disks
oracle@server:/etc/init.d> /etc/init.d/oracleasm scandisks
Scanning system for ASM disks:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â done
4) now we have all disks
oracle@server:/etc/init.d> /etc/init.d/oracleasm listdisks
DATA1
DATA2
5) now we must mount diskgroup manually from sqlplus
alter diskgroup data mount;
6) ASM is up and running
Regards,
Tom