Why is Oracle RMAN restoring a datafile to a different diskgroup?
Hello,
When I was trying an RMAN restore of a datafile, I found it is restoring the datafile to a new location. Why is Oracle restoring a datafile to a different diskgroup instead of restoring to the original diskgroup where the datafile was originally present?
1) I have a datafile '+DATA3/slob1/datafile/undotbs2.260.819992871' which is on +DATA3 diskgroup
2) I am taking a backup on to +FRA diskgroup
3) I then offline and delete the datafile 5 using asmcmd to simulate the loss of a datafile
4) I perform restore and recover of datafile 5 from the backup set on +FRA
5) Unfortunately the datafile got restored on to +FRA instead of +DATA3. I realize that the file name can change but I would assume this will be on the same diskgroup atleast since the control file has it pointing to '+DATA3/slob1/datafile/undotbs2.260.819992871' before restoration.
When I was trying an RMAN restore of a datafile, I found it is restoring the datafile to a new location. Why is Oracle restoring a datafile to a different diskgroup instead of restoring to the original diskgroup where the datafile was originally present?
1) I have a datafile '+DATA3/slob1/datafile/undotbs2.260.819992871' which is on +DATA3 diskgroup
2) I am taking a backup on to +FRA diskgroup
3) I then offline and delete the datafile 5 using asmcmd to simulate the loss of a datafile
4) I perform restore and recover of datafile 5 from the backup set on +FRA
5) Unfortunately the datafile got restored on to +FRA instead of +DATA3. I realize that the file name can change but I would assume this will be on the same diskgroup atleast since the control file has it pointing to '+DATA3/slob1/datafile/undotbs2.260.819992871' before restoration.
0