···11+Global File System22+------------------33+44+http://sources.redhat.com/cluster/55+66+GFS is a cluster file system. It allows a cluster of computers to77+simultaneously use a block device that is shared between them (with FC,88+iSCSI, NBD, etc). GFS reads and writes to the block device like a local99+file system, but also uses a lock module to allow the computers coordinate1010+their I/O so file system consistency is maintained. One of the nifty1111+features of GFS is perfect consistency -- changes made to the file system1212+on one machine show up immediately on all other machines in the cluster.1313+1414+GFS uses interchangable inter-node locking mechanisms. Different lock1515+modules can plug into GFS and each file system selects the appropriate1616+lock module at mount time. Lock modules include:1717+1818+ lock_nolock -- allows gfs to be used as a local file system1919+2020+ lock_dlm -- uses a distributed lock manager (dlm) for inter-node locking2121+ The dlm is found at linux/fs/dlm/2222+2323+In addition to interfacing with an external locking manager, a gfs lock2424+module is responsible for interacting with external cluster management2525+systems. Lock_dlm depends on user space cluster management systems found2626+at the URL above.2727+2828+To use gfs as a local file system, no external clustering systems are2929+needed, simply:3030+3131+ $ gfs2_mkfs -p lock_nolock -j 1 /dev/block_device3232+ $ mount -t gfs2 /dev/block_device /dir3333+3434+GFS2 is not on-disk compatible with previous versions of GFS.3535+3636+The following man pages can be found at the URL above:3737+ gfs2_mkfs to make a filesystem3838+ gfs2_fsck to repair a filesystem3939+ gfs2_grow to expand a filesystem online4040+ gfs2_jadd to add journals to a filesystem online4141+ gfs2_tool to manipulate, examine and tune a filesystem4242+ gfs2_quota to examine and change quota values in a filesystem4343+ mount.gfs2 to find mount options4444+