当前位置:网站首页>处理 mkdir:无法创建目录“aaa“:只读文件系统
处理 mkdir:无法创建目录“aaa“:只读文件系统
2022-04-23 14:09:00 【Nightwish5】
问题如图:



df -h
cat /etc/fstab
问题描述
mkdir: cannot create directory `test': Read-only file system
mkdir: 无法创建目录"kk": 只读文件系统
但现在他 /root , /opt , /apache 所有文件夹下都无法创建文件了
而且执行reboot 还报错:重启报错:Failed to open /dev/initctl: No such device or address
最终处理方法
reboot -f
回想最近操作,也没做什么特别操作,查看history也没看到什么特别操作。
川少:你这是在/root 下没法创建文件,说明之前干了啥触发了它的只读保护,一般情况可以直接重启解决。
使用了其他博客的方法没效果,可能这个全部路径无法创建比较特殊。
参考:
https://www.cnblogs.com/jxldjsn/p/11337990.html
https://www.cnblogs.com/pu20065226/p/11396175.html
其他
换工作了,一个多月没些博客了。 emmmm 以后再打理打理博客吧~ 期间写了N多文档。 或许写点kingbase金仓内容
版权声明
本文为[Nightwish5]所创,转载请带上原文链接,感谢
https://blog.csdn.net/Nightwish5/article/details/121544220
边栏推荐
- Wechat applet initializes Bluetooth, searches nearby Bluetooth devices and connects designated Bluetooth (I)
- 数据库DbVisualizer Pro报文件错误,导致数据连接失败
- Returns the subscript after array sorting
- gzip和gunzip 解压参数详解
- Jmeter设置环境变量支持在任意终端目录输入jmeter直接启动
- Indoor and outdoor map switching (indoor three-point positioning based on ibeacons)
- jsp学习3
- 拨开云雾synchronized使用五种方式介绍
- logback-logger和root
- sql中出现一个变态问题
猜你喜欢

帆软分割求解:一段字符串,只取其中某个字符(所需要的字段)

剑指offer刷题(2)--面向华为

关于密匙传递的安全性和数字签名

Detailed tutorial on the use of setinterval timing function of wechat applet

Some experience of using dialogfragment and anti stepping pit experience (getactivity and getdialog are empty, cancelable is invalid, etc.)

Visio画拓扑图随记

困扰多年的系统调研问题有自动化采集工具了,还是开源免费的

Detailed tutorial on the use of smoke sensor (mq-2) (based on raspberry pie 3B +)

Jmeter安装教程以及我遇到的问题的解决办法

How QT designer adds resource files
随机推荐
Essential difference between restful WebService and gSOAP webservice
Some good articles on pthread multithreading
Postman的安装使用及填坑心得
線程組ThreadGroup使用介紹+自定義線程工廠類實現ThreadFactory接口
01-NIO基础之ByteBuffer和FileChannel
使用Executors类快速创建线程池
关于密匙传递的安全性和数字签名
VMware 15pro mounts the hard disk of the real computer in the deepin system
Gartner预测云迁移规模大幅增长;云迁移的优势是什么?
连接公司跳板机取别名
帆软分割求解:一段字符串,只取其中某个字符(所需要的字段)
多云数据流转?云上容灾?年前最后的价值内容分享
MySQL数据库讲解(九)
jsp学习1
MySQL数据库讲解(七)
findstr不是内部或外部命令解决方法
政务云迁移实践 北明数科使用HyperMotion云迁移产品为某政府单位实施上云迁移项目,15天内完成近百套主机迁移
MYSQL一种分表实现方案及InnoDB、MyISAM、MRG_MYISAM等各种引擎应用场景介绍
预览CSV文件
Can global variables be defined in header files

