Let me first say, the database I'm talking about is in not in production now, we are only testing something!
On thursday the file system where the database is stored, crashed an I was absent. A college of mine then tried a db2 stop force which didn't finish until now. I killed this process and now the situation is as follows:
"db2 get dbm cfg" works
"db2 get db cfg for database <name>" does not finish
same for "db2 restart databse <name>"
same for "db2 list application show detail"
I looked at the files in the database directory: No file shows the current date.
And no db2 process consumes time.
What should I try? The current contents of the database are not important. I have a backup with the important data.
Re: File system crash2012-06-25T08:14:10ZThis is the accepted answer. This is the accepted answer.One additional information: There is only one entry in db2diag.log from today:
2012-06-25-09.49.40.761417+120 I17218414E374 LEVEL: Warning
PID : 14368 TID : 47763101897568 PROC : db2stop
INSTANCE: <name> NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleReleaseStStLockFile, probe:12463
MESSAGE : Released lock on the file:
DATA #1 : String, 36 bytes
Re: File system crash2012-06-25T08:49:35ZThis is the accepted answer. This is the accepted answer.The database is running again without data loss. I killed all processes, removed the file sqllib/.ftok, created it again and started db2.