All of lore.kernel.org
 help / color / mirror / Atom feed
* How to recover data with a dead journal?
@ 2002-09-06 12:13 Matthew Bloch
  2002-09-06 12:17 ` Oleg Drokin
  0 siblings, 1 reply; 6+ messages in thread
From: Matthew Bloch @ 2002-09-06 12:13 UTC (permalink / raw)
  To: reiserfs-list

Here's a problem; my drive is on its way out but the latest corrupt sector is 
the ReiserFS journal (from the ReiserFS in kernel 2.4.18):

factotum:/home/mattbee# mount /dev/hdb3 /old/
reiserfs: checking transaction log (device 03:43) ...
hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdb: read_intr: error=0x40 { UncorrectableError }, LBAsect=733664, 
sector=40160
end_request: I/O error, dev 03:43 (hdb), sector 40160
hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdb: read_intr: error=0x40 { UncorrectableError }, LBAsect=750560, 
sector=57056
end_request: I/O error, dev 03:43 (hdb), sector 57056
journal-1212: REPLAY FAILURE fsck required! buffer write failed
Replay Failure, unable to mount
reiserfs_read_super: unable to initialize journal space
mount: wrong fs type, bad option, bad superblock on /dev/hdb3,
       or too many mounted file systems

Of course I've fscked it while telling it to ignore the journal, and it found 
a few errors but it still doesn't change the fact that mount won't mount 
without a journal.  mount's nolog option doesn't seem to be implemented yet-- 
is there a later version that does implement it, and is this the only way to 
get at what's left of my data?  

I've tried:

  dd if=/dev/hdb3 of=deaddrive conv=noerror
  mount deaddrive /old/ -t reiserfs -o loop

but mount reports, somewhat cryptically that /old isn't a directory, which it 
plainly is :)

I only want to read the remnants off once then discard the drive; any 
suggestions for the quicket solution?

-- 
Matthew Bloch         Bytemark Computer Consulting Limited
                                http://www.bytemark.co.uk/
                                  tel. +44 (0) 8707 455026


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-06 16:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 12:13 How to recover data with a dead journal? Matthew Bloch
2002-09-06 12:17 ` Oleg Drokin
2002-09-06 12:43   ` Matthew Bloch
2002-09-06 13:43     ` Dieter Nützel
2002-09-06 13:55       ` Matthew Bloch
2002-09-06 16:00         ` Valdis.Kletnieks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.