页面“Python中包含UTF-8编码中文的列表或字典的输出”与“Cannot access Input/output error”之间的差异
(页面间的差异)
跳到导航
跳到搜索
小 (导入1个版本) |
|||
第1行: | 第1行: | ||
+ | =trouble= | ||
<pre> | <pre> | ||
+ | 内网机器 PHP的人 随便重启,然后机器再起来出事了 | ||
+ | ls /home | ||
+ | cannot access Input/output error | ||
− | + | 和乱码 | |
+ | d?????????? ? ? ? ? ? home | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | = | + | =shooting= |
− | + | <pre> | |
+ | lsof | grep home | ||
+ | 有关home分区的程序先kill掉 | ||
+ | |||
+ | |||
+ | 然后关掉机器 ,再硬重启 | ||
+ | 如果不行就得 | ||
+ | fsck | ||
+ | |||
+ | 例如如果上面的 /home at /dev/sda1 | ||
+ | 1.应该是采用 修复命令 fsck | ||
+ | fsck -s /dev/sda1 | ||
+ | 意外断电导致/dev/sda1分区的文件系统崩溃,所以针对这个分区进行修复,如果其他分区也出现类似情况,可以进行全盘修复 | ||
+ | |||
− | + | 2.机器重启 | |
− | |||
− | [[ | + | </pre> |
+ | =see also= | ||
+ | [https://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory “Input/output error” when accessing a directory] | ||
+ | |||
+ | [https://www.cnblogs.com/Alanf/p/7509268.html cannot access Input/output error] |
2020年2月18日 (二) 08:27的版本
trouble
内网机器 PHP的人 随便重启,然后机器再起来出事了 ls /home cannot access Input/output error 和乱码 d?????????? ? ? ? ? ? home
shooting
lsof | grep home 有关home分区的程序先kill掉 然后关掉机器 ,再硬重启 如果不行就得 fsck 例如如果上面的 /home at /dev/sda1 1.应该是采用 修复命令 fsck fsck -s /dev/sda1 意外断电导致/dev/sda1分区的文件系统崩溃,所以针对这个分区进行修复,如果其他分区也出现类似情况,可以进行全盘修复 2.机器重启