leanote服务无法正常访问,无法同步

ssh可以连接

VSCode无法远程连接

运行ddns脚本报错:

root@sunie:/home/sunie/pythonFiles/Cov# /root/anaconda3/bin/python /Server/python_utils/ddns_linux.py
/Server/python_utils/ddns_linux.py:13: DeprecationWarning: use options instead of chrome_options
  driver = webdriver.Chrome(chrome_options=chrome_options)
Traceback (most recent call last):
  File "/Server/python_utils/ddns_linux.py", line 13, in <module>
    driver = webdriver.Chrome(chrome_options=chrome_options)
  ...
  File "/root/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot create temp dir for user data dir

无法编辑/etc/profile:只读文件系统

无法使用chmod修改权限: chmod: 正在更改 'profile' 的权限: 只读文件系统

无法编辑任何文件: 无法写入viminfo文件$ HOME / .viminfo!

无法以只读形式重新挂载:mount -o remount,rw /

image-20210705164259012

分区写保护,产生原因:https://www.zhihu.com/question/27141010

mount情况:

image-20210705165216610

可以看出分区因为某些错误,以只读方式remount了,具体是什么错误?

关机重启,关机时出现:file to write entry, readonly filesystem ignored

启动后进入busybox (initramfs)

使用高级选项启动,注意其中的 contains a file system with errors,下面提示了The root filesystem requires a manual fsck.

尝试修复,直接输入fsck /dev/sda6

  1. 删除了orphaned inode list
  2. 修复了位图的偏移
  3. 错误的空闲块数量(将近50个group的空闲块都缩水了)
  4. 错误的inodes数量

输入exit,开始启动,成功进入linux系统。

出错原因:磁盘检测不能通过,可能是因为系统突然断电或其它未正常关闭。