[Bug 1718244] Re: missing xfs_check in xfs_progs

Christoph Probst 1718244 at bugs.launchpad.net
Mon Aug 31 10:45:12 UTC 2020


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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xfsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1718244

Title:
  missing xfs_check in xfs_progs

Status in xfsprogs package in Ubuntu:
  Invalid

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfsprogs/+bug/1718244/+subscriptions



More information about the foundations-bugs mailing list