The compatible.asm disk group attribute must be set to 12.1 or higher for the disk group where the password is to be placed.
Steps
1. Create the password file using the following command. Go to the asmcmd command prompt and run :
$ asmcmd ASMCMD> pwcreate --dbuniquename [dbuniquename] [file_path] [sys-password]
Here,
The –dbuniquename string option identifies the database unique name associated with the password file.
The file_path value identifies the location where the password file is created. Mention the diskgroup name where you want to place the password file.
The sys_password value identifies the initial SYS password.
2.Verify password file location
# crsctl stat res ora.[database].db -f | grep PWFILE