Scenario Description: xfsdump is not installed. Then, run the following command to fix the file system in the format of XFS:
Step 1: xfs_fsr/dev/sda1
However, the following error occurs:
/Dev/sda1: Not fsys Dev, Dir, or reg file, ignoring
Use the parted tool to view the partition format:
Number start end size file system name flags
1 1049kb 1000 GB 1000 gb xfs primary raid
Step 2: Install xfsdump
Yum install xfsdump
Step 3: Install soft RAID
Yum install mdadm
Step 4: Man xfs_fsr XFS file system organization tool
Description:
Only for XFS file systems
Improve the organization of a mounted file system. The algorithm operates a file every time, improving
The organizational structure of the file.
From here we can know that a mounted file system can be repaired by xfs_fsr.
The answer is already very obvious.
/Dev/sda1: Not fsys Dev, Dir, or reg file, ignoring introduces xfs_fsr usage