Question on direct I/O to files.

From: Brewer, Edward <BREWERE_at_OD.NIH.GOV>
Date: Wed, 13 Nov 2002 15:42:07 -0500

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
Received on Wed Nov 13 2002 - 20:42:48 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT