xfs_db 2.9.8: coredump

Eric Sandeen sandeen at sandeen.net
Fri Dec 26 13:18:37 CST 2008


Justin Piszcz wrote:
> 
> On Fri, 26 Dec 2008, Eric Sandeen wrote:


>> Or, get an xfs_metadump of the fs and see if db segfaults on that too.
>>
>> I'd be curious  to know if xfs_repair -n flaggs any problems, as well.
>>
>> -Eric
>>
> 
> # xfs_metadump -g /dev/sda1  /root/sda1.metadump
> Copied 300096 of 426176 inodes (0 of 12 AGs)
> Copying log
> #
> 
> p34:~# xfs_db -c frag -f sda1.metadump
> xfs_db: unexpected XFS SB magic number 0x5846534d
> xfs_db: read failed: Invalid argument
> xfs_db: data size check failed
> cache_node_purge: refcount was 1, not zero (node=0x1ce4b80)
> xfs_db: cannot read root inode (22)
> cache_node_purge: refcount was 1, not zero (node=0x1ce4cd0)
> xfs_db: cannot read realtime bitmap inode (22)
> Segmentation fault (core dumped)

well, you have to xfs_mdrestore that to a sparse file before pointing db
at it for it to be valid (still, should not dump).

-Eric




More information about the xfs mailing list