FS#53543 - fsck failed with error code 8
Attached to Project:
Arch Linux
Opened by Shixin Zeng (szeng) - Monday, 03 April 2017, 00:50 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 15 June 2017, 07:17 GMT
Opened by Shixin Zeng (szeng) - Monday, 03 April 2017, 00:50 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 15 June 2017, 07:17 GMT
|
Details
Description:
This is what I saw from "journalctl -b" Apr 02 16:37:37 localhost systemd-fsck[160]: fsck: /usr/local/sbin/fsck.xfs: execute failed: No such file or directory Apr 02 16:37:37 localhost systemd-fsck[160]: fsck failed with error code 8. Apr 02 16:37:37 localhost systemd-fsck[160]: Ignoring error. It seems that systemd-fsck is looking for fsck in a wrong directory. The fsck.xfs on my system is under /sbin, and /usr/bin/: $ ls /sbin/fsck.xfs /sbin/fsck.xfs $ ls /usr/bin/fsck.xfs /usr/bin/fsck.xfs $ /usr/local/sbin/ -bash: /usr/local/sbin/: Is a directory It's the same path in initramfs: $ lsinitcpio /boot/initramfs-linux-lts.img |grep fsck usr/bin/fsck usr/bin/fsck.xfs usr/lib/systemd/systemd-fsck usr/lib/systemd/system/systemd-fsck@.service |
This task depends upon
Closed by Doug Newgard (Scimmia)
Thursday, 15 June 2017, 07:17 GMT
Reason for closing: Not a bug
Additional comments about closing: There is no fsck for xfs or btrfs
Thursday, 15 June 2017, 07:17 GMT
Reason for closing: Not a bug
Additional comments about closing: There is no fsck for xfs or btrfs
I don't really think there's anything to fix here, unless you'd like to ask util-linux upstream to hide the ENOENT error.
Sorry for reposting
systemd-fsck[177]: fsck: /usr/local/sbin/fsck.btrfs: execute failed: No such file or directory