Commit e9ccb73ab57ada469602506496c42e5b4468ac3e

Authored by Steven Whitehouse
1 parent fe64d517df

GFS2: Update docs

Update a few things which were out of date, and fix a typo.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

Showing 2 changed files with 12 additions and 9 deletions Side-by-side Diff

Documentation/filesystems/gfs2-glocks.txt
... ... @@ -60,7 +60,7 @@
60 60 go_unlock | Called on the final local unlock of a lock
61 61 go_dump | Called to print content of object for debugfs file, or on
62 62 | error to dump glock to the log.
63   -go_type; | The type of the glock, LM_TYPE_.....
  63 +go_type | The type of the glock, LM_TYPE_.....
64 64 go_min_hold_time | The minimum hold time
65 65  
66 66 The minimum hold time for each lock is the time after a remote lock
Documentation/filesystems/gfs2.txt
... ... @@ -11,18 +11,15 @@
11 11 features of GFS is perfect consistency -- changes made to the file system
12 12 on one machine show up immediately on all other machines in the cluster.
13 13  
14   -GFS uses interchangable inter-node locking mechanisms. Different lock
15   -modules can plug into GFS and each file system selects the appropriate
16   -lock module at mount time. Lock modules include:
  14 +GFS uses interchangable inter-node locking mechanisms, the currently
  15 +supported mechanisms are:
17 16  
18 17 lock_nolock -- allows gfs to be used as a local file system
19 18  
20 19 lock_dlm -- uses a distributed lock manager (dlm) for inter-node locking
21 20 The dlm is found at linux/fs/dlm/
22 21  
23   -In addition to interfacing with an external locking manager, a gfs lock
24   -module is responsible for interacting with external cluster management
25   -systems. Lock_dlm depends on user space cluster management systems found
  22 +Lock_dlm depends on user space cluster management systems found
26 23 at the URL above.
27 24  
28 25 To use gfs as a local file system, no external clustering systems are
29 26  
30 27  
31 28  
... ... @@ -31,14 +28,20 @@
31 28 $ mkfs -t gfs2 -p lock_nolock -j 1 /dev/block_device
32 29 $ mount -t gfs2 /dev/block_device /dir
33 30  
34   -GFS2 is not on-disk compatible with previous versions of GFS.
  31 +If you are using Fedora, you need to install the gfs2-utils package
  32 +and, for lock_dlm, you will also need to install the cman package
  33 +and write a cluster.conf as per the documentation.
35 34  
  35 +GFS2 is not on-disk compatible with previous versions of GFS, but it
  36 +is pretty close.
  37 +
36 38 The following man pages can be found at the URL above:
37   - gfs2_fsck to repair a filesystem
  39 + fsck.gfs2 to repair a filesystem
38 40 gfs2_grow to expand a filesystem online
39 41 gfs2_jadd to add journals to a filesystem online
40 42 gfs2_tool to manipulate, examine and tune a filesystem
41 43 gfs2_quota to examine and change quota values in a filesystem
  44 + gfs2_convert to convert a gfs filesystem to gfs2 in-place
42 45 mount.gfs2 to help mount(8) mount a filesystem
43 46 mkfs.gfs2 to make a filesystem