Thanks all!
My fault. I remember there is a command for xfs or reiserfs to do this
and i can not figure out the name. then i check xfs_* on my box and none
of them doing this job. so i assumed it is for reiserfs.
it is quite weired that my FC box does not have this command in
xfsprogs.
[mingz@amd64 ~]$ rpm -q xfsprogs
xfsprogs-2.6.13-2
[mingz@amd64 ~]$ rpm -ql xfsprogs
/lib64/libhandle.so.1
/lib64/libhandle.so.1.0.3
/sbin/fsck.xfs
/sbin/mkfs.xfs
/sbin/xfs_repair
/usr/sbin/xfs_admin
/usr/sbin/xfs_bmap
/usr/sbin/xfs_check
/usr/sbin/xfs_copy
/usr/sbin/xfs_db
/usr/sbin/xfs_freeze
/usr/sbin/xfs_growfs
/usr/sbin/xfs_info
/usr/sbin/xfs_io
/usr/sbin/xfs_logprint
/usr/sbin/xfs_mkfile
/usr/sbin/xfs_ncheck
/usr/sbin/xfs_rtcp
/usr/share/doc/xfsprogs-2.6.13
/usr/share/doc/xfsprogs-2.6.13/CHANGES
/usr/share/doc/xfsprogs-2.6.13/COPYING
/usr/share/doc/xfsprogs-2.6.13/CREDITS
/usr/share/doc/xfsprogs-2.6.13/PORTING
/usr/share/doc/xfsprogs-2.6.13/README
/usr/share/doc/xfsprogs-2.6.13/README.LVM
/usr/share/doc/xfsprogs-2.6.13/README.quota
/usr/share/man/man5/xfs.5.gz
/usr/share/man/man8/fsck.xfs.8.gz
/usr/share/man/man8/mkfs.xfs.8.gz
/usr/share/man/man8/xfs_admin.8.gz
/usr/share/man/man8/xfs_bmap.8.gz
/usr/share/man/man8/xfs_check.8.gz
/usr/share/man/man8/xfs_copy.8.gz
/usr/share/man/man8/xfs_db.8.gz
/usr/share/man/man8/xfs_freeze.8.gz
/usr/share/man/man8/xfs_growfs.8.gz
/usr/share/man/man8/xfs_info.8.gz
/usr/share/man/man8/xfs_io.8.gz
/usr/share/man/man8/xfs_logprint.8.gz
/usr/share/man/man8/xfs_mkfile.8.gz
/usr/share/man/man8/xfs_ncheck.8.gz
/usr/share/man/man8/xfs_repair.8.gz
/usr/share/man/man8/xfs_rtcp.8.gz
On Thu, 2005-09-01 at 07:51 +1000, David Chinner wrote:
> On Wed, Aug 31, 2005 at 04:52:23PM -0400, Ming Zhang wrote:
> > Hi folks
> >
> > I wonder how I can defragment the xfs?
>
> Ob-FAQ: Google is your friend:
>
> http://www.google.com/search?q=how+to+defragment+XFS
>
> xfs_fsr(8) is what you want - it's in the xfsdump package IIRC...
>
> Cheers,
>
> Dave.
|