-1

i had an error while exporting my schema and then import it into a new database. My Exporting System is an Oracle Linux 7 with 19c Database and the importing system is Oracle Linux 8 with 21c XE. When i import the schema with impdp i receive the error:

impdp system/password@localhost/xepdb1 full=y directory=data_pump_dir dumpfile=test.dmp

ORA-39001: ivalid argument
ORA-39000: incorrect specification of dump file
ORA-31619: invalid dump file "opt/oracle/admin/XE/dpdump/CC96F85...01/test.dmp"
ORA-27072: File-I/O-Error
Linux-x86_64 Error: 25: Inappropriate ioctl for device
Additional information: 4
Additional information: 1

Roberto Hernandez
  • 8,231
  • 3
  • 14
  • 43
Ivan1986
  • 19
  • 4

1 Answers1

1

As stated in the comments

When you got the error Inappropriate ioctl for device , Oracle is not responsible, as the error is coming from Linux.

Most of the times due to:

  • The datapump file is corrupted.
  • The file is not not a valid datapump file
  • The datapump file is empty.
Roberto Hernandez
  • 8,231
  • 3
  • 14
  • 43