Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
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 | 卸載檔案系統。 | ||||
|
| 檢查並修復未掛載的檔案系統。 | ||||
gfs_grow | gfs2_grow | 增大已掛載檔案系統的空間。 | ||||
gfs_jadd | gfs2_jadd | 為以掛載的檔案系統新增日誌。 | ||||
|
| 在儲存裝置上建立檔案系統。 | ||||
gfs_quota | gfs2_quota | 管理已掛載檔案系統的磁碟配額。 | ||||
gfs_tool | gfs2_tool | 設定、調整檔案系統,或蒐集其資訊。 | ||||
gfs_edit | gfs2_edit | 顯示、列印、或編輯檔案系統的內部結構。gfs2_edit 指令可以用在 GFS 與 GFS2 檔案系統上。 |
欲知 GFS2 檔案系統指令的完整支援選項,請參閱這些指令的 man page。