首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux mount解决方案

2012-08-11 
linuxmountubuntu 11.10发行版在tty1 mount了下。发现如下信息/dev/sdb2 on /type ext5 (rw, errorsremoun

linux mount
ubuntu 11.10发行版

在tty1 mount了下。发现如下信息
/dev/sdb2 on /type ext5 (rw, errors=remount-ro, commit=0)
...

问:上一句中的括号里头erros=remount-ro和commit=0分别代表什么意思。
errors=remount-ro是说我挂载错误吗?

[解决办法]
man mount 
 
errors={continue|remount-ro|panic}
Define the behaviour when an error is encountered. (Either
ignore errors and just mark the filesystem erroneous and con‐
tinue, or remount the filesystem read-only, or panic and halt
the system.) The default is set in the filesystem superblock,
and can be changed using tune2fs(8).
重新挂在文件系统只读
[解决办法]
commit=nrsec
Sync all data and metadata every nrsec seconds. The default
value is 5 seconds. Zero means default.
同步所有数据和元数据每nrsec秒。默认是5秒。0意味着默认。
[解决办法]
errors={continue|remount-ro|panic}
Define the behaviour when an error is encountered. (Either ignore errors and just mark the filesystem erroneous and continue, or remount
the filesystem read-only, or panic and halt the system.)


[解决办法]
出错时,重新挂载为只读

热点排行