Package: xfsprogs
Version: 3.0.2
Severity: normal

on my mythtv box, sda4, sdc4, sdb1, sdd1 are all XFS-formatted storage
partitions (SATA drives) for DVB-T recordings.  

/dev/sdc4      xfs    248G  216G   32G  88% /export/myth2
/dev/sda4      xfs    248G  215G   34G  87% /export/myth3
/dev/sdd1      xfs    466G  384G   83G  83% /export/myth6
/dev/sdb1      xfs    466G  386G   81G  83% /export/myth7

A few days ago, they were all reporting 98+% fragmentation. about a
year's worth of recording and transcoding both locally and over NFS4.

after running xfs_fsr on them several times over the last few days,
fragmentation levels have reduced significantly, but xfs_db is
segfaulting when checking some of the partitions...and it seems to be
becoming more likely as the drives are defragged:

yesterday morning, checking fragmentation on TWO of the partitions
segfaulted.

indra:~# xfs_db -c frag -r /dev/sdc4
Segmentation fault

indra:~# xfs_db -c frag -r /dev/sda4
actual 1902, ideal 365, fragmentation factor 80.81%

indra:~# xfs_db -c frag -r /dev/sdd1
actual 1123, ideal 452, fragmentation factor 59.75%

indra:~# xfs_db -c frag -r /dev/sdb1
Segmentation fault



after running xfs_fsr on them again for 6 hours while i was at work,
xfs_db is now segfaulting on three of the partitions.

indra:~# xfs_db -c frag -r /dev/sdc4
Segmentation fault

indra:~# xfs_db -c frag -r /dev/sda4
Segmentation fault

indra:~# xfs_db -c frag -r /dev/sdd1
actual 1314, ideal 454, fragmentation factor 65.45%

indra:~# xfs_db -c frag -r /dev/sdb1
Segmentation fault


NOTE: I have attached the output of 'strace xfs_db -c frag -r /dev/sdc4'

i suspect that if i run xfs_fsr today and completely defrag sdd1,
running 'xfs_db -c frag /dev/sdd1' tonight will also segfault.  I'll
post the output of that tonight.

the partitions themselves and the files on them, are working perfectly -
and file i/o is noticably faster than it was before. the problem is only
on reporting frag levels, and it seems to occur when when fragmentation
levels approach (or maybe equal) 0 percent.

the partitions have only hundreds of large (anywhere from 0.5GB to ~15GB
each) files on them each, not tens of thousands as a general-purpose
partition would have.

I think the small number of files is significant.  On another system
which has one dedicated mythtv storage partition, xfs_db -c frag also
segfaults, but not on the other general-purpose XFS partitions. it
was not segfaulting a few days ago before i started defragging the
partitions...it was also reporting around 99% fragmentation factor.

/dev/md3       xfs    931G  826G  106G  89% /
/dev/sdb2      xfs    458G  355G  104G  78% /export/myth4
/dev/sde1      xfs    466G  454G   13G  98% /export/backup1
/dev/sdd1      xfs    466G  413G   53G  89% /export/backup2



ganesh:~# time xfs_db -c frag -r /dev/md3
actual 1356988, ideal 1348888, fragmentation factor 0.60%

ganesh:~# xfs_db -c frag -r /dev/sde1
actual 1172652, ideal 1168111, fragmentation factor 0.39%

ganesh:~# xfs_db -c frag -r /dev/sdd1
actual 1107119, ideal 1101640, fragmentation factor 0.49%

ganesh:~# xfs_db -c frag -r /dev/sdb2
Segmentation fault





-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfsprogs depends on:
ii  libc6                         2.9-13     GNU C Library: Shared libraries
ii  libreadline5                  5.2-4      GNU readline and history libraries
ii  libuuid1                      1.41.6-1   Universally Unique ID library

xfsprogs recommends no packages.

Versions of packages xfsprogs suggests:
ii  acl                           2.2.47-2   Access control list utilities
ii  attr                          1:2.4.43-2 Utilities for manipulating filesys
pn  quota                         <none>     (no description available)
ii  xfsdump                       3.0.2      Administrative utilities for the X


-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to