PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Solaris(TM) 10 Operating System)
Contents Index PreviousNext

Appendix B Reference Manual> B.2 The GFS Shared File System Specific Management Commands

B.2.6 sfcinfo(1M) Display partition information

<SYNOPSIS>

sfcinfo [ -V ] [ -n ] { special | mount_point } [ { special | mount_point } ...]

sfcinfo [ -V ] [ -n ] -d dev[,dev...]

sfcinfo -a [ -V ] [ -n ]

sfcinfo [ -V ] [ -n ]

sfcinfo -e { special | mount_point }

sfcinfo -e [ -a ]

<DESCRIPTION>

sfcinfo displays the partition information, the GFS Shared File System specified by special or mount_point.

For special, specify one partition of the partitions making up the file system as a block special file name.

For mount_point, specify 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 special nor mount_point is specified and the -a option is omitted, sfcinfo displays the information on all GFS Shared File System being mounted in the command execution node.

Display item, content, and meaning:

<OPTIONS>

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.

-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.

<OPERANDS>

The following operands can be specified:

special

Specifies the path to a block special file for any one of partitions which are components of the file system.

mount_point

Specifies the mount point of the file system.

<EXAMPLES>

# sfcinfo /dev/sfdsk/gfs01/dsk/volume01 <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID special                                      size  Type  mount
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      14422  META  /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)       5116  LOG   /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      95112  DATA  /mnt
# sfcinfo -V /dev/sfdsk/gfs01/dsk/volume01 <Enter>
sfcfs v1.0 file system
/dev/sfdsk/gfs01/dsk/volume01:
FSID special                                      size  Type  mount
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      14422  META  /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)       5116  LOG   /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      95112  DATA  /mnt
# sfcinfo /mnt <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID special                                      size  Type  mount
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      14422  META  /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)       5116  LOG   /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      95112  DATA  /mnt
# sfcinfo -d 11500000021 <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID special                                      size  Type  mount
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      14422  META  /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)       5116  LOG   /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      95112  DATA  /mnt
# sfcinfo -n /dev/sfdsk/gfs01/dsk/volume01 <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID  hostID    status  hostname
   1  80000000  RUN     prime01
   1  80000001  STOP    prime02
# sfcinfo -a <Enter>
/dev/sfdsk/gfs01/dsk/volume01:
FSID special                                      size  Type  mount
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      14422  META  /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)       5116  LOG   /mnt
   1 /dev/sfdsk/gfs01/dsk/volume01(11500000021)      95112  DATA  /mnt
/dev/sfdsk/gfs01/dsk/volume02:
FSID special                                      size  Type  mount
   2 /dev/sfdsk/gfs01/dsk/volume02(11500000022)      25418  META  -----
   2 /dev/sfdsk/gfs01/dsk/volume02(11500000022)       5120  LOG   -----
   2 /dev/sfdsk/gfs01/dsk/volume02(11500000022)     232256  DATA  -----

<FILES>

/etc/mnttab

Mounted file system table

/etc/vfstab

List of default parameters for each file system

<SEE ALSO>

sfcadm(1M).

vfstab(4) in the "Solaris X Reference Manual Collection".


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006