[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to test disk for bad sector



i think i check the right disk
now i carry the disk to other place
here my pc has only one sata data cable
so i run linux from usb stick with live system

sudo smartctl -A /dev/sda1
smartctl 6.5 2016-05-07 r4318 [i686-linux-4.8.6-300.fc25.i686] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 115 099 006 Pre-fail Always - 100535885
3 Spin_Up_Time 0x0003 098 097 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 569
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 080 060 030 Pre-fail Always - 115236603
9 Power_On_Hours 0x0032 096 096 000 Old_age Always - 3892
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 290
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 068 000 Old_age Always - 403733086445
189 High_Fly_Writes 0x003a 095 095 000 Old_age Always - 5
190 Airflow_Temperature_Cel 0x0022 072 045 045 Old_age Always In_the_past 28 (Min/Max 25/28)
194 Temperature_Celsius 0x0022 028 055 000 Old_age Always - 28 (0 7 0 0 0)
195 Hardware_ECC_Recovered 0x001a 058 056 000 Old_age Always - 100535885
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 196 000 Old_age Always - 89

On Saturday, August 29, 2020, 04:11:06 AM EDT, David <bouncingcats@gmail.com> wrote:


On Sat, 29 Aug 2020 at 15:48, Long Wind <longwind2@yahoo.com> wrote:
>
> === START OF READ SMART DATA SECTION ===
> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
> # 1  Extended offline    Completed without error      00%      3891        -
> # 2  Short offline      Completed without error      00%      3890        -
>
> it's unbelievable that both tests passed
> i've installed debian to it some time ago, it failed
> today i install fedora from usb stick
> while waiting for copying i'm doing something else, not paying attention to pc screen. suddenly i find that pc is shutdown
>
> the most unreliable component of my pc is hard disk

If both e2fsck and SMART report no errors, then it
appears that your disk is good.

If you post the complete output of
# smartctl -A /dev/<device>

then we can see the whole story.


> i've installed linux to other disk of same PC, no problem


If there is more than one disk, are you sure that
you are testing the correct device? (sda,sdb,...) ?

You can check the /dev/disk/by-* directories to confirm which device
is used. Or the output of blkid or lsblk commands.



Reply to: