Unanswered: I/O error while trying to create or restore DB
Using DB2 v18.104.22.168 (Fix Pack 4)
During an attempted restore: RESTORE DATABASE <db_name> FROM <path> LOGTARGET <log_path>, getting the following error:
SQL10004C An I/O error occurred while accessing the database directory.
I'm getting the same error when I try to create an empty database: CREATE DATABASE <db_name>.
I'm just trying to get the system back into a state where I can re-create the database.
Looked up SQL10004C on IBM's Information Centre, but this did not solve my problem. LIST DB DIRECTORY shows that the directory is empty, which is correct. Tried moving the files under <inst_home>/sqllib/sqldbdir as suggested, but this does not appear to have any effect, even after a db2stop/db2start.