1df_ufs(1M) System Administration Commands df_ufs(1M)
2
3
4
6 df_ufs - report free disk space on ufs file systems
7
9 df -F ufs [generic_options] [-o i] [directory | special]
10
11
13 df displays the amount of disk space occupied by ufs file systems, the
14 amount of used and available space, and how much of the file system's
15 total capacity has been used.The amount of space reported as used and
16 available is less than the amount of space in the file system; this is
17 because the system reserves a fraction of the space in the file system
18 to allow its file system allocation routines to work well. The amount
19 reserved is typically about 10%; this can be adjusted using tunefs(1M).
20 When all the space on the file system except for this reserve is in
21 use, only the superuser can allocate new files and data blocks to
22 existing files. When the file system is overallocated in this way, df
23 might report that the file system is more than 100% utilized.If neither
24 directory nor special is specified, df displays information for all
25 mounted ufs file systems.
26
28 The following options are supported:
29
30 generic_options Options supported by the generic df command. See
31 df(1M) for a description of these options.
32
33
34 -o Specify ufs file system specific options. The avail‐
35 able option is:
36
37 i Report the number of used and free inodes. This
38 option can not be used with generic_options.
39
40
41
43 /etc/mnttab list of file systems currently mounted
44
45
47 See attributes(5) for descriptions of the following attributes:
48
49
50
51
52 ┌─────────────────────────────┬─────────────────────────────┐
53 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │Availability │SUNWcsu, SUNWxcu4 │
56 └─────────────────────────────┴─────────────────────────────┘
57
59 df(1M), fsck(1M), fstyp(1M), tunefs(1M), mnttab(4), attributes(5),
60 ufs(7FS),
61
63 df calculates its results differently for mounted and unmounted file
64 systems. For unmounted systems, the numbers reflect the 10% reserva‐
65 tion. This reservation is not reflected in df output for mounted file
66 systems. For this reason, the available space reported by the generic
67 command can differ from the available space reported by this module.
68
69
70 df might report remaining capacity even though syslog warns filesystem
71 full. This issue can occur because df only uses the available fragment
72 count to calculate available space, but the file system requires con‐
73 tiguous sets of fragments for most allocations.
74
75
76 If you suspect that you have exhausted contiguous fragments on your
77 file system, you can use the fstyp(1M) utility with the -v option. In
78 the fstyp output, look at the nbfree (number of blocks free) and nffree
79 (number of fragments free) fields. On unmounted filesystems, you can
80 use fsck(1M) and observe the last line of output, which reports, among
81 other items, the number of fragments and the degree of fragmentation.
82 See fsck(1M).
83
84
85
86SunOS 5.11 25 Feb 2005 df_ufs(1M)