PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Appendix F Reference Manual | > F.2 Management Commands Specific to the GFS Shared File System |
sfcinfo [ -V ] [ -n | -N ] { block_special | mount_point } [ { block_special | mount_point } ...]
sfcinfo [ -V ] [ -n | -N ] -d dev[,dev,... ]
sfcinfo -a [ -V ] [ -n | -N ]
sfcinfo -q { block_special | mount_point } [ { block_special | mount_point } ...]
sfcinfo -q [ -a ]
sfcinfo -e { block_special | mount_point }
sfcinfo -e [ -a ]
sfcinfo -c { block_special | mount_point } [ { block_special | mount_point } ...]
sfcinfo -c [ -a ]
sfcinfo displays the partition information, the MDS (metadata server) placing information, and the quota function setting status of the GFS Shared File System specified by block_special or mount_point.
block_special specifies one partition of the partitions making up the file system as a block special file name. The first partition displayed in the output results is the representative partition of the file system.
mount_point specifies the path name of the mount point of the file system. To specify the mount point path name, the file system must already be specified in /etc/vfstab.
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 partition information in each partition. The partition information relates to the partition group making up the file system. sfcinfo outputs the following detailed information:
[Partition information]
[Node information]
[quota setting 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 host 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 tuning information set by sfcadm(1M).
-n
Displays node information.
If no parameters are specified, the information for all mounted file systems is displayed.
-N
Plurality node information including a LAN setup is displayed. When an argument has not been set up, the information all mounted file systems are displayed.
-q
Displays the setting status of the current quota function. on indicates that the quota is valid. off indicates that the quota is invalid. off-on indicates that the function setting is being changed by sfcquotaon(1M). on-off indicates that the function setting is being changed by sfcquotaoff(1M).
The following operand can be specified:
block_special | mount_point
Specifies a block-special device for the representative partition or the mount point of the file system.
# sfcinfo /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 6578704 DATA /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 51200 LOG /mnt# sfcinfo -V /dev/sfdsk/gfs/dsk/volume1 sfcfs v1.1 file system /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 6578704 DATA /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 51200 LOG /mnt
# sfcinfo /mnt /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 6578704 DATA /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 51200 LOG /mnt
# sfcinfo -d 3f40021 /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 6578704 DATA /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 51200 LOG /mnt
# sfcinfo -n /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID hostID status hostname 1 809f3901 RUN prime01 1 80a75644 STOP prime02
# sfcinfo -a /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 711874 META ----- 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 6578704 DATA ----- 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 51200 LOG -----
/dev/sfdsk/gfs/dsk/volume2: FSID special size Type mount 2 /dev/sfdsk/gfs/dsk/volume2(3f40022) 25418 META /mnt2 2 /dev/sfdsk/gfs/dsk/volume2(3f40022) 232256 DATA /mnt2 2 /dev/sfdsk/gfs/dsk/volume2(3f40023) 5120 LOG /mnt2 2 /dev/sfdsk/gfs/dsk/volume3(3f40023) 262794 META /mnt2 2 /dev/sfdsk/gfs/dsk/volume4(3f40024) 7341778 DATA /mnt2
Example of displaying the quota status
# sfcinfo -q /dev/sfdsk/gfs/dsk/volume1 FSID special quota mount 1 /dev/sfdsk/gfs/dsk/volume1 off -----# sfcinfo -q /mnt2 FSID special quota mount 2 /dev/sfdsk/gfs/dsk/volume2 on /mnt2
# sfcinfo -q -a FSID special quota mount 1 /dev/sfdsk/gfs/dsk/volume1 off ----- 2 /dev/sfdsk/gfs/dsk/volume2 on /mnt2
Example of display when a file data partition is being added
# sfcinfo /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID special size Type mount 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 711874 META /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 6578704 DATA /mnt 1 /dev/sfdsk/gfs/dsk/volume1(3f40021) 51200 LOG /mnt 1 /dev/sfdsk/gfs/dsk/volume7( ---- ) 0 DATA /mnt TRANSIT(add)
Example of display when the node is being added.
# sfcinfo -n /dev/sfdsk/gfs/dsk/volume1 /dev/sfdsk/gfs/dsk/volume1: FSID hostID status hostname 1 809f3901 RUN prime01 1 80a75644 RUN prime02 1 80b37302 STOP prime03 TRANSIT(add)
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
0 Normal exit.
1 An argument is not right.
33 The specified special file is not the GFS Shared File System.
/etc/mnttab
Mounted file system table
/etc/vfstab
List of default parameters for each file system
sfcadd(1M), sfcadm(1M), sfcnode(1M), sfcquotaon(1M).
mnttab(4), vfstab(4) in the "Solaris X Reference Manual Collection."
Contents Index |