记录一个挂载的硬盘变成readonly的问题

今天打开自己的大盘鸡宝塔面板,显示:

chmod: changing permissions of '/www/server/panel/pyenv/bin': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/wsdump.py': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pyrsa-decrypt': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pip3': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/easy_install': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/idle3.7': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/python3.7m': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/cygdb': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pip3.7': Read-only file systemchmod: changing permissions of '/www/server/panel/pyenv/bin/pip.txt': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/flask': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/cythonize': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pyrsa-sign': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pwiz.py': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pyrsa-keygen': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/chardetect': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/python3.7': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/2to3-3.7': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/python3.7m-config': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pyrsa-encrypt': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/easy_install-3.7': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/google-oauthlib-tool': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/futurize': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/activate': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/qiniupy': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/cython': Read-only file systemchmod: changing permissions of '/www/server/panel/pyenv/bin/pasteurize': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/qr': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pydoc3.7': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/jp.py': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pyvenv-3.7': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pyrsa-priv2pub': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pyrsa-verify': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/pygmentize': Read-only file system
chmod: changing permissions of '/www/server/panel/pyenv/bin/urlgrabber': Read-only file system
chmod: changing permissions of '/www/server/panel/BT-Panel': Read-only file system
chmod: changing permissions of '/www/server/panel/BT-Task': Read-only file system

打开网页面板也进不去.

mount看了一下,挂载的分区变成ro了.

没办法,重新挂载一下试试.

执行umount /dev/sda1,显示umount: /www: target is busy.

先找到使用这个模块的pid:fuser -m /dev/sda1

kill进程:fuser -mk /dev/sda1kill pid (我也忘了哪个起作用了)

然后继续umount,卸载之后再挂载mount -a

然后就好了

© 版权声明
THE END
喜欢就支持以下吧
点赞0赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容