[Gllug] JFS and bad blocks

Rich Walker rw at shadow.org.uk
Thu Oct 6 15:13:35 UTC 2005


pg_gllug at gllug.to.sabi.co.UK (Peter Grandi) writes:

>
>   * 'fsck.* -c' is most useful for recovery; a (usually slow)
>      alternative for recovering stuff on bad media is to use
>
>        dd bs=512 conv=sync,noerror
>
>      which will create an image copy of the partition with all
>      bad sectors replaced with zero sectors, and one that can
>      often be successfully 'fsck.* -f'.

I think you mean dd_rescue

which will do repeated reading to try and get the job done.

If you want the zero-on-error behaviour, it will do that too.

dd_rescue has the nice property of reading big chunks of data, and then
falling back to reading small chunks of data on the erroneous bits.

cheers, Rich.


-- 
rich walker         |  Shadow Robot Company | rw at shadow.org.uk
technical director     251 Liverpool Road   |
need a Hand?           London  N1 1LX       | +UK 20 7700 2487
www.shadow.org.uk/products/newhand.shtml
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list