Created
February 20, 2019 06:00
-
-
Save lilongen/cc399f500da8655ca41305aa1158a561 to your computer and use it in GitHub Desktop.
xfs文件系统, 根分区已满, 占用空间与实际使用空间不符, 使用xfs工具修复
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
首先安装xfs工具 | |
yum install xfsdump | |
yum install xfsprogs-devel | |
yum install xfsprogs | |
检测/分区的碎片 | |
# xfs_db -c frag -r /dev/vda1 | |
显示的数据是10%左右,尝试使用修复整理碎片 | |
# xfs_fsr /dev/vda1 | |
再次查看,发现文件系统正常恢复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment