-
昨晚连接实验室服务器的时候,突然jupyter notebook无法重启kernel
-
尝试手动在命令行启动jupyter notebook,报错 .ipython' is not a writable location, using a temp directory
no usable temporary directory found in [‘/tmp‘, ‘/var/tmp‘, ‘/usr/tmp‘- 参考这个博客 https://blog.csdn.net/weixin_39514326/article/details/123439699,考虑可能是磁盘满了,但是确认后发现磁盘都还有足够空间
- 怀疑是不是磁盘又出问题了
-
在/home下随便创建一个文件 touch tesst.txt 果然报错 Read-only file system
df查询一下本地的分区
发现/是/dev/sda4这个分区
于是使用磁盘修复工具 fsck -y /dev/sda4
修复完成过后,重新启动
之后就恢复正常了!


![[已解决] Read-only file system 问题导致的 jupyter notebook无法重启kernel [已解决] Read-only file system 问题导致的 jupyter notebook无法重启kernel](http://www.mshxw.com/aiimages/31/994385.png)
