xfs
[Top] [All Lists]

xfs_db on non-XFS FS causes a core dump (2.9.5-1)

To: xfs@xxxxxxxxxxx
Subject: xfs_db on non-XFS FS causes a core dump (2.9.5-1)
From: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 04:54:00 -0500 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Alpine 1.00 (DEB 882 2007-12-20)
Checking fragmentation on a non-XFS filesystem causes xfs_db to core dump.

# xfs_db -c frag -f /dev/sda
xfs_db: unexpected XFS SB magic number 0xfaeb2101
xfs_db: read failed: Invalid argument
xfs_db: data size check failed
cache_node_purge: refcount was 1, not zero (node=0x80dd670)
xfs_db: cannot read root inode (22)
cache_node_purge: refcount was 1, not zero (node=0x80dd770)
xfs_db: cannot read realtime bitmap inode (22)
Segmentation fault (core dumped)

# dpkg -l | grep xfsprogs
ii  xfsprogs                             2.9.5-1

Core was generated by `xfs_db -c frag -f /dev/sda'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7ef3350 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0xb7ef3350 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x080ab31a in ?? ()
#2  0x0000001c in ?? ()
#3  0x38006590 in ?? ()
#4  0x00000000 in ?? ()

# xfs_db -c frag -f /dev/sda2
actual 208581, ideal 197229, fragmentation factor 5.44%


<Prev in Thread] Current Thread [Next in Thread>