1.3. 设定 GFS2 前


在您安装和设定 GFS2 之前,请记录您的 GFS2 文件系统的以下重要特性:
GFS 节点
Determine which nodes in the cluster will mount the GFS2 file systems.
文件系统数
决定最初创建多少个 GFS2 文件系统(以后可以添加更多的文件系统)。
文件系统名称
Determine a unique name for each file system. The name must be unique for all lock_dlm file systems over the cluster. Each file system name is required in the form of a parameter variable. For example, this book uses file system names mydata1 and mydata2 in some example procedures.
日志
Determine the number of journals for your GFS2 file systems. One journal is required for each node that mounts a GFS2 file system. GFS2 allows you to add journals dynamically at a later point as additional servers mount a file system. For information on adding journals to a GFS2 file system, see 第 3.6 节 “Adding Journals to a GFS2 File System”.
存储设备和分区
Determine the storage devices and partitions to be used for creating logical volumes (using CLVM) in the file systems.
Time protocol
Make sure that the clocks on the GFS2 nodes are synchronized. It is recommended that you use the Precision Time Protocol (PTP) or, if necessary for your configuration, the Network Time Protocol (NTP) software provided with your Red Hat Enterprise Linux distribution.

注意

The system clocks in GFS2 nodes must be within a few minutes of each other to prevent unnecessary inode time stamp updating. Unnecessary inode time stamp updating severely impacts cluster performance.

注意

当同时在同一个目录中进行多个生成和删除操作时,您可能会看到 GFS2 的性能下降。如果这导致您系统性能出现问题,您应该尽量将某个节点中的文件生成和删除定位到特定目录。
For further recommendations on creating, using, and maintaining a GFS2 file system. see 第 2 章 GFS2 Configuration and Operational Considerations.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.