QuestionQ44

VerifiedBackup and Recovery Concepts

You administer a multitenant container database (CDB), CDB1, running in ARCHIVELOG mode and containing the pluggable databases (PDBs) PDB_1 and PDB_2.

When opening pdb_1, you receive this error:

SQL> alter pluggable database pdb_1 open;  
ORA-01157: cannot identify/lock data file 11-see DBWR trace file  
ORA-01110: data file 11: '/u01/app/oracle/oradata/cdb1/pcb_1/example01.dbf'  

To fix the failure, you open an RMAN session for target database CDB$ROOT and run the following as the first command:

RMAN> REPAIR FAILURE;  

What is the consequence of this command?

Explanation

REPAIR FAILURE requires a repair option produced by ADVISE FAILURE in the same RMAN session. Without a prior ADVISE FAILURE, there is no current repair option for RMAN to execute, so the command returns an error.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!