Bad Sectors during log replay, help?
Quoted 9 lines · Dax Kels
Quoted 2 lines · Will Stowe
Try turning off dma using hdparm -d 0
/dev/had, then try remountingThanks for replying (I really *love* ezmlm mailing lists, the latency is great!).
I wouldn't think that this would do anything as the drive has been in production for the last 12 months.
Then I point at your disk it is dead (the bad block/sector thing). Do you hear noisy head seeking?
There is a bad sector tool flowting around or try "dd_rescue" from SuSE.
/home/nuetzel> dd_rescue -h
dd_rescue Version 1.02, [email protected], GNU GPL
($Id: dd_rescue.c,v 1.30 2001/07/24 12:08:10 garloff Exp $)dd_rescue copies data from one file (or block device) to another
USAGE: dd_rescue [options] infile outfile
Options: -s ipos start position in input file (default=0),
-S opos start position in output file (def=ipos);
-b softbs block size for copy operation (def=16384),
-B hardbs fallback block size in case of errs (def=512);
-e maxerr exit after maxerr errors (def=0=infinite);
-m maxxfer maximum amount of data to be transfered (def=0=inf);
-l logfile name of a file to log errors and summary to (def="");
-r reverse direction copy (def=forward);
-t truncate output file (def=no);
-w abort on Write errors (def=no);
-a spArse file writing (def=no),
-A Always write blocks, zeroed if err (def=no);
-i interactive: ask before overwriting data (def=no);
-f force: skip some sanity checks (def=no);
-q quiet operation,
-v verbose operation;
-V display version and exit;
-h display this help and exit.Note: Sizes may be given in units b(=512), k(=1024), M(=1024^2) or G(1024^3) bytes
This program is useful to rescue data in case of I/O errors, because
it does not necessarily abort or truncate the output.
Copy your whole disk or partition to a new disk/partition (you can do it in reverse mode "-r", too) and then let reiserfsck (latest version is 3.x.1b) do it's work.
Maybe you need the latest 3.x.1c-pre3 version.
Good luck.
Dieter
Signature · 6 lines
Dieter Nützel Graduate Student, Computer Science University of Hamburg Department of Computer Science @home: [email protected]