2016-03-02 15:29:19 +03:00
|
|
|
.. _fs:
|
|
|
|
|
|
|
|
File System
|
|
|
|
===========
|
|
|
|
|
|
|
|
.. image:: ../_static/fs.png
|
|
|
|
|
|
|
|
Glances displays the used and total file system disk space. The unit is
|
|
|
|
adapted dynamically.
|
|
|
|
|
|
|
|
Alerts are set for used disk space.
|
|
|
|
|
|
|
|
Legend:
|
|
|
|
|
|
|
|
=========== ============
|
|
|
|
Disk usage Status
|
|
|
|
=========== ============
|
|
|
|
``<50%`` ``OK``
|
|
|
|
``>50%`` ``CAREFUL``
|
|
|
|
``>70%`` ``WARNING``
|
|
|
|
``>90%`` ``CRITICAL``
|
|
|
|
=========== ============
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
Limit values can be overwritten in the configuration file under
|
|
|
|
the ``[filesystem]`` 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 ``zfs`` file
|
|
|
|
system:
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[fs]
|
|
|
|
allow=zfs
|
|
|
|
|
|
|
|
Also, you can hide mount points as well (in the following ``/boot``):
|
|
|
|
|
2020-02-27 15:56:06 +03:00
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
2020-06-07 18:14:51 +03:00
|
|
|
[fs]
|
|
|
|
hide=/boot.*
|
|
|
|
|
2020-02-27 15:56:06 +03:00
|
|
|
Filtering can also be done on device name (Glances 3.1.4 or higher):
|
|
|
|
|
2016-03-02 15:29:19 +03:00
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[fs]
|
2020-02-27 15:56:06 +03:00
|
|
|
hide=/dev/sdb2
|
2016-03-02 15:29:19 +03:00
|
|
|
|
|
|
|
RAID
|
|
|
|
----
|
|
|
|
|
|
|
|
*Availability: Linux*
|
|
|
|
|
|
|
|
Thanks to the `pymdstat`_ library, if a ``RAID`` controller is detected
|
2018-07-07 19:45:42 +03:00
|
|
|
on your system, its status will be displayed as well:
|
2016-03-02 15:29:19 +03:00
|
|
|
|
|
|
|
.. image:: ../_static/raid.png
|
|
|
|
|
|
|
|
.. _pymdstat: https://github.com/nicolargo/pymdstat
|