-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-03-02 at 18:48 +0200, Teemu Nikkilä wrote:
Thanks all for suggestions.
On Friday, 2. March 2007 17:50, Carlos E. R. wrote:
It takes very long because it retries many times (10, I think). I don't know if you can limit that number.
I haven't seen an option for this.
Me neither.
It might be faster if you access the disk locally (ide cable).
The disk is inside the player and can not be accessed without voiding the warranty. I think it is a Toshiba 1.8'' 20 GB unit. The start and end of the disk are good, the damage is roughly at 1/3 of the total of blocks. I'll do some more tests to narrow down the area.
If the bad area is extensive, I would replace the disk, warranty or not. Or, use the warranty to have the disk replaced, if covered. Perhaps they will say that you have subjected it to too much vibrations and damaged the head and surface (I would). You can accept a few bad sectors, a dozen perhaps. If there are many, it means badly damaged, like head landing, and the number of bad sectors will increase. The disk will become very unreliable.
How should I format the disk or how do I choose the correct block size and should I first create a file with a long list of block numbers and give this file to mkdosfs with the -l option?
If you have the list, yes, suposedly you can feed the list to the format program.
Another method is to format anyway, then use "dosfsck -t".
I can easily format using the player's firmware, but then reading some files will fail. I tested by creating a ~2GB file of zeroes and copying it over and over. It failed on third run.
I know, but the -t option of dosfsck will remap bad sectors. You can use "dd" to overwrite the whole disk (file or raw). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFF6HEmtTMYHG2NR9URAiqBAJ40lM4+/2gZKkEA5zyk3UEgCH1j9gCfYrUq Y8QxZEfkegqh7/aMA5c7s78= =s66g -----END PGP SIGNATURE-----