![]() Beware that even though in general it is safe to run, it will put extra load on your disks, which might cause them to fail. To force checking of all sectors, use badblocks in a mode in which data is written. ![]() You can even trigger self tests of the disk when supported by your model sudo smartctl -t long /dev/sda Pending are sectors which might be reallocated in case the next write fails. Reallocated lists usually in the raw field the number of bad sectors the disk exchanged for working spare ones. ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUEĥ Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 48ġ97 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 2 Other lines you want to check for are the Pending Sector Count and the Reallocated Sectors. SMART overall-health self-assessment test result: PASSED ![]() Once this indicates an error it's very likely that the disk will fail soon. Watch out for a line talking about the overall heath status. For example to read all attributes from the first disk call sudo smartctl -all /dev/sda Use the smartctrl command to read out this status. ![]() This works because all modern disks log their health status using a system called S.M.A.R.T. To check the physical condition of your disk it's best to install smartmontools sudo apt-get install smartmontools I assume you are talking about physical bad blocks on a disk and not about corrupted file systems. ![]()
0 Comments
Leave a Reply. |