xfs_repair segfault
Rui Gomes
rgomes at rvx.is
Mon Mar 9 13:24:24 CDT 2015
Hello Eric,
Thank you very much for looking in to this.
Just as a curiosity, I can mount the filesystem and access a lot of the files, but some files/folders will just hang the kernel, so I need to be careful almost file by file tries.
If I could get the xfs_repair to at least clean the filesystem and allow me to browse the remain files without hanging the kernel it will be a bonus!
Once again thank for looking in to this.
Regards
-------------------------------
Rui Gomes
CTO
RVX - Reykjavik Visual Effects
Seljavegur 2,
101 Reykjavik
Iceland
Tel: + 354 527 3330
Mob: + 354 663 3360
----- Original Message -----
From: "Eric Sandeen" <sandeen at sandeen.net>
To: "Rui Gomes" <rgomes at rvx.is>
Cc: "omar" <omar at rvx.is>, "xfs" <xfs at oss.sgi.com>
Sent: Monday, 9 March, 2015 18:18:19
Subject: Re: xfs_repair segfault
On 3/9/15 1:50 PM, Rui Gomes wrote:
> Hi,
>
> Yeah I feel the same way what could possible happen here, since no "funky" business happen in this server.
>
> In case this help the underline hardware is:
> Raid Controller: MegaRAID SAS 2108 [Liberator] (rev 05)
> With 16 7.2k SAS 2TB harddrives in raid6
>
> The output from the command:
> [root at icess8a ~]# xfs_db -c "inode 260256256" -c "p" /dev/sdb1
<snip>
Ok, that's enough to create an image which sees the same failure:
# repair/xfs_repair -n namelen.img
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan (but don't clear) agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
local inode 131 attr too small (size = 0, min size = 4)
bad attribute fork in inode 131, would clear attr fork
bad nblocks 7 for inode 131, would reset to 0
bad nextents 1 for inode 131, would reset to 0
entry "aaaaaaaaaaaaaaaaaaaaaaaa" in shortform directory 131 references invalid inode 28428972647780227
would have junked entry "aaaaaaaaaaaaaaaaaaaaaaaa" in directory inode 131
entry "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" in shortform directory 131 references invalid inode 0
size of last entry overflows space left in in shortform dir 131, would reset to -1
entry contains offset out of order in shortform dir 131
Segmentation fault
I'll see what we need to do in repair to handle this type of corruption.
(However, I don't think that it will suffice to get much of your filesystem
back ...)
-Eric
More information about the xfs
mailing list