rsync and o_direct

Simon Hargrave simon at stuffandting.com
Wed Oct 19 10:59:57 GMT 2005


Hi

We currently use rsync for various jobs at our company.  We are now
looking at using it to create an offsite synchonised copy of an Oracle 10g
RAC archive logs area.  The source area is on Oracle OCFS filesystem.

The OCFS filesystem requires all reads/writes to be performed with the
O_DIRECT option, thus bypassing cache.  Oracle provide an updated
coreutils package which includes the --o_direct switch in cp, tar, dd etc
to allow "normal" file operations on OCFS filesystems.

My question is, is there a facility to ensure rsync reads files in
O_DIRECT mode so that we can use it for this purpose?

Thanks



Simon



More information about the rsync mailing list