PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Appendix B Reference Manual> B.1 Commands for Common File System Management

B.1.2 df_sfxfs(1M) - Reports the free disk area of the GFS Local File System

[SYNOPSIS]

df -F sfxfs [ generic_options ] [ -o specific_options ] [ directory | special ]

[DESCRIPTION]

The df command displays the number of free disk blocks and of free i-nodes within the GFS Local File System. Note that the total area that is reported as being used or being ready for use is smaller than the actual area for the entire file system. This is because the system reserves a certain part of the file system area that is to be used for processing purposes of the file system allocation routine. This reserved area is generally 10% of the entire available area, but this size can be adjusted by sfxtune(1M). If the entire file system area is used with the exception of the reserved area, only the superuser can allocate the data blocks of new and existing files. If excessive space is allocated for the file system area in this way, the df reports that the file system area is used by more than 100%.

The special file or mounting point name can be specified. If it is omitted, information on each of the mounted file systems is displayed.

When a file system is configured with two or more partitions by the multi-partition function, specify the special file name with the path name of the representative partition.

When the GFS Local File System is configured with two or more partitions, information on each partition can be displayed.

The option generic_options is supported by the generic df command.

See the description of df(1M) options.

[OPTIONS]

-a

This option outputs information on file systems including on file system for which the ignore option was set in the respective /etc/mnttab entry.

-b

This option outputs the usable size in kilobytes.

-e

This option outputs only the number of usable files.

-g

This option outputs the statvfs structure.

-k

This option outputs the allocation status in kilobytes.

-l

This option outputs information on local file systems only.

-n

This option outputs file system types only.

-t

This option outputs a complete list including total values.

-V

This option displays the command line, but does not execute the command.

-o

This option specifies sfxfs local options. Delimit these options with a comma ",".
i
This option reports the number of used and free i-nodes.
v
This option displays the information on each partition for a multi-partition configuration.

[EXAMPLES]

# df -F sfxfs -o v /mnt
Filesystem:/mnt
                      inodes    free   vdata   free    leaf    free   Type
/dev/sfdsk/gfs/dsk/vol0301
                       14248   12192    4781   4615    7128    7127    META
                      kbytes    used    free  %used
/dev/sfdsk/gfs/dsk/vol0301
                      113992   62664   51328    55%                     DATA
                      kbytes
/dev/sfdsk/gfs/dsk/vol0301
                        5120                                               LOG

# df -F sfxfs -o v /mnt Filesystem:/mnt inodes free vdata free leaf free Type /dev/sfdsk/gfs/dsk/vol0301 29686 27630 9922 9756 14848 14846 META kbytes used free %used /dev/sfdsk/gfs/dsk/vol0301 105752 31832 73920 30% DATA kbytes /dev/sfdsk/gfs/dsk/vol0500 5120 LOG kbytes used free %used /dev/sfdsk/gfs/dsk/vol0600 131736 30832 100904 23% DATA


[SEE ALSO]

sfxtune(1M), fs_sfxfs(4)

df(1M), mnttab(4), attributes(5).


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004