Filesystem corruption
Volker Wysk
post at volker-wysk.de
Wed Jun 26 06:52:22 UTC 2019
Am Dienstag, den 25.06.2019, 13:33 -0600 schrieb compdoc:
>
> On 6/25/19 1:07 PM, Volker Wysk wrote:
> > OK, when I do "sudo smartctl --all /dev/sda", I get:
> >
> > ...
> > SMART overall-health self-assessment test result: PASSED
> > ...
> >
> > Does this mean that my drive is okay? For /dev/sdb, it's the same.
> >
> > I guess, I don't have to run the SMART daemon, do I?
> >
> > Bye,
> > Volker
> >
> >
>
> Unfortunately, no. Drive makers set thresholds for some events. The
> number can be different from model to model, but lets say they allow
> 10 bad sectors before SMART shows warnings. Well, any bad sectors
> means you probably have damaged files.
>
> You should read the relocated sector count, pending sector count, and
> reallocation count. They should all be 0 (zero)
There is no "relocated sector count" in the output of "smartctl --all
/dev/sda". But there is Reallocated_Sector_Ct and
Current_Pending_Sector. The values are:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
(...)
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
(...)
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 0
(...)
/dev/sda is a hard disk. This is for /dev/sdb, which is an SSD:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
(...)
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail
Always - 0
(...)
There is no Current_Pending_Sector, and also no "relocated sector
count", for /dev/sdb.
Is this what you had in mind? And is the "RAW_VALUE" what should be
zero..?
Thanks,
Volker
More information about the ubuntu-users
mailing list