CompTIA
XK0-005 · Question #854
The systemd logs are disappearing after a restart, even though the free disk space is adequate. Which of the following is the cause of this behavior?
The correct answer is A. The option Storage=volatile is set in the journald configuration. When Storage=volatile is enabled, journal files are kept only in volatile memory (/run/log/journal) and are cleared on reboot, causing logs to disappear despite having sufficient disk space.
System Management
Question
The systemd logs are disappearing after a restart, even though the free disk space is adequate. Which of the following is the cause of this behavior?
Options
- AThe option Storage=volatile is set in the journald configuration
- BThe journald size limit has been exceeded
- CThe service systemd-journald is disabled and masked
- DThe directory /tmp does not have enough tree space
How the community answered
(43 responses)- A91% (39)
- B5% (2)
- C2% (1)
- D2% (1)
Explanation
When Storage=volatile is enabled, journal files are kept only in volatile memory (/run/log/journal) and are cleared on reboot, causing logs to disappear despite having sufficient disk space.
Topics
#systemd#journald#Logging#System Configuration
Community Discussion
No community discussion yet for this question.