文档章节

读gfs2官方文档

认真即可
 认真即可
发布于 2015/12/07 19:05
字数 447
阅读 205
收藏 0

reading link:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Global_File_System_2/ch-overview-GFS2.html#s1-ov-newfeatures-GFS2

特点

  1. Red Hat does not support using GFS2 for cluster file system deployments greater than 16 nodes.

  2. However, the current supported maximum size of a GFS2 file system for 64-bit hardware is 100TB.

  3. The current supported maximum size of a GFS2 file system for 32-bit hardware is 16TB

  4. Asymmetric cluster configurations in which some nodes have access to the shared storage and others do not are not supported.

  5. The rule of thumb with GFS2 is that smaller is better: it is better to have 10 1TB file systems than one 10TB file system.

  6. With GFS2, you can add journals on the fly.

  7. While there is no defragmentation tool for GFS2 on Red Hat Enterprise Linux, you can defragment individual files by identifying them with the filefrag tool, copying them to temporary files, and renaming the temporary files to replace the originals.

  8. Newer versions of GFS2 include the fallocate(1) system call, which you can use to preallocate blocks of data

  9. Red Hat recommends that you allow a period of around 8-12 weeks of testing on new installations in order to test the system and ensure that it is working at the required performance level.

  10.    Mount Options: noatime and nodiratime

  11. Security Enhanced Linux (SELinux) is highly recommended for security reasons in most situations, but it is not supported for use with GFS2.

  12. Setting Up NFS Over GFS2

  13. Samba (SMB or Windows) File Serving Over GFS2

  14. Red Hat performs most quality, sanity, and performance tests on SAN storage with Fibre Channel interconnect

  15. Suspending Activity on a File System

  16. reltime


软件包

根据文档一步步走,应该问题不大。 需要注意将lvm的锁类型lock_type=1改成3,表示集群锁!


与ocfs2相比,一点感觉而已:

- 这篇文档写得不错,多了性能和调试相关的话题,说的比较接地气;

- 易用性不如ocfs2;

- 限制多,gfs2说最多支持16结点,ocfs2说能支持64个结点; ocfs2的本地模式很方便; ocfs2的工具集组织,命名都比较正规,gfs2乱七八遭;

- ocfs2自带原生DLM,即o2cb, 也支持dlm;

- gfs2貌似只有红帽在玩,而ocfs2有oracle,SUSE, 华为,华三几个公司在玩;


© 著作权归作者所有

共有 人打赏支持
认真即可
粉丝 5
博文 92
码字总数 46839
作品 0
朝阳
程序员
私信 提问
A look inside gfs2

Intro GFS2 and OCFS2 are 2 cluster filesystems in linux kernel. We also support GFS2, though most of our customers use OCFS2 as we recommend. Last hackweek, from a user perspect......

认真即可
2016/06/28
10
0
Linux Kernel 4.2 RC1 发布

Linux Kernel 4.2-RC1 发布: mainline: 4.2-rc1 2015-07-05 [tar.xz] [pgp] [patch] [view diff] [browse] 主要改进: HID: wacom: Add support for DTU-1141 gfs2: handle NULL rgd in se......

oschina
2015/07/06
1K
5
【HA】RHCS + IB + ISCSI+ext4/gfs2

封装虚拟机BASE(母机): 1. 删除自启动项 /etc/udev/rules.d/70-persistent-net.rules 这样网络设备就为eth0,而不是eth1 2. 更改网络配置文件 vi /etc/sysconfig/selinux 设置为不启用 3. 禁...

千树一木
2017/02/18
0
0
436挂载gfs2文件系统错误

格式gfs2文件系统: 2. 手动挂载 出现了上面的报错,查看日志 经过分析,是格式化gfs2时集群名字指定错了。 3. 重新指定正确的集群名字(test-cluster),再次格式化 4、再次尝试挂载 成功挂载...

zjycff
2014/10/11
0
0
RHCS图形界面建立GFS共享中

六、安装存储管理管理软件,并导出磁盘 [root@manager ~]# fdisk /dev/xvdc \存储节点挂有磁盘,空间1T [root@manager ~]# yum installscsi-target-utils -y \安装target管理端 [root@manage...

zsaisai
2015/05/28
0
0

没有更多内容

加载失败,请刷新页面

加载更多

intellJ IDEA搭建java+selenium自动化环境(maven,selenium,testng)

1.安装jdk1.8; 2.安装intellJ; 3.安装maven; 3.1 如果是单前用户,配置用户环境变量即可,如果是多用户,则需配置系统环境变量,变量名为MAVEN_HOME,赋值D:\Application\maven,往path中...

不最醉不龟归
46分钟前
2
0
聊聊ShenandoahGC的Brooks Pointers

序 本文主要研究一下ShenandoahGC的Brooks Pointers Shenandoah Shenandoah面向low-pause-time的垃圾收集器,它的GC cycle主要有 Snapshot-at-the-beginning concurrent mark包括Init Mark(P......

go4it
昨天
2
0
Makefile通用编写规则

#简单实用的Makefile模板: objs := a.o b.o test:$(objs) gcc -o test $^ # .a.o.d .b.o.d dep_files := $(foreach f,$(objs),.$(f).d) dep_files := $(wildcard $(dep_files)) ifneq ($(d......

shzwork
昨天
1
0
《万历十五年》的读后感作文4000字

《万历十五年》的读后感作文4000字: 万历十五年,即1587年,距今已过去432年。在明朝276的历史中,这一年很平淡,并没有什么特别之处。黄仁宇的《万历十五年》一书,有别于其他的历史叙述方...

原创小博客
昨天
1
0
vue组件系列4、Table封装下

知道了slot 怎么用,才可以理解table这样封装的原因 table插件部分 <template> <div> <!-- 关键字部分 --> <div class="pre_search" v-show="show_key"> <label>关键字:......

轻轻的往前走
昨天
2
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部