For each file system, there are two different types of management commands, namely, the general purpose management commands and the system specific management commands. The general purpose management commands that provided by Solaris OS are used for basic functions and the system specific commands are called by specifying options or file system types.
The GFS Shared File System features an exclusive management commands that act as the general purpose management command and the system specific management command for the GFS Shared File System's original functions.
Specify "sfcfs" for -F option as a file system type when using the general purpose management command to a GFS Shared File System. If you omit the -F option, a search is made of those entries matched with "special" or "mount_point" in /etc/vfstab after which the registered file system types are automatically selected.
The following shows lists of file system management commands provided by the GFS. The lists show description of each command function and whether each command can be used when the target file system is in the mount or unmount state.
Command | Description | Used in mount state | Used in unmount state |
---|---|---|---|
df(1M) | Displays the number of free disk blocks, number of files, etc. | A | A |
fsck(1M) | Checks a file system for consistency and repairs it. | N/A | A |
fstyp(1M) | Determines the file system type. | A | A |
mkfs(1M) | Creates a file system. | A | A |
mount(1M) | Mounts a file system. | N/A | A |
umount(1M) | Unmounts a file system. | A | N/A |
A: Applicable, N/A: Not applicable
See
For details of the general-purpose management commands, see each command's page of the Solaris documentation.
Command | Description | Used in mount state | Used in unmount state |
---|---|---|---|
sfcadd(1M) | Adds file data partitions. | N/A | A |
sfcadm(1M) | Changes partition information setting. | N/A | A |
sfcfrmstart(1M) | Starts sfcfrmd daemon on a local node. | N/A | A |
sfcfrmstop(1M) | Stops sfcfrmd daemon on a local node. | N/A | A |
sfcgetconf(1M) | Makes a backup of the management partition. | A | A |
sfcinfo(1M) | Displays partition information. | A | A |
sfcmntgl(1M) | Mounts the GFS Shared File System on all nodes. | A | A |
sfcnode(1M) | Adds, deletes, and changes node configuration information. | N/A | A |
sfcrscinfo(1M) | Displays file system information. | A | A |
sfcsetup(1M) | Initializes the management partition, adds, deletes, and displays node information, displays a path of the management partition, and registers and displays the startup mode of the sfcfrmd daemon. | A | A |
sfcstat(1M) | Reports statistical information of a GFS Shared File System. | A | N/A |
sfcumntgl(1M) | Unmounts the GFS Shared File System from all nodes. | A | A |
GFS: Global File Services
A: Applicable, N/A: Not applicable
*1) An error occurs when all nodes are in the mount state.
*2) The following options can be used in the mount state.
-p option
-m option without argument
No option