🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #10530

Re: the /usr partition

#10530
From: Rayan Zachariassen
Date: Wed, 25 Jan 1989 09:13
43 lines
2959 bytes
> If it is mounted r/o, then a
> crash that doesn't even have a chance to sync (such as a power outage or a
> "L1-A" followed by "b") won't leave the partition in an inconsistent
> state.  Of course, if you aren't writing to it anyway, it probably doesn't
> matter.  --wnl

We had a series of Very Bad crashes that would cause the disk blocks under
the disk heads at the time of the crash to be nulled.  For a while, every
2-3 days we would lose root, /usr, /var, /tmp, and two to five other
partitions depending on the system activity at the time of the crash (that
tends to happen when the filesystem root inode and a few hundred others
get stomped on).  We are very grateful we had a way of booting that system
that didn't use its main disks, and that we had a stable twin machine
right next to it so we could dd /usr across the net when it got trashed.
The point is, just because software people think a partition being
read-only means it won't be corrupted, doesn't mean it won't be corrupted
(insert snide remark about hardware people :-).

I wonder how the robust filesystems of the future will deal with failures
that ``can't happen'' according to the software semantics or
``improbable'' hardware failures.  Having to trash an entire partition,
just because all copies of some piece of data goes bad, shouldn't be
acceptable in that context.

Paranoia is good for you!

rayan

[[ Being a system manager type, I completely agree with you about
paranoia.  A speck of dust that gets wedged between the flying head and
the disk surface really isn't going to care much about the fact that you
have that partition mounted read-only.  But I was referring more to the
fact that with a partition mounted read-only the cache in the kernel will
never be inconsistent with the disk contents.  The most common cause of
trashed file systems is an unflushed cache (because Unix's cache is not
write-through).  That means that *any* crash (not just those caused by the
disk drivers) can corrupt the disk if the kernel never gets the chance to
"sync" the disks.  By the way, has any vendor ever considered adding
write-through to Unix's file system cacheing code?  (Now I'll probably get
dozens of messages telling me that it was put in V5R1 500 years ago and
what rock did I just crawl out from under and I should stop putting these
editorial comments in if they're just going to be wrong all the time :-).
--wnl ]]
Technical Details
Message-ID: <89Jan19.030714est.39580@neat.ai.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: rayan@ai.toronto.edu (Rayan Zachariassen)
Newsgroups: comp.sys.sun
Subject: Re: the /usr partition
Message-ID: <89Jan19.030714est.39580@neat.ai.toronto.edu>
Date: 25 Jan 89 09:13:58 GMT
Sender: usenet@rice.edu
Organization: Focus Semiconductor Sys, Sunnyvale
Lines: 43
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 19 Jan 89 03:07:01 EST
X-Sun-Spots-Digest: Volume 7, Issue 120, message 4 of 9