文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > RHCS官方中文版教程:Red Hat Enterprise Linux 5-全局文件系统 2
侵权投诉

RHCS官方中文版教程:Red Hat Enterprise Linux 5-全局文件系统 2

G

GFS2 文件系统命令支持选项的完整列表请参考那些命令的 man page。

1.2.2.GFS 和 GFS2 之间的其它不同之处

This section summarizes the additional differences in GFS and GFS2 administration that are not described in 1.2.1 “GFS2 ”.

上下文关联路径名

GFS2 file systems do not provide support for context-dependent path names, which allow you to create symbolic links that point to variable destination files or directories. For this functionality in GFS2, you can use the bind option of the mount command. For information on managing pathnames in GFS2, see 3.11 “”.

gfs2.ko 模块

使用 GFS 文件系统的内核模块是 gfs.ko。使用 GFS2 文件系统的内核模块是 gfs2.ko。

在 GFS2 中启用配额强制

In GFS2 file systems, quota enforcement is disabled by default and must be explicitly enabled. To enable and disable quotas for GFS2 file systems, you use the quota=on|off|account option for the mount command. For information on enabling and disabling quota enforcement, see 3.4.4 “/”.

数据日志

GFS2 file systems support the use of the chattr command to set and clear the j flag on a file or directory. Setting the +j flag on a file enables data journaling on that file. Setting the +j flag on a directory means "inherit jdata", which indicates that all files and directories subsequently created in that directory are journaled. Using the chattr command is the preferred way to enable and disable data journaling on a file.

动态添加日志

In GFS2 file systems, journals are plain (though hidden) files instead of embedded metadata. This means that journals can be dynamically added as additional servers mount a filesystem. For information on adding journals to a GFS2 file system, see 3.6 “”.

删除 atime_quantum 参数

GFS2 文件系统不支持 atime_quantum 可调节参数,GFS 文件系统可使用该参数指定 atime 更新的频率 。在 GFS2 中支持 relatime 和 noatime 挂载选项。建议您使用 relatime 挂载选项获得与在 GFS 中使 用 atime_quantum 参数时得到的类似行为。

mount 命令的 data= 选项

在挂载 GFS2 文件系统时,您可以指定 mount 命令的 data=ordered 或者 data=writeback 选项。当设定 data=ordered 时,传输中修改的用户数据会在传输被递交到磁盘前被冲入磁盘。这样可以让用户无法在 崩溃后的文件中看到未初始化的块。设定 data=writeback 时,用户数据会在磁盘有数据后的任何时候被 写入磁盘。这样无法提供 ordered 模式可提供的一致性保障,但对某些工作负载来说可稍微加快一些速 度。默认设置是 ordered 模式。

3

上一页第11页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email