Originally posted by: SystemAdmin
Normally you will see this used for databases
" Under Concurrent I/O, multiple threads can simultaneously perform
reads and writes on a shared file. This option is
intended primarily for relational database
applications, most of which will operate under
Concurrent I/O without any modification.
Applications that do not enforce serialization for
accesses to shared files should not use
Concurrent I/O, as this could result in data
corruption due to competing accesses."
This is exactly what you are seeing. You are writing with two separate processes to the same file.
Databases like Oracle guarantee that the database blocks are being written in the correct order
There is a nice write up which explains CIO and DIO nicely
http://www-03.ibm.com/systems/resources/systems_p_os_aix_whitepapers_db_perf_aix.pdf What problem are you trying to resolve by using CIO
#AIX-Forum