Description\n-----------\n\nThe DISKS plugin creates the DISKS table in the INFORMATION_SCHEMA database. This table shows metadata about disks on the system, enabling monitoring of the disk space status. Accessing the INFORMATION_SCHEMA.DISKS table requires the FILE privilege.\n\nThe plugin is supported on Linux systems only.\n\nInstalling the Plugin\n\nAlthough the plugin's shared library is distributed with MariaDB by default, the plugin is not actually installed by MariaDB automatically. There are two methods that can be used to install the plugin with MariaDB.\n\nThe first method can be used to install the plugin without restarting the server. You can install the plugin dynamically by executing INSTALL SONAME or INSTALL PLUGIN:\n\n``sql\nINSTALL SONAME 'disks';\n`\n\nThe second method can be used to tell the server to load the plugin when it starts up. The plugin can be installed this way by providing the --plugin-load or the --plugin-load-add options. This can be provided as a command-line argument to mysqld or specified in a relevant server option group in an option file:\n\n`ini\n[mariadb]\n...\nplugin_load_add = disks\n``\n\nExamples\n--------\n\n  +-----------+-----------------------+-----------+----------+-----------+\n  | Disk      | Path                  | Total     | Used     | Available |\n  +-----------+-----------------------+-----------+----------+-----------+\n  | /dev/sda3 | /                     |  47929956 | 30666304 |  14805864 |\n  | /dev/sda1 | /boot/efi             |    191551 |     3461 |    188090 |\n  | /dev/sda4 | /home                 | 174679768 | 80335392 |  85448120 |\n  | /dev/sdb1 | /mnt/hdd              | 961301832 |    83764 | 912363644 |\n  | /dev/sdb1 | /home/wikman/Music    | 961301832 |    83764 | 912363644 |\n  | /dev/sdb1 | /home/wikman/Videos   | 961301832 |    83764 | 912363644 |\n  | /dev/sdb1 | /home/wikman/hdd      | 961301832 |    83764 | 912363644 |\n  | /dev/sdb1 | /home/wikman/Pictures | 961301832 |    83764 | 912363644 |\n  | /dev/sda3 | /var/lib/docker/aufs  |  47929956 | 30666304 |  14805864 |\n  +-----------+-----------------------+-----------+----------+-----------+\n  9 rows in set (0.00 sec)\n\nURL: https://mariadb.com/docs/server/reference/plugins/other-plugins/disks-plugin