# File System

Glances displays the used and total file system disk space. The unit is adapted dynamically.

Alerts are set for user disk space usage.

Legend:

User disk space usage | Status
--- | ---
`<50%` | `OK`
`>50%` | `CAREFUL`
`>70%` | `WARNING`
`>90%` | `CRITICAL`

Note

Limit values can be overwritten in the configuration file under the `[fs]` section.

By default, the plugin only displays physical devices (hard disks, USB keys). To allow other file system types, you have to enable them in the configuration file. For example, if you want to allow the `shm` file system:

    [fs]
    allow=shm

With the above configuration key, it is also possible to monitor NFS mount points (allow=nfs). Be aware that this can slow down the performance of the plugin if the NFS server is not reachable. In this case, the plugin will wait for a 2 seconds timeout.

Also, you can hide mount points using regular expressions.

To hide all mount points starting with /boot and /snap:

    [fs]
    hide=/boot.*,/snap.*

Filtering are also applied on device name (Glances 3.1.4 or higher).

It is also possible to configure a white list of devices to display. Example to only show /dev/sdb mount points:

    [fs]
    show=/dev/sdb.*

Filtering is based on regular expression. Please be sure that your regular expression works as expected. You can use an online tool like regex101 in order to test your regular expression.