После очередного падения по пропаданию питания (батарейки не всегда хватает) что-то произошло с root разделом
При загрузке
[ OK ] Started Journal Service.
[FAILED] Failed to start File System Check on Root Device.
See ‘systemctl status systemd-fsck-root.service’ for details.
Starting Remount Root and Kernel File Systems…
и потом
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Give root password for maintenance
(or press Control-D to continue): [ 13.918837] mxs-dcp 80028000.dcp: Failed to register sha1 hash!
ошибка проверки тупая:
root@wirenboard-A7NBSL6Z:~# systemctl status systemd-fsck-root.service
● systemd-fsck-root.service - File System Check on Root Device
Loaded: loaded (/lib/systemd/system/systemd-fsck-root.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-09-24 14:12:18 MSK; 3min 37s ago
Condition: start condition failed at Thu 2020-09-24 14:14:20 MSK; 1min 36s ago
└─ ConditionPathIsReadWrite=!/ was not met
Docs: man:systemd-fsck-root.service(8)
Process: 84 ExecStart=/lib/systemd/systemd-fsck (code=exited, status=1/FAILURE)
Main PID: 84 (code=exited, status=1/FAILURE)
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd-fsck[84]: fsck failed with error code 4.
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd-fsck[84]: rootfs1 contains a file system with errors, check forced.
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd-fsck[84]: rootfs1: Inodes that were part of a corrupted orphan linked list found.
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd-fsck[84]: rootfs1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd-fsck[84]: (i.e., without -a or -p options)
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd-fsck[84]: Running request emergency.target/start/replace
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd[1]: systemd-fsck-root.service: Main process exited, code=exited, status=1/FAILURE
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd[1]: Failed to start File System Check on Root Device.
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd[1]: systemd-fsck-root.service: Unit entered failed state.
сен 24 14:12:18 wirenboard-A7NBSL6Z systemd[1]: systemd-fsck-root.service: Failed with result 'exit-code'.
Что делать?
root@wirenboard-A7NBSL6Z:~# mount
/dev/mmcblk0p3 on / type ext4 (rw,noatime,errors=remount-ro,stripe=1024,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=61352k,nr_inodes=15338,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p6 on /mnt/data type ext4 (rw,relatime,stripe=1024,data=ordered)
/dev/mmcblk0p6 on /var/log type ext4 (rw,relatime,stripe=1024,data=ordered)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=12284k,mode=700)
root@wirenboard-A7NBSL6Z:~# fsck /dev/mmcblk0p3
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
/dev/mmcblk0p3 is mounted.
e2fsck: Cannot continue, aborting.
root@wirenboard-A7NBSL6Z:~# mount -o remount, ro /
root@wirenboard-A7NBSL6Z:~# fsck /dev/mmcblk0p3
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
/dev/mmcblk0p3 is mounted.
e2fsck: Cannot continue, aborting.
Лог: wb5.log.txt (20.6 КБ)