On Tue, 2010-10-26 at 11:31 +0200, Peter Hall wrote:
> Hi,
> 
> after a power failure I have severe corruption on a /home
> JFS-partition of 2TB.
> 
> jfs_fsck fails with a lot of error-messages, ending in 
> "Duplicate block references have been detected in Metadata.  CANNOT
> CONTINUE. [fsckmeta.c:349]"
> 
> I have a 1MB log-file of "jfs_fsck -d" that I can attach, meanwhile I
> have attached an edited version of that logfile.
> 
> I am able to mount the partition read-only and have been able to
> salvage about 290GB of the 900GB of data in total. I have some backups
> but would be VERY happy if I could reclaim most of the 900GB instead.

Even if we were to hack jfs_fsck enough to get past the duplicate
references, I doubt it would recover anything you can't get by mounting
read-only.  When it finds problems, jfs_fsck usually tosses away
whatever is corrupt, and recovers what's left.  The read-only mount is
most likely seeing everything that is recoverable.

> I have not yet run "jfs_sck --omit-journal-replay" but I am unsure if
> this would help at all.

It won't.  That only helps when jfs_fsck aborts during log replay (phase
0).  Since it continued on its own, --omit-journal-replay won't make any
difference.
> 
> I have searched the list and googled but have not found anything solid
> to go on. Any advice would be helpful.

I think you're best off recovering from your backups and whatever you
were able to save from the read-only mount.
> 
> Thanks in advance, 
> Peter
-- 
Dave Kleikamp
IBM Linux Technology Center


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to