File system is damaged after poweroff
-
Problem description:
The physical machine is powered off and the file system is damagedProblem analysis:
The file system is damaged and needs to be repaired. It cannot be directly repaired by conventional direct xfs_repair -L.Problem handling process:
- First xfs_repair -Pv and then xfs_repair -L to repair successfully.
xfs_repair -Pv /dev/sdx xfs_repair -L /dev/sdx-P: Pre-check mode, only checks without actual repairs
-v: Showing detailed information about the check process
-L: Force-clear the log, using the most aggressive repair method.- If the repair is completed and the system is stuck at the cursor flashing,
You can try ssh. If you can connect to ssh, it means that only the tty service is damaged, and you can reinstall the tty service.
rpm -ivh /opt/zstack-dvd/x86_64/c76/Packages/zstack-host-3.10.1-1.el7.zstack.x86_64.rpm -
undefined nexus marked this topic as a regular topic