reading link:
html
特色
oracle
Red Hat does not support using GFS2 for cluster file system deployments greater than 16 nodes.
ide
However, the current supported maximum size of a GFS2 file system for 64-bit hardware is 100TB.工具
The current supported maximum size of a GFS2 file system for 32-bit hardware is 16TB性能
Asymmetric cluster configurations in which some nodes have access to the shared storage and others do not are not supported.ui
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.調試
With GFS2, you can add journals on the fly.code
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.orm
Newer versions of GFS2 include the fallocate
(1) system call, which you can use to preallocate blocks of data
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.
Mount Options: noatime and nodiratime
Security Enhanced Linux (SELinux) is highly recommended for security reasons in most situations, but it is not supported for use with GFS2.
Setting Up NFS Over GFS2
Samba (SMB or Windows) File Serving Over GFS2
Red Hat performs most quality, sanity, and performance tests on SAN storage with Fibre Channel interconnect
Suspending Activity on a File System
reltime
軟件包
根據文檔一步步走,應該問題不大。 須要注意將lvm的鎖類型lock_type=1改爲3,表示集羣鎖!
與ocfs2相比,一點感受而已:
- 這篇文檔寫得不錯,多了性能和調試相關的話題,說的比較接地氣;
- 易用性不如ocfs2;
- 限制多,gfs2說最多支持16結點,ocfs2說能支持64個結點; ocfs2的本地模式很方便; ocfs2的工具集組織,命名都比較正規,gfs2亂七八遭;
- ocfs2自帶原生DLM,即o2cb, 也支持dlm;
- gfs2貌似只有紅帽在玩,而ocfs2有oracle,SUSE, 華爲,華三幾個公司在玩;