PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Linux) |
Contents
Index
![]() ![]() |
Appendix B Reference Manual | > B.2 GFS Shared File System Specific Management Commands |
sfcinfo [-V] [-n] {block_special|mount_point} [{block_special|mount_point}...]
sfcinfo [-V] [-n] -d dev[,dev,...]
sfcinfo -a [-V][-n]
sfcinfo -c {block_special|mount_point} [{block_special|mount_point}...]
sfcinfo -c [-a]
sfcinfo -e {block_special|mount_point}
sfcinfo -e [-a]
sfcinfo displays the partition information and the MDS (metadata server) placing information of the GFS Shared File System specified by block_special or mount_point.
block_special indicates the partition configuring the file system by a block special device name.
mount_point indicates the path to the mount point of the file system. To use the path to the mount point, the file system must already be described in /etc/fstab.
If neither block_special nor mount_point is specified and the -a option is omitted, sfcinfo displays the information on all GFS Shared File Systems being mounted in the command execution node.
The GFS Shared File System retains information on the partition configuring the file system. sfcinfo outputs the following detailed information.
[Partition information]
[Node information]
[MDS placing information]
The following options can be specified:
-V
Displays the version of the GFS Shared File System.
-a
Displays the information for all file systems described in the file system configure information in a management partition.
-c
Displays the node names of placing MDS (meta-data server).
-d dev[,dev,...]
Specifies a device number in hexadecimal for the partition to be displayed.
Use a comma delimiter to specify multiple device numbers.
-e
Displays file system variables set by sfcadm(8).
-n
Displays node information.
If no parameters are specified, the information for all mounted file systems is displayed.
The following operand can be specified:
mount_point|block_special
Specifies a block special device on the partition configuring the file system or the path to the mount point of the file system. Use a space delimiter to specify multiple block special devices or paths.
# sfcinfo /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(e721) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(e721) 51200 LOG /mnt 1 /dev/sfdsk/gfs/dsk/volume1(e721) 6578704 DATA /mnt # sfcinfo -V /dev/sfdsk/gfs/dsk/volume1 sfcfs v1.0 file system /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(e721) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(e721) 51200 LOG /mnt 1 /dev/sfdsk/gfs/dsk/volume1(e721) 6578704 DATA /mnt # sfcinfo /mnt /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(e721) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(e721) 51200 LOG /mnt 1 /dev/sfdsk/gfs/dsk/volume1(e721) 6578704 DATA /mnt # sfcinfo -d e701 /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(e721) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(e721) 51200 LOG /mnt 1 /dev/sfdsk/gfs/dsk/volume1(e721) 6578704 DATA /mnt # sfcinfo -n /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID hostID status hostname 1 80000000 RUN prime01 2 80000001 STOP prime02 # sfcinfo -a /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(e721) 711874 META ----- 1 /dev/sfdsk/gfs/dsk/volume1(e721) 51200 LOG ----- 1 /dev/sfdsk/gfs/dsk/volume1(e721) 6578704 DATA ----- /dev/sfdsk/gfs/dsk/volume2: FSID special size Type mount 2 /dev/sfdsk/gfs/dsk/volume2(e722) 25418 META /mnt2 2 /dev/sfdsk/gfs/dsk/volume2(e722) 5120 LOG /mnt2 2 /dev/sfdsk/gfs/dsk/volume2(e722) 232256 DATA /mnt2
Example of displaying the MDS placing information:
# sfcinfo -c /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: node=node1,node2,node3,node4 mdsnode=all # sfcinfo -c /dev/sfdsk/gfs/dsk/volume2 /dev/sfdsk/gfs/dsk/volume2: node=node1,node2,node3
/etc/mtab
Mounted file system table
/etc/fstab
List of default parameters for each file system
fstab(5) in the online manual.
Contents
Index
![]() ![]() |