Segmentation fault in xfs_db frag, xfsprogs-3.1.8

Eric Sandeen sandeen at sandeen.net
Wed Jun 6 09:57:25 CDT 2012


On 6/6/12 5:06 AM, Richard Ems wrote:
> On 06/06/2012 01:45 AM, Dave Chinner wrote:
>> No surprise if you have a large filesystem and the filesystem is
>> changing while xfs_db is running. xfs_db is not coherent with
>> mounted filesytems, and it is not recommended that you use it that
>> way.s xfs-db is a debugging tool, not a filesystem state reporting
>> tool.
> 
> Ok, thanks, didn't know that.
> I would like to monitor the fragmentation value for all my mounted XFS.
> I think I read in previous list messages that also other people are
> using xfs_db this way. Or is there another way to get the fragmentation
> value?

As Dave said, this just isn't that useful.

http://xfs.org/index.php/XFS_FAQ#Q:_The_xfs_db_.22frag.22_command_says_I.27m_over_50.25.__Is_that_bad.3F

explains why.

-Eric



More information about the xfs mailing list