xfs
[Top] [All Lists]

Re: fs corruption

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: fs corruption
From: Leo Davis <leo1783@xxxxxxxxx>
Date: Tue, 12 Apr 2011 03:51:20 -0700 (PDT)
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1302605481; bh=kRN6z1EcwEJtAdrgUt5XnppmNqn8yqPgfktRnVEFqVE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=0tk4AYXnQPJiTemMGuij3ButV/hscd55XHul4lxJL07WA5C/lOZo/JSvZXwmCzFVGuX+D7S08i+LPg2q0m1SYOBWBepc2DDOoSXzoO3U08YmqvEgUDG+XgPALMV/6sKRiFbakFdG9ROEux3MNHK36HN18cfZCbWI7wFxgmHLS0w=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Pqy6S/e0fBh1dciH+Qv20BMvTabZs+4RoqLz5Ebpd/kJWL427J9pASZGf3w3J5bfS2jc68qnLOom8pkbn3D01wyOTYJJkn98hwdpHdNjivnZDzflvTghhlrBcMTjveqw5/FPx9ofUslFcTdd/QPWv3xA7f2j0JbBMpIuaRsYk/M=;
In-reply-to: <20110412094917.GY31057@dastard>
References: <31377534.post@xxxxxxxxxxxxxxx> <20110412094917.GY31057@dastard>
You have a corrupted free space btree.

Err... apologies for my ignorance, but what is a free space btree?

I had serial trace from raid controller which i just checked and it logged some 'Loose cabling', but this was months back.....
not sure whether that can be the cause of this.. strange if that is the case since it's been a long time



From: Dave Chinner <david@xxxxxxxxxxxxx>
To: stress_buster <leo1783@xxxxxxxxx>
Cc: xfs@xxxxxxxxxxx
Sent: Tue, April 12, 2011 3:19:17 PM
Subject: Re: fs corruption

On Tue, Apr 12, 2011 at 02:33:07AM -0700, stress_buster wrote:
>
> My dmesg output shows the below trace. It repeats over and over again.
>
> XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1545 of file
> fs/xfs/xfs_alloc.c.  Caller 0xffffffff881a8961
>
> Call Trace:
>  [<ffffffff881a6e27>] :xfs:xfs_free_ag_extent+0x19e/0x67e
>  [<ffffffff881a8961>] :xfs:xfs_free_extent+0xa9/0xc9
>  [<ffffffff881d96cf>] :xfs:xlog_recover_process_efi+0x112/0x16c
>  [<ffffffff881f31b4>] :xfs:xfs_fs_fill_super+0x0/0x3e4
>  [<ffffffff881da8c2>] :xfs:xlog_recover_process_efis+0x4f/0x8d
>  [<ffffffff881da914>] :xfs:xlog_recover_finish+0x14/0xad
>  [<ffffffff881f31b4>] :xfs:xfs_fs_fill_super+0x0/0x3e4
>  [<ffffffff881df420>] :xfs:xfs_mountfs+0x498/0x5e2
>  [<ffffffff881dfb42>] :xfs:xfs_mru_cache_create+0x113/0x143
>  [<ffffffff881f33b7>] :xfs:xfs_fs_fill_super+0x203/0x3e4
>  [<ffffffff800e544f>] get_sb_bdev+0x10a/0x16c
>  [<ffffffff800e4dec>] vfs_kern_mount+0x93/0x11a
>  [<ffffffff800e4eb5>] do_kern_mount+0x36/0x4d
>  [<ffffffff800ef2ed>] do_mount+0x6a9/0x719
>  [<ffffffff80008d84>] __handle_mm_fault+0x5f2/0xfaa
>  [<ffffffff80022127>] __up_read+0x19/0x7f
>  [<ffffffff80067b88>] do_page_fault+0x4fe/0x874
>  [<ffffffff8012c580>] inode_doinit_with_dentry+0x86/0x47c
>  [<ffffffff800cd378>] zone_statistics+0x3e/0x6d
>  [<ffffffff8000f2ff>] __alloc_pages+0x78/0x308
>  [<ffffffff8004c9fd>] sys_mount+0x8a/0xcd
>  [<ffffffff8005e116>] system_call+0x7e/0x83
>
> Failed to recover EFIs on filesystem: cciss/c0d0
> XFS: log mount finish failed
>
> Can someone shed some light on what is happening here?

You have a corrupted free space btree. How it occurred, I have no
idea.

> Also what the next steps I need to take to repair the fs? (assuming my xfs
> fs is corrupted)
> Will running xfs_repair be good enough in this case?

That's all you can do. If it's really important, and you don't have
a backup, I'd suggest mounting with "-o ro,norecovery" and taking a
backup first....

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>