Article View: comp.sys.ibm.pc.hardware.storage
Article #11Re: Interpreting diskscan results
From: bp
Date: Wed, 04 Nov 2026 14:57
Date: Wed, 04 Nov 2026 14:57
49 lines
3003 bytes
3003 bytes
Jim Jackson <jj@franjam.org.uk> wrote: > On 2026-10-28, bp@www.zefox.net <bp@www.zefox.net> wrote: >> A Raspberry Pi 2B self-hosting FreeBSD-current developed what >> looks like filesystem corruption. Most correspondents suggest >> that something's wrong with the disk. The only non-destructive >> test I could find was diskscan, a Linux program available on >> RasPiOS, which seems to plot read access time vs number of >> blocks having that access time. Nothing hugely amiss is apparent, >> but I'm no expert with diskscan. > > is smartctl or equiv. available on FreeBSD? You need to try and check > the S.M.A.R.T. stats that disks keep nowadays. You may need to > do a web search. > Yes, smartmontools are available on FreeBSD. The first few attempts reported SMART wasn't supported, but eventually a response came back. It's at http://www.zefox.net/~fbsd/rpi2/disktrouble/smartctl.log A correspondent on the FreeBSD mailing lists pointed out a few bad omens: 1 Raw_Read_Error_Rate 0x000f 083 056 006 Pre-fail Always - 196488790 5 Reallocated_Sector_Ct 0x0033 099 099 036 Pre-fail Always - 386 9 Power_On_Hours 0x0032 069 069 000 Old_age Always - 27847 (91 61 0) I instead paid attention to 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 and didn't consider three years runtime excessively long. Evidently, I was mistaken 8-) , thinking there'd be something like "spare sectors exhausted" or some other explicit message that the disk was EOL. Somewhat curiously, both diskscan and dd if=/dev/da1 of=/dev/null seemed to indicate no explicit errors. Diskroaster, a FreeBSD port, reported five errors. Thanks for writing, bob prohaska
Technical Details
Message-ID:
<11cfh4e$oj14$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bt43t$2gksl$1@dont-email.me> <slrn11ekgm2.2dg.jj@iridium.wf32df>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: bp@www.zefox.net
Newsgroups: comp.sys.ibm.pc.hardware.storage
Subject: Re: Interpreting diskscan results
Date: Wed, 4 Nov 2026 14:57:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <11cfh4e$oj14$1@dont-email.me>
References: <11bt43t$2gksl$1@dont-email.me> <slrn11ekgm2.2dg.jj@iridium.wf32df>
Injection-Date: Wed, 04 Nov 2026 14:57:19 +0000 (UTC)
Injection-Info: dont-email.me;
logging-data="805924"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//4n94cPHRsItHQCrNsOOWPyTanUndRkQ="; posting-host="02c9ff648527162272b59e413faea367"
User-Agent: tin/2.6.4-20241224 ("Helmsdale") (FreeBSD/14.4-STABLE (arm64))
Cancel-Lock: sha1:wUbU0AFoQgc04m6H7JvGTPmZfeQ= sha256:NPV4mjYbK4PJuVlKrHtOnygzAFKjtC5heghBu3AyLwY=
sha1:QKED8wUs4Opz5YaB96ddvTJEaOI= sha256:wGsLVarBDDwSEQzgCbJjQ7FeSD0OsE45SMeTKf/Tf5E=