[OpenAFS] intermediate file updates
Derek Atkins
warlord@MIT.EDU
10 Jan 2002 11:10:04 -0500
Then syncing files is not an option, I'm afraid. AFS is currently
write-on-close(). I think it would take a lot of work to change
that behavior. If nothing else, your applications would have
to be changed to cause "the right thing" to happen.
The reason it works with NFS is that NFS has no client-side caching.
With AFS, clients write to their local cache and only flush out to
the server at close().
-derek
"Wim.Glassee" <glassee@uia.ua.ac.be> writes:
> The users only 'use' the programs on the cluster, they didn't write them,
> so calling fflush() is not an option I'm afraid.
>
> > If they fflush() the output file it should get written back to the
> > server.
> >
> > -derek
> >
> > "Wim.Glassee" <glassee@uia.ua.ac.be> writes:
> >
> > > Hi,
> > >
> > > I'm running Sun Grid Engine on a linux cluster with AFS as distributed
> > > file system. When a job is started on a cluster node, all output and error
> > > messages are redirected to files. These files are in the cluster users'
> > > home directory on AFS. I noticed that these files remain 0-length until
> > > the job is finished. When I use NFS for this, they are updated
> > > automatically. Is there any way to get the same behaviour in AFS, 'cause
> > > the cluster users would like to find out what is happening in their job
> > > while it's still running.
> > >
> > > Thanks,
> > >
> > > wim
> > >
> > > _______________________________________________
> > > OpenAFS-info mailing list
> > > OpenAFS-info@openafs.org
> > > https://lists.openafs.org/mailman/listinfo/openafs-info
> >
> > --
> > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > Member, MIT Student Information Processing Board (SIPB)
> > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> > warlord@MIT.EDU PGP key available
> >
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available