Re: another hard disk broken or xfs problems?

From: Nathan Scott (nathans_at_sgi.com)
Date: 02/25/04

  • Next message: Tom Rini: "Re: 3/3 kgdb over netpoll"
    Date:	Thu, 26 Feb 2004 09:34:28 +1100
    To: Nico Schottelius <nico-kernel@schottelius.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
    
    

    On Wed, Feb 25, 2004 at 11:00:51PM +0100, Nico Schottelius wrote:
    > Hello!
    >
    > I am now using a brand new 40GB Hitachi hard disk for my notebook and
    > today I got the first problems:
    >
    >
    > Starting XFS recovery on filesystem: hda3 (dev: hda3)
    > Ending XFS recovery on filesystem: hda3 (dev: hda3)
    > VFS: Mounted root (xfs filesystem) readonly.
    > Mounted devfs on /dev
    > Freeing unused kernel memory: 156k freed
    > XFS mounting filesystem hda1
    > Starting XFS recovery on filesystem: hda1 (dev: hda1)
    > Ending XFS recovery on filesystem: hda1 (dev: hda1)
    > XFS mounting filesystem loop0
    > Starting XFS recovery on filesystem: loop0 (dev: loop0)
    > XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1589 of file fs/xfs/xfs_alloc.c. Caller 0xc0198272
    > Call Trace: [<c0197151>] [<c0198272>] [<c0198272>] [<c01c7fff>] [<c01ee628>] [<c01e5286>] [<c01e5355>] [<c01e6b04>] [<c01d24fa>] [<c01dd2cc>] [<c01e83bd>] [<c0203c60>] [<c01d908f>] [<c01f02c6>] [<c02048e3>] [<c02046c8>] [<c0215517>] [<c0185764>] [<c015c835>] [<c015c268>] [<c0204890>] [<c0204630>] [<c015c4af>] [<c0171ee8>] [<c01721f4>] [<c0172044>] [<c01725ef>] [<c010b34b>]
    > Ending XFS recovery on filesystem: loop0 (dev: loop0)
    > Adding 192772k swap on /dev/discs/disc0/part2. Priority:-1 extents:1
    >
    >
    > I got this after a clean shutdown. Just tell me it's an xfs error and my
    > harddisk is fine...

    Filesystem recovery doesn't run after a clean shutdown...
    the "Starting/Ending XFS recovery" messages indicate that
    all of your filesystems were not unmounted by the look of
    it.

    Probably file data for the file backing your loopback device
    has been lost/corrupted due to what looks like an "abrupt" end
    before reboot (only metadata is journalled), and hence trying
    to recover the loop device is going horribly wrong.

    So, doesn't look like a hard disk error to me, and nor does it
    look like an XFS problem. You should be able to run xfs_repair
    on your loopback file to fix the problem.

    cheers.

    -- 
    Nathan
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Tom Rini: "Re: 3/3 kgdb over netpoll"

    Relevant Pages

    • Re: Desktop Filesystem Benchmarks in 2.6.3
      ... >> but I lost all data on one of my volumes due to a bad block on my hard ... XFS was unable to recover from the error, and the XFS recovery ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Desktop Filesystem Benchmarks in 2.6.3
      ... >> But XFS easily breaks down due to media defects. ... Once ago I used XFS, ... XFS was unable to recover from the error, and the XFS recovery ... mount and the XFS recovery tools refused to fix anything. ...
      (Linux-Kernel)
    • Re: [SLE] root partition not umounting?
      ... the patch didn't break anything, but neither did it solve my problem. ... SGI XFS with ACLs, security attributes, realtime, large block numbers, ... XFS mounting filesystem hdb6 ... Starting XFS recovery on filesystem: hdb6 ...
      (SuSE)
    • RE: Desktop Filesystem Benchmarks in 2.6.3
      ... Once ago I used XFS, ... Maybe it was just a kernel bug, after all, as ... XFS recovery but it failed due to media errors. ... HDD diagnostic was able to recover the media defects. ...
      (Linux-Kernel)
    • Re: fs system for desktop
      ... from power failure and fragment after long time run. ... For recovery from power failure, XFS won't suit you cuz of its strange scaling ... I don't know but never had any such problem with EXT3. ... But formatted it with XFS and it worked fine. ...
      (Debian-User)