Question on direct I/O to files.

From: Brewer, Edward (BREWERE@OD.NIH.GOV)
Date: Wed Nov 13 2002 - 15:42:07 EST


Admins,

I have a question concerning what I should see when I use lsof on an ADVFS
file that I believe was opened with direct I/O access.

My system is a Tru64 5.1 using ADVFS 4. The file is an oracle database file
and I get the following from lsof

lsof +fg | grep <NAME OF FILE>

COMMAND PID USER FD TYPE FILE-FLAG DEVICE
SIZE/OFF NODE NAME
oracle 554868 oracle 108uw VREG R,W,DSYN;CX 4040,1035817
89 <NAME>
oracle 554905 oracle 213u VREG R,W,DSYN;CX 4040,1035817
89 <NAME>
oracle 554924 oracle 104u VREG R,W,DSYN;CX 4040,1035817
89 <NAME>
oracle 554927 oracle 110u VREG R,W,DSYN;CX 4040,1035817
89 <NAME>

showfile <NAME>

        Id Vol PgSz Pages XtntType Segs SegSz I/O Perf File
    59.8053 2 16 262145 simple ** ** async 100% <NAME>

According to the man page for lsof, DSYN means, data-only integrity. Is
this the correct value?

TIA,
Lee Brewer



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:59 EDT