On Fri, Jul 8, 2016 at 10:44 PM, Andrei Borzenkov
09.07.2016 04:18, Chris Murphy пишет: ...
Jul 08 19:11:52 linux-04te systemd[1]: Starting File System Check on /dev/disk/by-uuid/df4040f2-8331-4e8b-838e-3855ebf13d5b... Jul 08 19:11:52 linux-04te systemd-fsck[830]: /sbin/fsck.xfs: XFS file system. Jul 08 19:11:52 linux-04te systemd[1]: Started File System Check on /dev/disk/by-uuid/df4040f2-8331-4e8b-838e-3855ebf13d5b. Jul 08 19:11:52 linux-04te systemd[1]: Mounting /home... Jul 08 19:11:52 linux-04te kernel: SGI XFS with ACLs, security attributes, realtime, no debug enabled Jul 08 19:11:52 linux-04te kernel: XFS (sdb4): Mounting V5 Filesystem Jul 08 19:11:53 linux-04te kernel: XFS (sdb4): Starting recovery (logdev: internal) Jul 08 19:12:03 linux-04te systemd[1]: home.mount mount process exited, code=killed status=9 Jul 08 19:12:03 linux-04te systemd[1]: Failed to mount /home. Jul 08 19:12:03 linux-04te systemd[1]: Dependency failed for Local File Systems. Jul 08 19:12:03 linux-04te systemd[1]: Dependency failed for Postfix Mail Transport Agent. Jul 08 19:12:03 linux-04te systemd[1]: Triggering OnFailure= dependencies of local-fs.target. Jul 08 19:12:03 linux-04te systemd[1]: Unit home.mount entered failed state.
The XFS /home has failed to mount, journal replay failed. There is a chance you can run xfs_repair from the emergency shell if xfsprogs is in the initrd. Otherwise you'll need to boot from alternate media. If
He already switched root at this point, so it should be available.
Good point.
But also note that it says "killed" which could mean it simply took too long to perform mount, although it happened too early (10 seconds after start). In any case, before attempting xfs_repair the first step would probably be to try mount it manually.
Yes that's true. Although xfs_repair with or without -n will catch the fact the log has not been replayed, and state that a mount attempt needs to be made before using xfs_repair which does not do log replay.
Definitely do not use xfs_repair -l unless an XFS expert (not me) or developer says it's a good idea to do it, it's a big hammer.
That should be -L. -- Chris Murphy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org