[linuxstudy@xxxx ~]$ xfs_info /dev/sda1
meta-data=/dev/sda1 isize=512 agcount=4, agsize=65536 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=0 spinodes=0
data = bsize=4096 blocks=262144, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
[linuxstudy@xxxx ~]$ sudo xfs_fsr /dev/sda1 //デフラグ
[sudo] linuxstudy のパスワード:
/boot start inode=0
xfs_fsr(8) System Manager's Manual xfs_fsr(8)
NAME
xfs_fsr - filesystem reorganizer for XFS
SYNOPSIS
xfs_fsr [-vdg] [-t seconds] [-p passes] [-f leftoff] [-m mtab]
xfs_fsr [-vdg] [xfsdev | file] ...
xfs_fsr -V
DESCRIPTION
xfs_fsr is applicable only to XFS filesystems.
xfs_fsr improves the organization of mounted filesystems. The reorganization algorithm
operates on one file at a time, compacting or otherwise improving the layout of the file
extents (contiguous blocks of file data).
The following options are accepted by xfs_fsr. The -m, -t, and -f options have no mean‐
ing if any filesystems or files are specified on the command line.
-m mtab Use this file for the list of filesystems to reorganize. The default is to