After experiencing boot problems after power failure, I want to make sure that I do everything I can to prevent this from happening again. Is there software/driver to gracefully power down Ubuntu when a USB-connected Tripp Lite UPS signals power loss?
user712650's questions
WARNING : Failed to connect to lvmetad. Falling back to device scanning. /dev/mapper/xubuntu--vg-root: clean. 494715/30187520 files, 4799821/120728576 blocks. You are in emergency mode...
I'm a new Linux user, and don't know what went wrong and how to fix this. (Yes, I know :ups ; it's on order) Xubuntu 17.10 installed on M. 2 NVMe with LVM; storage on RAID 1 array with LVM.
OK, learning "on the job" here. Went and did journalctl -xb
and scrolled all the way down.
server04 kernel: JBD2: Invalid checksum recovering block 689 in log
server04 kernel: JBD2: Recovery failed
server04 kernel: EXT4-fs (dm-2): error loading journal
server04 systemd[1]: mnt-local-media: Mount process exited, code=exited status=32
server04 systemd[1]: Failed to mount /mnt/local/media
...
server04 systemd[1]: Received SIGRTMIN+21 from PID 1144 (plymouthd)
I tried fsck /dev/md0
, got /dev/md0 is in use
.
Tried umount /dev/md0
, got /dev/md0 is not mounted
.
I edited /etc/fstab
to #-out what seems to be the relevant devices:
# /dev/md0 /media ext4 defaults 0 0
# /dev/media/media /mnt/local/media ext4 defaults 0 0
This lets me boot up the system, but now what?