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

Re: how to test disk for bad sector



Thank Alexander! i'll test it with write test.


On Saturday, August 29, 2020, 4:18:31 AM EDT, Alexander V. Makartsev <avbetev@gmail.com> wrote:


On 29.08.2020 07:59, Long Wind wrote:
installation of linux to sdb1 fails
i believe hard disk has bad sector
If hard drive has bad sectors or recently encountered them, information about this should be noted to hard drive's SMART table.
Alternatively, you can use "badblocks" program from "e2fsprogs" package to scan hard drive for bad blocks.
I'd perform tests on wiped clean hard drive with non-destructive read test first, followed by write test.
Testing media for bad blocks could be time consuming if hard drive is multiple terabytes in size.


i use e2fsck with -c, i.e. read-only test
it doesn't  report any error



-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Reply to: