Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 15:16:57 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Jim <stapleton.41@gmail.com>
Cc:        Roland Smith <rsmith@xs4all.nl>, freebsd-questions@freebsd.org
Subject:   Re: filesystem information
Message-ID:  <20080630151657.70798100.wmoran@potentialtech.com>
In-Reply-To: <80f4f2b20806301212n1bf6137bq75f40464212c2304@mail.gmail.com>
References:  <80f4f2b20806300401x71483882x8e9a6cf919f1ff9@mail.gmail.com> <20080630073059.be11304d.wmoran@potentialtech.com> <80f4f2b20806300930p67ca1fd5xf9ad59d16889df36@mail.gmail.com> <20080630170400.GB65282@slackbox.xs4all.nl> <80f4f2b20806301212n1bf6137bq75f40464212c2304@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Jim <stapleton.41@gmail.com>:
> 
> I'm aware of nothing but a UPS can completely protect me from an
> outage. I was just wondering why that ONE file system was misbehaving,
> and the rest are prefectly fine - which seemed odd. Additionally, why
> were files that are read, but not written, being lost? I can
> understand losing files that are being written, but if there's a file
> that has bene written several restarts ago, not written to thereafter,
> and has been fine ever since, why is it being lost now?

If the files themselves are disappearing, then it could be the directory
entry that's getting corrupted.  You mentioned mp3s earlier ... if I
had to guess, I'd say you frequently add and rename files in that directory.
If the power goes out during an update to the directory entry, it's
anybody's guess as to what filenames could disappear.  Even if you're
not doing it directly, is your mp3 software writing temp or other
status files to that directory?  If you're curious, you could run your
mp3 software under ktrace and then grep the output for file creation
and removal syscalls.

Just speculation.

-- 
Bill Moran
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080630151657.70798100.wmoran>