1.3. Differences between GFS and GFS2
This section lists the improvements and changes that GFS2 offers over GFS.
1.3.1. GFS2 Command Names
In general, the functionality of GFS2 is identical to GFS. The names of the file system commands, however, specify GFS2 instead of GFS.
Table 1.1, “GFS and GFS2 Commands” shows the equivalent GFS and GFS2 commands.
Table 1.1. GFS and GFS2 Commands
GFS Command
|
GFS2 Command
|
Description
|
---|
mount
|
mount
|
Mount a file system. The system can determine whether the file system is a GFS or GFS2 file system type. For information on the GFS2 mount options see the gfs2_mount(8) man page.
|
umount
|
umount
|
Unmount a file system.
|
|
|
Check and repair an unmounted file system.
|
gfs_grow
|
gfs2_grow
|
Grow a mounted file system.
|
gfs_jadd
|
gfs2_jadd
|
Add a journal to a mounted file system
|
|
|
Create a file system on a storage device.
|
gfs_quota
|
gfs2_quota
|
Manage quotas on a mounted file system.
|
gfs_tool
|
gfs2_tool
|
Configure, tune, or gather information about a file system.
|
gfs_edit
|
gfs2_edit
|
Display, print, or edit file system internal structures. The gfs2_edit command can be used for GFS file systems as well as GFS2 file system.
|
gfs_tool setflag jdata/inherit_jdata
|
chattr +j (preferred)
|
Enable journaling on a file or directory.
|
setfacl/getfacl
|
setfacl/getfacl
|
Set or get file access control list for a file or directory.
|
setfattr/getfattr
|
setfattr/getfattr
|
Set or get the extended attributes of a file.
|
For a full listing of the supported options for the GFS2 file system commands, see the man pages for those commands.