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


Groups > linux.debian.user > #226540

Re: how to test disk for bad sector

From Marco Möller <talby@debianlists.mobilxpress.net>
Newsgroups linux.debian.user
Subject Re: how to test disk for bad sector
Date 2020-08-29 18:50 +0200
Message-ID <AJcdb-6iJ-1@gated-at.bofh.it> (permalink)
References <AIZpD-77B-7@gated-at.bofh.it> <AIZpD-77B-5@gated-at.bofh.it> <AJ4fD-1BW-3@gated-at.bofh.it> <AJ73Q-3kK-5@gated-at.bofh.it> <AJ89z-3Wt-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 29.08.20 14:20, Long Wind wrote:
> it pass write test!  i really don't know where installation go wrong.

After the disk itself seems to not cause the problem, at least not 
because of bad blocks, confirm that the data highways on your 
motherboard and any involved data caches are all still operating fine.

(1) Read at highest possible speed from the device from which during 
installation is read from by directing the read data to the device 
"/dev/zero" ("/dev/zero" is a device which is not doing anything with 
received input, all received data is immediately after reception simply 
ignored = forgotten = thrown away):
   sudo dd if=/dev/DeviceReadingFrom of=/dev/zero bs=8M status=progress

(2) Write at highest possible speed a huge amount of data to the disk in 
order to check if the path to the disk also works free of errors under 
high load, and likewise also check that the cache inside the disk still 
performs free of error, by writing data received from the device 
"/dev/zero" (you will destroy all data on the disk, this begins at the 
beginning of the disk and will thus first erase a present partition 
table; the disk will after this test have to be partitioned and 
filesystems have to be newly created; no old data can be expected to be 
recoverable from the disk) (in this case, from the device "/dev/zero" 
there will be received values "0" as long as requested and thus the 
disks becomes overwritten with zeros):
   sudo dd if=/dev/zero of=/dev/WritingToThisDisk bs=8M status=progress
If you do not cancel this process by STRG+C before, then it will end 
with an error message when the disk is full and you can see from the 
last reported status how much data has been written to the disk.

(3) Do the same as above but involving the full data highway from your 
device you are reading from to the device you are writing to:
   sudo dd if=/dev/DeviceReadingFrom of=/dev/WritingToThisDisk bs=8M 
status=progress

If all these tests run through without errors (with test (2) running 
until the disk is full), then I would say that it is safe to assume that 
it is not a hardware problem of disks, disk controllers or motherboard. 
My only left assumptions would then be, that maybe in the BIOS some 
security feature is activated which interferes with the installation 
process, or some other peace of hardware lets the system crash when 
becoming addressed during the installation process, like some 
incompatible graphics board or some other incompatible peripheral 
component.

Good Luck!
Marco

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