xfsdump segfault

Daniel Browning db at kavod.com
Sat Feb 16 18:06:02 CST 2013


Thanks for the quick response, Dave.

On Friday 15 February 2013 10:51:11 pm Dave Chinner wrote:
> On Fri, Feb 15, 2013 at 10:20:46PM -0800, Daniel Browning wrote:
> > Hello folks,
> >
> > I ran into a segfault while running xfsdump, what should I do
> > to find the cause?
> 
> xfsrestore segfaulted, not xfsdump.

Ah, yes, that's right.

> Can you run xfsdump to dump to
> a file, then xfsrestore to restore from the file, rather than piping
> one into the other? 

Done. It took a little while since it's a 2.4TiB filesystem. Here is
the last line of the "-v debug" restore (path names scrubbed for
anonymity):

xfsrestore: restoring UNIX domain socket ino 128004852 backup/secondary/backups/firefly/root/backups/[...]/etc/socket
Segmentation fault (core dumped)

[root at betelgeuse ~]# dmesg | tail -n 1
xfsrestore[18838]: segfault at 10 ip 00000033fd8478de sp 00007fcad10a0e00 error 4 in libc-2.12.so[33fd800000+189000]

So it appears that a socket is causing the problem. What should I
try next?

--
DB



More information about the xfs mailing list