On 10/20/18 7:43 AM, Oleg Davydov wrote: > I try to repair file system from corrupter drive and this leads to > Segmentaion Fault in xfs_repair. You can see some logs here (incl. > stack trace from coredump): https://pastebin.com/farKCDRi > > I tried xfsprogs-4.14.0 (currently installed on my system), custom > build from git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git, from > master (3caeb69c) and from libxfs-4.19-sync (b5c71bcd), all ended in > the same result. > > Please suggest me how to fix it, how to get some more information > about the problem or how can I workaround it. Additional problem is > that I can't even mount filesystem now (mount fails with Corruption > warning: Metadata has LSN (1674570203:54480) ahead of current LSN > (1:8). Please unmount and run xfs_repair (>= v4.3) to resolve.) If you could provide an xfs_metadump image (compressed) I can take a look at it. A metadump contains no file data, should obfuscate most metadata, and should zero out unused portions of metadata sectors. Feel free to provide it off-list for maximum privacy. I'm actually looking at something right now that may be similar, so you have good timing. Thanks, -Eric