I have written a program which is suppose to get a hexdump of a block. The program uses open64() call and tries to open the file in O_RDONLY mode. It fails with EINVAL. Found that if the oracle process DBWR is running, the file open fails. If the DB instance is brought down, then I can open the file.
Thanks,
rajar