Hello.
I'm experiencing very disagreeable problem: DB2 refuses tablespace containers, which are DEVICE's bigger than 4G.
So, If I below 4G limit:
| # db2 create tablespace TS1 pagesize 4096 managed by database using ( device '/dev/dtas1' 1048575 )
|
| DB20000I The SQL command completed successfully.
But If I add just 1 (one) page to come over 4G:
| # db2 create tablespace TS2 pagesize 4096 managed by database using ( device '/dev/dtas2' 1048576 )
|
| DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned:
| SQL1422N The size of the container is invalid. SQLSTATE=54039
Additionally, "db2diag.log" contains messages like:
| ADM6040E Invalid container size specified for container "/dev/dtas2". The number of pages specified for use is too large.
| ZRC=0x80020046=-2147352506=SQLB_BAD_CONT_SZ "bad container size" DATA #1 : String, 34 bytes totalPages = 1048576, contSize = 0
At the same time DB2 smoothly creates FILE containers >4G. I have tried 20G and 30G.
Is this limitation (4G for DEVICE'es) by design, or something wrong with my system ?
I'm running Linux kernel "2.6.21.1", glibc "2.5". libaio disabled in DB2.
--
Konstantin Andreev.