home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!transfer.stratus.com!sw.stratus.com!moser
- From: moser@sw.stratus.com (Tom Moser)
- Newsgroups: comp.sys.stratus
- Subject: Re: loss of end-of-file mark problem
- Date: 8 Jan 1993 17:00:10 GMT
- Organization: Stratus Computer, Inc.
- Lines: 27
- Distribution: world
- Message-ID: <1ikbuqINNrv9@transfer.stratus.com>
- References: <1993Jan7.131833.15374@porthos.cc.bellcore.com>
- NNTP-Posting-Host: iconoclast.sw.stratus.com
- Keywords: tps
-
- In article <1993Jan7.131833.15374@porthos.cc.bellcore.com>, dante@decoy.uucp (25439-dante) writes:
- > In the event of a VOS crash, I have heard that it is possible that VOS
- > can lose a files's end of file mark, thereby corrupting the file and losing
- > access to the file on reboot.
-
- This is not very likely if the file and directory data are already written to
- disk at the time of the crash. File data and directory information which are
- updated in the file cache managers memory but not written to disk may be lost
- in the event of a crash but the data can be flushed to disk using the s$control
- system call with the runout_opcode.
-
-
- > The solution to the problem is to
- > Transaction Protect(TP) the file. I was wondering if anyone has heard of
- > the problem and if so, then to discuss the problem and its possible
- > solutions.
- >
-
- In general, transaction protection offers a much higher level of safety
- since it allows multiple file records to be updated atomically and thus
- provides protection from interruptions which occur during a sequence of
- file writes which represent one transaction from the application. If the
- application can maintain integrety by simply insuring that sequential file
- writes are actually written to disk then the runout functionality can
- probably suffice.
-
- -Tom
-