[oracle@host01 scripts]$ rman target /
Recovery Manager: Release 19.0.0.0.0 - Production on Wed Jun 28 17:37:05 2023
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
connected to target database: PRODCDB (DBID=3138589041)
RMAN> convert datafile '/home/oracle/scripts/trpdata_6.dbf'
2> to platform 'Linux x86 64-bit'
3> db_file_name_convert='/home/oracle/scripts','/u01/app/oracle/oradata/PRODCDB/PDBPROD1';
Starting conversion at target at 28-JUN-23
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=397 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=28 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=158 device type=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: SID=284 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of conversion at target command at 06/28/2023 17:38:55
ORA-19625: error identifying file /home/oracle/scripts/trpdata_6.dbf
ORA-27048: skgfifi: file header information is invalid
Additional information: 2
带上来源即可
RMAN> convert datafile '/home/oracle/scripts/trpdata_6.dbf'
2> to platform 'Linux x86 64-bit'
3> from platform 'Solaris[tm] OE (32-bit)'
4> db_file_name_convert='/home/oracle/scripts','/u01/app/oracle/oradata/PRODCDB/PDBPROD1';
Starting conversion at target at 28-JUN-23
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
using channel ORA_DISK_4
channel ORA_DISK_1: starting datafile conversion
input file name=/home/oracle/scripts/trpdata_6.dbf
converted datafile=/u01/app/oracle/oradata/PRODCDB/PDBPROD1/trpdata_6.dbf
channel ORA_DISK_1: datafile conversion complete, elapsed time: 00:00:01
Finished conversion at target at 28-JUN-23
RMAN>
|