linuxoracle-databaseioctldatapumpimpdp

Oracle Datapump impdp Inappropriate ioctl for device


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


Solution

  • 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: