1.2. GFS 與​​​​​​​ GFS2 的​​​​​​​差​​​​​​​別​​​​​​​

本​​​​​​​節​​​​​​​列​​​​​​​出​​​​​​​了​​​​​​​從​​​​​​​ GFS 到​​​​​​​ GFS2 的​​​​​​​變​​​​​​​更​​​​​​​與​​​​​​​改​​​​​​​進​​​​​​​之​​​​​​​處​​​​​​​
Migrating from GFS to GFS2 requires that you convert your GFS file systems to GFS2 with the gfs2_convert utility. For information on the gfs2_convert utility, see 附錄 A, 將​​​​​​​ GFS 檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​轉​​​​​​​換​​​​​​​至​​​​​​​ GFS2.

1.2.1. GFS2 指​​​​​​​令​​​​​​​名​​​​​​​稱​​​​​​​

In general, the functionality of GFS2 is identical to GFS. The names of the file system commands, however, specify GFS2 instead of GFS. 表格 1.1, “GFS 與​​​​​​​ GFS2 指​​​​​​​令​​​​​​​” shows the equivalent GFS and GFS2 commands.

表格 1.1. GFS 與​​​​​​​ GFS2 指​​​​​​​令​​​​​​​

GFS 指​​​​​​​令​​​​​​​ GFS2 指​​​​​​​令​​​​​​​ 描​​​​​​​述​​​​​​​
mount mount 掛​​​​​​​載​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​。​​​​​​​系​​​​​​​統​​​​​​​會​​​​​​​決​​​​​​​定​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​是​​​​​​​ GFS 或​​​​​​​ GFS2。​​​​​​​欲​​​​​​​知​​​​​​​ GFS2 的​​​​​​​掛​​​​​​​載​​​​​​​選​​​​​​​項​​​​​​​,請​​​​​​​參​​​​​​​閱​​​​​​​ gfs2_mount(8) man page。​​​​​​​
umount umount 卸​​​​​​​載​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​。​​​​​​​
fsck
gfs_fsck
fsck
fsck.gfs2
檢​​​​​​​查​​​​​​​並​​​​​​​修​​​​​​​復​​​​​​​未​​​​​​​掛​​​​​​​載​​​​​​​的​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​。​​​​​​​
gfs_grow gfs2_grow 增​​​​​​​大​​​​​​​已​​​​​​​掛​​​​​​​載​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​的​​​​​​​空​​​​​​​間​​​​​​​。​​​​​​​
gfs_jadd gfs2_jadd 為​​​​​​​以​​​​​​​掛​​​​​​​載​​​​​​​的​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​新​​​​​​​增​​​​​​​日​​​​​​​誌​​​​​​​。​​​​​​​
gfs_mkfs
mkfs -t gfs
mkfs.gfs2
mkfs -t gfs2
在​​​​​​​儲​​​​​​​存​​​​​​​裝​​​​​​​置​​​​​​​上​​​​​​​建​​​​​​​立​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​。​​​​​​​
gfs_quota gfs2_quota 管​​​​​​​理​​​​​​​已​​​​​​​掛​​​​​​​載​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​的​​​​​​​磁​​​​​​​碟​​​​​​​配​​​​​​​額​​​​​​​。​​​​​​​
gfs_tool gfs2_tool 設​​​​​​​定​​​​​​​、​​​​​​​調​​​​​​​整​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​,或​​​​​​​蒐​​​​​​​集​​​​​​​其​​​​​​​資​​​​​​​訊​​​​​​​。​​​​​​​
gfs_edit gfs2_edit 顯​​​​​​​示​​​​​​​、​​​​​​​列​​​​​​​印​​​​​​​、​​​​​​​或​​​​​​​編​​​​​​​輯​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​的​​​​​​​內​​​​​​​部​​​​​​​結​​​​​​​構​​​​​​​。​​​​​​​gfs2_edit 指​​​​​​​令​​​​​​​可​​​​​​​以​​​​​​​用​​​​​​​在​​​​​​​ GFS 與​​​​​​​ GFS2 檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​上​​​​​​​。​​​​​​​
欲​​​​​​​知​​​​​​​ GFS2 檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​指​​​​​​​令​​​​​​​的​​​​​​​完​​​​​​​整​​​​​​​支​​​​​​​援​​​​​​​選​​​​​​​項​​​​​​​,請​​​​​​​參​​​​​​​閱​​​​​​​這​​​​​​​些​​​​​​​指​​​​​​​令​​​​​​​的​​​​​​​ man page。​​​​​​​