Hi Everyone. I was looking for some advice on this error with regarding to disk maintenance and it's influence on the DB2 databases.
I have migrated my DB2 data between two SAN disks (LUNs). The SQLLIB Bins are all on a local disk, only the data and logs are on a SAN drive. This is an operation we have tested on a Staging environment without problem at all so I believe it might be related to the data itself or it's organisation or lack of it
Basic procedure:
- Attach a new bigger SAN disk to the DB2 server.
- Copy all the data from the existing disk (N: ) to new drive (P: )
- Rename the drives of the new P: SAN disk to become N:
- Restart the DB2 which remains unaware of the disk change (or supposed to be).
After this operation the production server was able to perform small searches without too much hassle but if i used a really broad search (*) after 20-30 seconds I receive:
SQL0980C A disk error occurred. Subsequent SQL statements cannot be processed via the Content Manager 8.3 interface.
When I rolled back the change, the previous SAN disk can easily be reattached and swapped out, it's all back to normal.
So am I missing some critical requirement to reorganise my data, I have no clue why DB2 would run some easy searches but barf on larger ones. DB2 starts fine, appears to operate absolutely normally form the Control Centre. Previously the bigger searches did work, they might take 30seconds or so from a cold start.
Any tips?
Thanks
Oli