Re: XFS hangup - Failed to recover EFIs

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

 



On Sat, May 18, 2013 at 02:39:19PM -0400, Punk Rider wrote:
> Hello
> 
> After upgrading my laptop from Ubuntu 12.04 LTS to Ubuntu 13.04 Raring i noticed that my Linux would not boot again. 
> So after inserting Ubuntu 13.04 boot disk , this is what i've found out:
> 
> ubuntu@ubuntu:~$ uname -a
> Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> 
> ubuntu@ubuntu:~$ sudo xfs_repair -v /dev/sda3
> Phase 1 - find and verify superblock...
>  - block cache size set to 363760 entries
> Phase 2 - using internal log
>  - zero log...
> zero_log: head block 32468 tail block 31799
> ERROR: The filesystem has valuable metadata changes in a log which needs to
> be replayed. Mount the filesystem to replay the log, and unmount it before
> re-running xfs_repair. If you are unable to mount the filesystem, then use
> the -L option to destroy the log and attempt a repair.
> Note that destroying the log may cause corruption -- please attempt a mount
> of the filesystem before doing this.
> ubuntu@ubuntu:~$ ls /mnt/
> ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt
>  ^C^C -> mount command hang indefinetely
> 
> On other terminal (output from dmeg):
> 
> [ 418.414325] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
> [ 418.428026] XFS (sda3): Mounting Filesystem
> [ 418.511943] XFS (sda3): Starting recovery (logdev: internal)
> [ 425.070536] XFS: Internal error XFS_WANT_CORRUPTED_GOTO at line 1557 of file /build/buildd/linux-3.8.0/fs/xfs/xfs_alloc.c. Caller 0xffffffffa06dae36
> [ 425.070536]
> [ 425.070552] Pid: 5671, comm: mount Tainted: GF 3.8.0-19-generic #29-Ubuntu
> [ 425.070556] Call Trace:
> [ 425.070605] [<ffffffffa06c311c>] xfs_error_report+0x3c/0x40 [xfs]
> [ 425.070646] [<ffffffffa06dae36>] ? xfs_free_extent+0xd6/0x120 [xfs]
> [ 425.070682] [<ffffffffa06d8556>] xfs_free_ag_extent+0x2d6/0x740 [xfs]
> [ 425.070717] [<ffffffffa06dae36>] xfs_free_extent+0xd6/0x120 [xfs]
> [ 425.070751] [<ffffffffa06d7137>] ? kmem_zone_alloc+0x67/0xe0 [xfs]
> [ 425.070797] [<ffffffffa0709b50>] xlog_recover_process_efi+0x170/0x1b0 [xfs]
> [ 425.070830] [<ffffffffa06c904f>] ? xfs_iget+0x36f/0x690 [xfs]
> [ 425.070869] [<ffffffffa070b376>] xlog_recover_process_efis.isra.8+0x66/0xc0 [xfs]

That's a corrupted freespace btree. Your only option at this point
is to zero the log and hope that xfs_repair can clean everything
up without too much loss.

> Before attempting mounting with -L flag , do you want me to do
> other things to assist in tracking this bug down?

Damage has already been done, there's no way we can find the cause
from the state you have on disk at this point, unfortunately.

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