I was wondering if there was any work being done on an XFS defrag utility, like the command that is available in IRIX. Any info? mg [[HTML alternate version deleted]]
Is there any tool to tell how many files have how many fragments out of how many files...something on the order of the following files have more than 1 fragment: frags file 2 /tmp/xyzzy 35 /var/mail/
Some quick answers... xfs_db can tell you overall fragmentation, I suppose a wrapper around this would be nice: [root@stout root]# xfs_db -r /dev/hda9 xfs_db: frag actual 408, ideal 408, fragmentatio
Try the frag and freesp commands in xfs_db one reports how fragmented things are. So for instance on the laptop I am on which I do kernel builds on: xfs_db: frag -f actual 79844, ideal 79633, fragmen
-- That's sorta what I was looking for -- I guess I could script the bmap and find out which files were most affected. My system looks like: (files/dirs). /: xfs_db: actual 152457, ideal 152451, fra
I don't think you do, if you look at the actual numbers, only one filesystem is really fragmented, the /backups one, and it does not have many files. Also you cannot defragment directories. We packag