1. 今天突然出现 ls、ss 、 lsof 等命令报错

-bash: /bin/ss: Input/output error

  1. 其中有一个服务器上出现提示

    *** System restart required ***
    Last login: Thu Sep 15 12:02:09 2022 from 192.168.0.135
    .ssh/rc: 12: .ssh/rc: cannot create /var/log/zabbix-agent/ssh.log: Read-only file system

    reboot 之后,OK

  2. 另一个服务器上更严重
    $ sudo reboot
    也报错!

     Failed to start reboot.target: Unit reboot.target is not loaded properly: Input/output error.
     See system logs and 'systemctl status reboot.target' for details.
    

    $ systemctl status reboot.target

     ● reboot.target
        Loaded: error (Reason: Input/output error)
        Active: inactive (dead)
    

    $ sudo shutdown

     Shutdown scheduled for Fri 2023-03-10 09:49:08 CST, use 'shutdown -c' to cancel
    
  3. 强制关机后 , OK
    前一个错误好歹有个提示:*** System restart required ***
    后一个具体什么原因,暂时不得而知!

Logo

更多推荐