missing xfs_check in xfs_progs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfsprogs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm trying to check for filesystem errors on an external HDD. But I don't find xfs_check. Maybe xfs_check and xfs_repair have been unified?
xfsprogs is installed
This is the error when I try to run it:
$sudo xfs_check /dev_sdb1
sudo: xfs_check: command not found
$xfs_check /dev_sdb1
No command 'xfs_check' found, did you mean:
Command 'xfs_ncheck' from package 'xfsprogs' (main)
xfs_check: command not found
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xfsprogs 4.3.0+nmu1ubuntu1
ProcVersionSign
Uname: Linux 4.10.0-35-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CurrentDesktop: MATE
Date: Tue Sep 19 12:07:47 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-09-18 (1 days ago)
InstallationMedia: Ubuntu-MATE 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
SourcePackage: xfsprogs
UpgradeStatus: No upgrade log present (probably fresh install)
xfs_check is deprecated and has been removed from xfsprogs since 2014.
See https:/ /fossies. org/linux/ xfsprogs/ doc/CHANGES
> 602 xfsprogs-3.2.1 (15 July 2014)
> [...]
> 606 - xfs_check has been removed
Manpage for fsck.xfs ("do nothing, successfully") still exists and recommends:
"If you wish to check the consistency of an XFS filesystem, or repair a damaged or corrupt XFS filesystem, see xfs_repair(8)."
Use -n ("No modify mode") with xfs_repair to manually check an XFS filessystem:
xfs_repair -n /dev/device