xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 489] New: xfs_db "frag" command segfaulted after xfs

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 489] New: xfs_db "frag" command segfaulted after xfs_fsr defragmentation run
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sat, 18 Feb 2006 09:09:48 -0800
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=489

           Summary: xfs_db "frag" command segfaulted after xfs_fsr
                    defragmentation run
           Product: Linux XFS
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xfsprogs
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: Martin@xxxxxxxxxxxx


Hello,

today I finally tried out XFS online defragmentation feature using Debian 
Linux Etch/Sid with a self compiled Linux kernel 2.6.15.4 on my IBM ThinkPad 
T23, P3 1.13GHz, 384 MB RAM.

First I checked whether defragmentation would give benefits. 

root@deepdance:~ -> xfs_db -r /dev/hda5
xfs_db> frag
actual 302397, ideal 299802, fragmentation factor 0.86%
xfs_db> quit

root@deepdance:~ -> xfs_db -r /dev/hda8
xfs_db> frag
actual 324428, ideal 303369, fragmentation factor 6.49%
xfs_db> quit

This worked okay. I decided to give xfs_fsr a spin on /dev/hda8, which 
contains my /home filesystem:

root@deepdance:~ -> xfs_fsr /dev/hda8
/home start inode=0

After about half an hour it was finished. I wanted to check what the results 
where, so I tried the frag command again, but it segfaulted:

root@deepdance:~ -> xfs_db -r /dev/hda8
xfs_db> frag
Speicherzugriffsfehler (means segmentation fault in german)
root@deepdance:~ -> xfs_db -r /dev/hda8
xfs_db> frag
Speicherzugriffsfehler

I felt a bit uneasy about it, thus I rebooted the machine into a parallel 
OpenSUSE installation and ran xfs_check /dev/hda8. The filesystem was intact 
*PHEW* ;-)

I rebooted and got an unrelated crash on kcminit (KDE control center init 
program) due to an ALSA failure (/etc/init.d/alsa-utils restart made alsactrl 
crash). I reinstalled the package alsa-utils, but it didnt help, so I 
rebooted. 

When I fully rebooted the second time, the "frag" command worked okay:

root@deepdance:/mnt -> xfs_db -r /dev/hda8
xfs_db> frag
actual 306343, ideal 303370, fragmentation factor 0.97%

So it seems despite a running KDE during defragmenting the defragmentation 
process was quite successful.

I am not sure whether that segfault on xfs_db "frag" command after xfs_fsr is 
reproducable. I should try whether its possible to reproduce that bug, but I 
want to do some other stuff after reporting this to you.

Tell me when you need any more info. I didn't find the version of the XFS 
filesystem in the kernel I use by looking at the source or in /proc/fs/xfs, 
but I guess you know it better than me. It should be fairly recent ;-).

I have the following version of xfs stuff installed:

martin@deepdance:~ -> dpkg -l | grep xfs
[ ... ]
ii  xfsdump                 2.2.30-1                Administrative utilities 
for the XFS filesystem
ii  xfsprogs                2.7.7-1                 Utilities for managing the 
XFS filesystem

Regards,
Martin Steigerwald

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 489] New: xfs_db "frag" command segfaulted after xfs_fsr defragmentation run, bugzilla-daemon <=