Re: one or more disks failling
- From: wolfgang.rupprecht@xxxxxxxxx (Wolfgang S. Rupprecht)
- Date: Fri, 13 Nov 2009 15:57:24 -0800
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
- Follow-Ups:
- Re: one or more disks failling
- From: Tony Nelson
- Re: one or more disks failling
- References:
- one or more disks failling
- From: L
- Re: one or more disks failling
- From: Tait Clarridge
- Re: one or more disks failling
- From: Bruno Wolff III
- one or more disks failling
- Prev by Date: question about fedora version of packages
- Next by Date: Re: question about fedora version of packages
- Previous by thread: Re: one or more disks failling
- Next by thread: Re: one or more disks failling
- Index(es):
Relevant Pages
|