Re: one or more disks failling




Bruno Wolff III <bruno@xxxxxxxx> writes:
Depending on the file system on the device the following may help you find
out if any of your bad sectors are in files:
http://smartmontools.sourceforge.net/badblockhowto.html

I don't trust myself to get all that math right (and guessing about the
underlying remapping).

What I do is just copy the data to a good disk and then write zeros over
the bad disk. This will clean up all Current_Pending_Sectors (bad
sectors that haven't been reallocated yet) and turn them into
Reallocated_Sector_Ct sectors.

I'm getting a lot of experience doing this. For some reason my current
crop of Seagate 7200.11 and 7200.12 are all developing unreadable
sectors. I guess the Seagate perpendicular recording disks weren't
quite ready for prime time. Almost -- but not quite.

The fastest way I found to zero the disk is to use the security erase
feature. A disk that takes 4 hours to be zeroed with dd can be zeroed
in 2 hours with the built-in security erase. It took me a while to
figure out how to get the security erase hooks to do anything but give
me the "IO ERROR" errno. This seems to be the simplest way to get an
erase to take place. (Suggestions and simplifications welcome!)

disk=/dev/sdb
pass=funkystuff

hdparm --user-master u --security-set-pass $pass $disk
hdparm --user-master u --security-erase $pass $disk
hdparm --user-master u --security-disable $pass $disk

-wolfgang
--
Wolfgang S. Rupprecht
If the airwaves belong to the public why does the public only get 3
non-overlapping WIFI channels?

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: RipIt4Me==>Very large files?
    ... RipIt4Me and sometimes it will work where DVD Decrypter failed. ... permissions and for our discussion here, beginning disk ... Say we have a very simple disk structure that holds 8 sectors. ... This method of copy protection has been around for a long time. ...
    (alt.video.dvd)
  • Re: Transfer floppy files to CDROM?
    ... these commands let you read or write the entire track in a single rotation of the disk. ... sectors in a given operation, to give the computer time to process the selection of the next sector. ... which simply format the disk with the physical sectors interleaved, ...
    (comp.os.cpm)
  • Re: Hard Disk Failure
    ... Does the HDD's OEM diagnostic tool see the full size of the HDD, ... Do you see anything in Disk Management that relates to the 160GB HDD, ... tool on the drives and this is the result. ... Sectors per Cluster: 8 ...
    (microsoft.public.windowsxp.hardware)
  • Re: Bad blocks not getting remapped on Maxtor drive
    ... > I've been trying to fix a problem with bad blocks on a fairly new Maxtor ... > 2 sectors reallocated. ... "normal use") and you'll need Maxtor's disk utils to get more ... to use the maker's disk utils for thorough checking/repair. ...
    (comp.os.linux.misc)
  • Re: Laptop HD upgrade, NTLDR is Missing!!
    ... The scan showed 32K of bad sectors, ... The MBR code invokes ntldr. ... The disk geometry is incorrect. ... I know of two ways to obtain the correct drive geometry: ...
    (microsoft.public.win2000.general)