When using orapwd
to create a database password file in a disk group, you must specify the disk group location and database unique name.
For example:
$ orapwd file='+data/ORCL/orapwdb' dbuniquename='orcl' Enter password for SYS:
The asm
switch specifies that orapwd
create an Oracle ASM password file rather than a database password file.
For example:
$ orapwd file='+data/ASM/orapwasm' asm=y Enter password for SYS:
You can create a new password file in a disk group using a password file from a previous release.
For example:
$ orapwd input_file='/oraclegrid/dbs/orapwasm' file='+data/ASM/orapwasm' asm=y Enter password for SYS: