root fsck dups

sienkiew at UDEL-DEWEY.ARPA sienkiew at UDEL-DEWEY.ARPA
Tue May 21 01:37:43 AEST 1985


>Can an application program or broken utility like passwd create this mess or
>must this result from a kernel or hardware failure?

Application programs that directly play with the disk can do this.  This
is limited to things like clri, icheck, dcheck, & fsck.  passwd should
not be able to do it.  I hesitate to say cannot, since I've seen what
weird things some unixes do*, but there should be no way for a normal
application to cause this.

>Dups rarely occur on /usr or /tmp and seem to appear on / during peak periods.

Do you run the fscks during peak periods too?  If you do, you may be seeing
totally garbaged data, since the file system will be changing faster than
fsck could follow (if it even tried...).

I've noticed weird things happen to unix file systems under these conditions:
1- somebody took down the system without a sync.  Or they cause a panic.
   Either way, everything is automatically suspect.
2- I only work on small machines, so I don't always remember to go to single
   user mode before checking the fs.  Then uucp logs in and I get a dozen
   diagnostics.  (This cleared up a lot when I quit doing this.)

What more can you tell us about your systems, in particular, what do you
have that isn't 100% vanilla?


			Mark.

---
* i.e. HPUX csh puts your terminal in cbreak so it can fake newcrt without
putting it in the kernel.  I kid you not.



More information about the Comp.unix mailing list