missing xfs_check in xfs_progs

Bug #1718244 reported by userDepth
8
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 4.10.0-35.39~16.04.1-generic 4.10.17
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)

Revision history for this message
userDepth (binarydepth) wrote :
Revision history for this message
Christoph Probst (christophprobst) wrote :

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

Revision history for this message
Christoph Probst (christophprobst) wrote :

xfs_check has been merged into / replaced by xfs_repair in 2014.

Changed in xfsprogs (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.