Hello,
Sorry for highjacking this old thread from last year. I actually ran into
the same situation as the original poster, using xfsprogs-3.1.5 on kernel
2.6.38.7. Using xfs_repair -P fixed the issue, and I also managed to get a
metadump before repairing it so you guys can take a look and maybe fix the
prefetch mode.
The strace of the xfs_repair, for what it's worth, seems to show a
complete deadlock with all threads waiting on futexes:
# strace -f -F -p 8315
Process 8374 attached with 6 threads - interrupt to quit
[pid 8374] futex(0x7f2336d20a84, FUTEX_WAIT, 4, NULL <unfinished ...>
[pid 8373] futex(0x7f2336d20a84, FUTEX_WAIT, 3, NULL) = -1 EAGAIN (Resource temporarily unavailable)
[pid 8372] futex(0x7f2336d20a84, FUTEX_WAIT, 2, NULL <unfinished ...>
[pid 8373] futex(0x7f2336d20a84, FUTEX_WAIT, 4, NULL <unfinished ...>
[pid 8372] <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
[pid 8372] futex(0x7f2336d20a84, FUTEX_WAIT, 4, NULL <unfinished ...>
[pid 8371] futex(0x7f2336d20a84, FUTEX_WAIT, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
[pid 8370] futex(0x7f2336d20b08, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 8371] futex(0x7f2336d20a84, FUTEX_WAIT, 4, NULL <unfinished ...>
[pid 8315] futex(0x7f2336d1f958, FUTEX_WAIT, 2, NULL^C <unfinished ...>
Process 8315 detached
Process 8370 detached
Process 8371 detached
Process 8372 detached
Process 8373 detached
Process 8374 detached
The metadump is 4.2GB, off of a 2.2TB filesystem. If there are interested
parties, I can arrange to put online somewhere for an http download.
Thanks,
-Ion
--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs