Package: xfsprogs
Version: 2.9.8-1lenny1
Severity: important

After a crash I ran an xfs_repair on a filesystem. xfs_repair did a lot of
I/O etc. as one would expect, but after a while:

   Phase 1 - find and verify superblock...
   Phase 2 - using internal log
           - zero log...
           - scan filesystem freespace and inode maps...
           - found root inode chunk
   Phase 3 - for each AG...
           - scan and clear agi unlinked lists...
           - process known inodes and perform inode discovery...
           - agno = 0
           - agno = 1
           - agno = 2
           - agno = 3
           - process newly discovered inodes...
   Phase 4 - check for duplicate blocks...
           - setting up duplicate extent list...
           - check for inodes claiming duplicate blocks...
           - agno = 0
           - agno = 1
           - agno = 2
           - agno = 3
   Phase 5 - rebuild AG headers and trees...
           - reset superblock...
   Phase 6 - check inode connectivity...
           - resetting contents of realtime bitmap and summary inodes
           - traversing filesystem ...

it stopped doing any I/O and only sat there, using 170-180% cpu (top, dual-core 
system).

An strace doesn't show xfs_repair doing anything except mutex operations:

   http://ue.tst.eu/37906f67a8a9d081cc55a4dc6a672471.txt

After 10 minutes, I interrupted xfs_repair and ran it again, with taskset
1, which this time ran through (which does not mean much). It also spent
a long time during the "traversing filesystem" phase, much longer than it
took the first run to stop working, so my guess is that something in that
phase can cause a livelock.

I should also note that xfs_repair usually finishes within <20 seconds on
all the filesystems on the box, but it takes a very very long time (20
minutes, doing lots of I/O) on this filesystem, although the filesystems
should have similar content.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfsprogs depends on:
hi  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libreadline5                  5.2-3.1    GNU readline and history libraries
ii  libuuid1                      1.41.3-1   universally unique id library

xfsprogs recommends no packages.

Versions of packages xfsprogs suggests:
ii  attr                          1:2.4.43-2 Utilities for manipulating filesys
pn  dvhtool                       <none>     (no description available)
ii  quota                         3.16-7     implementation of the disk quota s
ii  xfsdump                       2.2.48-1   Administrative utilities for the X

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to