My db2 database crashed last night

HiAll.
My db2 database crashed last night is it to do with the disk full or locking issue;My error log is:

2010-08-18-18.19.13.481000+060 I131553H601        LEVEL: Severe
PID     : 6780                 TID  : 3136        PROC : db2syscs.exe
INSTANCE: DB2                  NODE : 000         DB   : CDB
APPHDL  : 0-990                APPID: 192.168.0.35.31236.100814040042
AUTHID  : PCMS_DATA_MANAGER
FUNCTION: DB2 UDB, buffer pool services, sqlbReadPage, probe:1141
MESSAGE : ZRC=0x850F000C=-2062614516=SQLO_DISK "Disk full."
          DIA8312C Disk was full.
DATA #1 : <preformatted>
Failed to read page from disk on attempt number 2.
Retrying operation. Only subsequent failures will be logged.
 
2010-08-18-18.19.13.497000+060 I132156H387        LEVEL: Error
PID     : 6780                 TID  : 1812        PROC : db2syscs.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, buffer pool services, sqlbClnrAsyncWriteCompletion, probe:40
MESSAGE : ZRC=0x870F000E=-2029060082=SQLO_LOCK "ERROR_LOCK_VIOLATION (DOS)"
          DIA8511C A locked file was encountered.
 
2010-08-18-18.19.13.544000+060 I132545H2385       LEVEL: Severe
PID     : 6780                 TID  : 1812        PROC : db2syscs.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, buffer pool services, sqlbClnrAsyncWriteCompletion, probe:300
DATA #1 : String, 13 bytes
*ioRequest =
DATA #2 : Hexdump, 76 bytes
0x13744A04 : 0301 0000 0000 0000 0080 3900 0000 0000    ..........9.....
0x13744A14 : 0000 0000 0000 0000 947C 576E 6088 900E    .........|Wn`...
0x13744A24 : E049 7413 0000 0000 4431 7413 00C0 F70E    .It.....D1t.....
0x13744A34 : 0010 0000 500F 0000 0000 0000 90E0 7F02    ....P...........
0x13744A44 : 0000 0000 0200 0000 0E00 0F87              ............
LVL 1
hraja77Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hraja77Author Commented:
can the disk full cause db2 to crash ?
gmarinoCommented:
This is the same issue you had before that you posted in ID: 26405595

The error suggests that there is another process locking the database files - this time the file is the one that contains your data instead of the file used for Logging.  This could occur when using
a)  Virus Checking software - in which case you need to make sure the  folder defined in LOGPATH is excluded from the RealTime virus checking  process AND blocked from use from any other user other than the db2  instance/admin id
-OR-
b) Backup software where the software locks the file while it is taking a back up of the file.

For more information on this issue and how to resolve it, read this:

http://www-01.ibm.com/support/docview.wss?uid=swg21225179


You obviously need to get this 3rd Party software problem resolved.

- Greg
gmarinoCommented:
Sorry - cut-n-past error above...here's what I should have posted:


This could occur when using
a)  Virus Checking software - in  which case you need to make sure the  folder where the database's tablespace containers are defined in is  excluded from the RealTime virus checking  process AND blocked from use  from any other user other than the db2  instance/admin id
-OR-
b) Backup software where the software locks the file while it is taking a back up of the file.

- Greg

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

hraja77Author Commented:
thanks greg - i appreciate what your saying its just that the sysadmins did not exclude all the files for o/s backups - they have done that as of today - i just want to check one point before assiging points - can the disk full error message above cause a db crash ?
MESSAGE : ZRC=0x850F000C=-2062614516=SQLO_DISK "Disk full."
          DIA8312C Disk was full.

thanks
H
hraja77Author Commented:
i'll assign the points anyway as you have been very helpfull - so thanks for that - but i would appreciate an answer to the comment about the disk full error above

thanks
H
hraja77Author Commented:
thanks
gmarinoCommented:
It seems that in THIS case, DB2 crashed.  But that was due to the LACK OF ACCESS to the file, not because the disk was full.  (FILE LOCKED behaves similar to DISK FULL.)

In this case it seems the BufferPool's IO Cleaners (sqlbClnrAsyncWriteCompletion) could not write "dirty" pages (pages with changes to the data on them) out to the tablespace's files/containers.  

I can see how thissituation would cause DB2 to crash - if the Bufferpool's space was needed for another SQL process and those BP pages could not be accessed because they contained data that needed to be first written to disk before they could be reused.

- Greg
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB2

From novice to tech pro — start learning today.