Este conteúdo não está disponível no idioma selecionado.
Chapter 3. Checking disk space by using IdM Healthcheck
You can monitor the free disk space on an Identity Management (IdM) server by using the Healthcheck tool.
3.1. Disk space healthcheck test Copiar o linkLink copiado para a área de transferência!
The Healthcheck tool includes the FileSystemSpaceCheck test for checking available disk space.
The test checks the following:
- The minimum raw free bytes needed.
- The percentage — the minimum free disk space is hardcoded to 20%.
The test checks the following paths:
| Paths checked by the test | Minimal disk space in MB |
|---|---|
|
| 1024 |
|
| 512 |
|
| 1024 |
|
| 512 |
|
| 512 |
|
| 512 |
Insufficient free disk space can cause issues with the following:
- Logging
- Execution
- Backups
You can find the FileSystemSpaceCheck test by running the ipa-healthcheck --list-sources command and identifying the ipahealthcheck.system.filesystemspace section in the output.
3.2. Screening disk space by using the Healthcheck tool Copiar o linkLink copiado para a área de transferência!
You can run a standalone manual test to check available disk space on an Identity Management (IdM) server by using the Healthcheck tool.
Procedure
To run the disk space test, enter:
# ipa-healthcheck --source=ipahealthcheck.system.filesystemspaceThe
--source=ipahealthcheck.meta.servicesoption ensures that IdM Healthcheck only performs the disk space test.A successful test displays empty brackets:
[]As an example, a failed test can display:
{ "source": "ipahealthcheck.system.filesystemspace", "check": "FileSystemSpaceCheck", "result": "ERROR", "kw": { "msg": "/var/lib/dirsrv: free space under threshold: 0 MiB < 1024 MiB", "store": "/var/lib/dirsrv", "free_space": 0, "threshold": 1024 } }This failed test informs you that no space is available in the
/var/lib/dirsrvdirectory.NoteRun this test on all IdM servers when trying to discover issues.