Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226575

Re: how to test disk for bad sector

From Long Wind <longwind2@yahoo.com>
Newsgroups linux.debian.user
Subject Re: how to test disk for bad sector
Date 2020-08-31 00:00 +0200
Message-ID <AJDwJ-5Yn-3@gated-at.bofh.it> (permalink)
References <AIZpD-77B-7@gated-at.bofh.it> <AJhmx-17T-13@gated-at.bofh.it> <AJjy1-2l7-1@gated-at.bofh.it> <AJk13-2Kl-1@gated-at.bofh.it> <AJAIx-4gX-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

   On Sunday, August 30, 2020, 2:58:51 PM EDT, Marco Möller <talby@debianlists.mobilxpress.net> wrote:  
You are right, Gene!  I did not notice that it was written to partition 
"/dev/sda1", because I didn't expect this test to only be written to a 
partition instead of test writing to the whole disk. I have not noticed 
this detail in the answer when replying to it, shame on me.
My recommendation was to use the command like this:
  sudo dd if=/dev/zero of=/dev/WritingToThisDisk bs=8M status=progress
Long Wind, the test works only if you overwrite the full disk. So, as 
Gene pointed out, after the test which you did by now it cannot be 
concluded what I concluded in my former answer!

We by now only know that writing to the 14 GB of partition "/dev/sda1" 
worked correctly, but we do not know where on the disk this 14 GB are 
actually located and we also still do not know about the rest of the 
disk and if it continues to work fine also for a bigger data load 
occupying the electronics for longer time.

So, if you are interested to still know about your old drive, although 
you said that you already installed successfully to a new drive, then 
you may want to direct the test all the device and not only a partition 
of it.

Best regards,
Marco.
Thank Marco! i can't do test on whole disk because i have useful files in other partitions. smartctl report gives me some confidence in the problem disk. i've installed buster to the problem disk and am using it now to write this mail. i can backup files in problem disk if they r important. below is layout of problem disk reported by fdisk:
Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Disk model: ST3320311CS     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x059a302a

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *      1606500  29768444  28161945  13.4G 83 Linux
/dev/sda2        92164905 215047779 122882875  58.6G  7 HPFS/NTFS/exFAT
/dev/sda3       215048192 625137663 410089472 195.6G  7 HPFS/NTFS/exFAT
/dev/sda4        29768445  89305334  59536890  28.4G 83 Linux

Partition table entries are not in disk order.



  

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-29 05:10 +0200
  Re: how to test disk for bad sector Patrick Bartek <nemommxiv@gmail.com> - 2020-08-29 05:40 +0200
    Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-29 07:50 +0200
      Re: how to test disk for bad sector David <bouncingcats@gmail.com> - 2020-08-29 10:20 +0200
        Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-29 12:00 +0200
          Re: how to test disk for bad sector David <bouncingcats@gmail.com> - 2020-08-30 00:10 +0200
            Re: how to test disk for bad sector David Wright <deblis@lionunicorn.co.uk> - 2020-09-08 06:30 +0200
              Re: how to test disk for bad sector David <bouncingcats@gmail.com> - 2020-09-09 16:40 +0200
      Re: how to test disk for bad sector Patrick Bartek <nemommxiv@gmail.com> - 2020-08-29 19:10 +0200
        Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-29 22:20 +0200
      Re: how to test disk for bad sector David <bouncingcats@gmail.com> - 2020-08-30 00:00 +0200
        Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-30 01:10 +0200
          Re: how to test disk for bad sector David <bouncingcats@gmail.com> - 2020-08-30 01:40 +0200
            Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-30 02:10 +0200
              Re: how to test disk for bad sector David <bouncingcats@gmail.com> - 2020-08-30 02:40 +0200
              Re: how to test disk for bad sector Andy Smith <andy@strugglers.net> - 2020-08-30 16:10 +0200
                Re: how to test disk for bad sector Charles Curley <charlescurley@charlescurley.com> - 2020-08-30 16:30 +0200
                Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-31 00:10 +0200
                Re: how to test disk for bad sector Charles Curley <charlescurley@charlescurley.com> - 2020-08-31 04:10 +0200
                Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-31 05:00 +0200
                Re: how to test disk for bad sector Patrick Bartek <nemommxiv@gmail.com> - 2020-08-31 18:30 +0200
                Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-31 23:50 +0200
                Re: how to test disk for bad sector Patrick Bartek <nemommxiv@gmail.com> - 2020-09-01 04:20 +0200
                Re: how to test disk for bad sector David <bouncingcats@gmail.com> - 2020-09-01 05:40 +0200
                passwords + bad memory - Was (Re: how to test disk for bad sector) Mike McClain <mike.junk.46@att.net> - 2020-09-02 01:10 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad  sector) Ben Caradoc-Davies <ben@transient.nz> - 2020-09-02 01:40 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad  sector) <tomas@tuxteam.de> - 2020-09-02 09:40 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad sector) rhkramer@gmail.com - 2020-09-02 15:30 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad  sector) <tomas@tuxteam.de> - 2020-09-02 15:40 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad sector) John Hasler <jhasler@newsguy.com> - 2020-09-02 18:40 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad  sector) Brian <ad44@cityscape.co.uk> - 2020-09-02 22:00 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad  sector) <tomas@tuxteam.de> - 2020-09-02 22:10 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad sector) John Hasler <jhasler@newsguy.com> - 2020-09-03 01:40 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad  sector) Brian <ad44@cityscape.co.uk> - 2020-09-03 12:40 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad sector) rhkramer@gmail.com - 2020-09-02 01:50 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad  sector) Tom Dial <tddial@comcast.net> - 2020-09-02 09:00 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad  sector) Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-02 11:20 +0200
                Re: passwords + bad memory - Was (Re: how to test disk for bad sector) rhkramer@gmail.com - 2020-09-02 15:30 +0200
      Re: how to test disk for bad sector Michael Stone <mstone@debian.org> - 2020-08-31 20:40 +0200
  Re: how to test disk for bad sector David <bouncingcats@gmail.com> - 2020-08-29 05:50 +0200
    Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-29 06:50 +0200
  Re: how to test disk for bad sector "Alexander V. Makartsev" <avbetev@gmail.com> - 2020-08-29 10:20 +0200
    Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-29 13:20 +0200
      Re: how to test disk for bad sector Kenneth Parker <sea7kenp@gmail.com> - 2020-08-29 13:50 +0200
      Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-29 14:30 +0200
        Re: how to test disk for bad sector Marco Möller <talby@debianlists.mobilxpress.net> - 2020-08-29 18:50 +0200
          Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-30 00:20 +0200
            Re: how to test disk for bad sector Marco Möller <talby@debianlists.mobilxpress.net> - 2020-08-30 02:40 +0200
              Re: how to test disk for bad sector Gene Heskett <gheskett@shentel.net> - 2020-08-30 03:10 +0200
                Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-30 04:10 +0200
                Re: how to test disk for bad sector Gene Heskett <gheskett@shentel.net> - 2020-08-30 05:10 +0200
                Re: how to test disk for bad sector <tomas@tuxteam.de> - 2020-08-30 09:30 +0200
                Re: how to test disk for bad sector Marco Möller <talby@debianlists.mobilxpress.net> - 2020-08-30 21:00 +0200
                Re: how to test disk for bad sector Long Wind <longwind2@yahoo.com> - 2020-08-31 00:00 +0200
                Re: how to test disk for bad sector Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-02 11:30 +0200
              Re: how to test disk for bad sector Keith Bainbridge <keithrbaugroups@gmail.com> - 2020-08-30 06:00 +0200
    Re: how to test disk for bad sector Marco Möller <talby@debianlists.mobilxpress.net> - 2020-08-29 15:00 +0200

csiph-web