Blame doc/gfs2.txt

Packit Service 360c39
Global File System
Packit Service 360c39
------------------
Packit Service 360c39
Packit Service 360c39
http://sources.redhat.com/cluster/
Packit Service 360c39
Packit Service 360c39
GFS2 is a cluster file system. It allows a cluster of computers to
Packit Service 360c39
simultaneously use a block device that is shared between them (with FC,
Packit Service 360c39
iSCSI, NBD, etc).  GFS2 reads and writes to the block device like a local
Packit Service 360c39
file system, but also uses a lock module to allow the computers coordinate
Packit Service 360c39
their I/O so file system consistency is maintained.  One of the nifty
Packit Service 360c39
features of GFS2 is perfect consistency -- changes made to the file system
Packit Service 360c39
on one machine show up immediately on all other machines in the cluster.
Packit Service 360c39
Packit Service 360c39
GFS2 uses interchangable inter-node locking mechanisms. The currently
Packit Service 360c39
supported methods are:
Packit Service 360c39
Packit Service 360c39
  lock_nolock -- does no real locking and allows gfs to be used as a
Packit Service 360c39
  local file system
Packit Service 360c39
Packit Service 360c39
  lock_dlm -- uses a distributed lock manager (dlm) for inter-node locking
Packit Service 360c39
  The dlm is found at linux/fs/dlm/
Packit Service 360c39
Packit Service 360c39
Lock_dlm depends on user space cluster management systems found
Packit Service 360c39
at the URL above.
Packit Service 360c39
Packit Service 360c39
To use GFS2 as a local file system, no external clustering systems are
Packit Service 360c39
needed, simply:
Packit Service 360c39
Packit Service 360c39
  $ gfs2_mkfs -p lock_nolock -j 1 /dev/block_device
Packit Service 360c39
  $ mount -t gfs2 /dev/block_device /dir
Packit Service 360c39
Packit Service 360c39
GFS2 is not on-disk compatible with previous versions of GFS, but it does
Packit Service 360c39
use a very smilar on-disk format, so that upgrading a filesystem can be
Packit Service 360c39
done in place and makes relatively few changes. Upgrading a filesystem
Packit Service 360c39
to GFS2 is not currently reversible.
Packit Service 360c39
Packit Service 360c39
The following man pages can be found at the URL above:
Packit Service 360c39
  mkfs.gfs2	to make a filesystem
Packit Service 360c39
  fsck.gfs2	to repair a filesystem
Packit Service 360c39
  gfs2_grow	to expand a filesystem online
Packit Service 360c39
  gfs2_jadd	to add journals to a filesystem online
Packit Service 360c39
  gfs2_tool	to manipulate, examine and tune a filesystem
Packit Service 360c39
  gfs2_quota	to examine and change quota values in a filesystem
Packit Service 360c39
  gfs2_convert	to convert a gfs filesystem to gfs2
Packit Service 360c39
  mount.gfs2	to find mount options
Packit Service 360c39