Re: help xfs filesystem crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 06, 2013 at 11:37:23AM +0800, 符永涛 wrote:
> Hi david,
> Thank you for your help.
> One of our machine is still online so I can only run xfs_repair on one machine.
> Bellow is the output:
> xfs_repair -n /dev/sdb |tee xfs_repair.logPhase 1 - find and verify superblock…
> 
> Phase 2 - using internal log
> 
>         - scan filesystem freespace and inode maps…
> 
> agi unlinked bucket 1 is 4293569 in ag 0 (inode=4293569)
> agi unlinked bucket 3 is 4455043 in ag 0 (inode=4455043)
> agi unlinked bucket 22 is 3949334 in ag 0 (inode=3949334)
> agi unlinked bucket 24 is 3960984 in ag 0 (inode=3960984)
> agi unlinked bucket 28 is 4193564 in ag 0 (inode=4193564)
> agi unlinked bucket 38 is 4722982 in ag 0 (inode=4722982)

OK, so there are inodes on the unlinked list, though the lists don't
appear to be corrupt...

>         - found root in ode chunk
> Phase 3 - for each AG…
>         - scan (but don't clear) agi unlinked lists…
>         - process known inodes and perform inode discovery…
>         - agno = 0
> 7f2631b97700: Badness in key lookup (length)
> bp=(bno 1974656, len 16384 bytes) key=(bno 1974656, len 8192 bytes)
> 7f2631b97700: Badness in key lookup (length)
> bp=(bno 1980464, len 16384 bytes) key=(bno 1980464, len 8192 bytes)
> 7f2631b97700: Badness in key lookup (length)
> bp=(bno 2096752, len 16384 bytes) key=(bno 2096752, len 8192 bytes)
> 7f2631b97700: Badness in key lookup (length)
> bp=(bno 2146768, len 16384 bytes) key=(bno 2146768, len 8192 bytes)
> 7f2631b97700: Badness in key lookup (length)
> bp=(bno 2227504, len 16384 bytes) key=(bno 2227504, len 8192 bytes)
> 7f2631b97700: Badness in key lookup (length)
> bp=(bno 2361472, len 16384 bytes) key=(bno 2361472, len 8192 bytes)

But it looks like the inodes (and their index records) might have
already been freed. Can you provide the rest of the information that
Eric asked for? i.e:

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F

that will help me calculate the inode number/block number
relationship to determine is this is the case or not.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux