- 论坛徽章:
- 0
|
最近服务器上有块数据盘莫名的变成了只读文件系统
输入ll命令- ls: 无法访问zjbss: 输入/输出错误
- ls: 无法访问xb6202: 输入/输出错误
复制代码 创建一个新的文件夹或者文件- mkdir: 无法创建目录"aaa": 只读文件系统
复制代码 使用mount命令查看- /dev/mapper/vg_yanghang-lv_home on /home type ext4 (rw)
- none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
- sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
- /dev/sdb2 on /www/web type ext4 (rw)
复制代码 cat /proc/mounts- /dev/mapper/vg_yanghang-lv_home /home ext4 rw,relatime,barrier=1,data=ordered 0 0
- none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
- sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
- /etc/auto.misc /misc autofs rw,relatime,fd=7,pgrp=1609,timeout=300,minproto=5,maxproto=5,indirect 0 0
- -hosts /net autofs rw,relatime,fd=13,pgrp=1609,timeout=300,minproto=5,maxproto=5,indirect 0 0
- /dev/sdb2 /www/web ext4 ro,relatime,barrier=1,data=ordered 0 0
复制代码 我直接umount后在挂着就提示- mount: you must specify the filesystem type
复制代码 每次遇到这情况都得重启之后再挂载才行,不过过一段时间又提示只读文件系统,不知道是什么原因造成的,
我想fsck修复一下这块数据盘,不知道有没有用? |
|