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

Re: how to test disk for bad sector



it pass write test!  i really don't know where installation go wrong. in the past i installed debian 2 times from dvd, both failed.  today fedora installation fails. it's STRANGE.

it's Seagate 320G, i bought from 2nd-hand dealer, it's cheap. i can afford another disk if i need. it's waste of time to continue diagnose.

below is details of write test by badblocks:

[liveuser@localhost-live ~]$ sudo badblocks -wv /dev/sda1

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Checking for bad blocks in read-write mode
From block 0 to 14080971
Testing with pattern 0xaa: done                                               
Reading and comparing: done                                               
Testing with pattern 0x55: done                                               
Reading and comparing: done                                               
Testing with pattern 0xff: done                                               
Reading and comparing: done                                               
Testing with pattern 0x00: done                                               
Reading and comparing: done                                               
Pass completed, 0 bad blocks found. (0/0/0 errors)
[liveuser@localhost-live ~]$

On Saturday, August 29, 2020, 7:11:07 AM EDT, Long Wind <longwind2@yahoo.com> wrote:


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: