| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 1M: System Administration Commands Oracle Solaris 11 Information Library |
- report free disk space on ufs file systems
df-F ufs [generic_options] [-o i] [directory |special]
df displays the amount of disk space occupied byufs file systems, theamount of used and available space, and how much of the filesystem's total capacity has been used.The amount of space reported as usedand available is less than the amount of space in the filesystem; this is because the system reserves a fraction of the space inthe file system to allow its file system allocation routines to workwell. The amount reserved is typically about 10%; this can be adjustedusingtunefs(1M). When all the space on the file system except for thisreserve is in use, only the superuser can allocate new files anddata blocks to existing files. When the file system is overallocated inthis way,df might report that the file system is more than100% utilized.If neitherdirectory norspecial is specified,df displays information forall mounted ufs file systems.
The following options are supported:
Options supported by the genericdf command. Seedf(1M) for a description of these options.
Specifyufs file system specific options. The available option is:
Report the number of used and free inodes. This option can not be used withgeneric_options.
list of file systems currently mounted
Seeattributes(5) for descriptions of the following attributes:
|
df(1M),fsck(1M),fstyp(1M),tunefs(1M),mnttab(4),attributes(5),ufs(7FS),
df calculates its results differently for mounted and unmounted file systems. Forunmounted systems, the numbers reflect the 10% reservation. This reservation is notreflected indf output for mounted file systems. For this reason, theavailable space reported by the generic command can differ from the available spacereported by this module.
df might report remaining capacity even thoughsyslog warnsfilesystem full. This issuecan occur becausedf only uses the available fragment count to calculateavailable space, but the file system requires contiguous sets of fragments for mostallocations.
If you suspect that you have exhausted contiguous fragments on your filesystem, you can use thefstyp(1M) utility with the-v option. Inthefstyp output, look at thenbfree (number of blocks free) andnffree(number of fragments free) fields. On unmounted filesystems, you can usefsck(1M)and observe the last line of output, which reports, among other items, thenumber of fragments and the degree of fragmentation. Seefsck(1M).
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |