HIVE The NexaVM Community NexaVM HIVE Community
    • Categories
    • Tags
    • Recent
    • Register
    • Login

    File system is damaged after poweroff

    Scheduled Pinned Locked Moved Knowledgebase
    1 Posts 1 Posters 20 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nexusundefined Offline
      nexus
      last edited by

      Problem description:
      The physical machine is powered off and the file system is damaged

      Problem 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:

      1. 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.

      1. 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
      
      1 Reply Last reply Reply Quote
      • nexusundefined nexus marked this topic as a regular topic

      • 1 / 1
      • First post
        Last post