テーマ: disk
-
Log retention and disk budgeting on a host: journald, logrotate and Windows event log sizing
journald's SystemMaxUse caps the journal's own disk footprint, logrotate's maxage and rotate counts cap rotated files elsewhere, and wevtutil sl sets a Windows event log's maximum size. All three are disk-budgeting settings the operator or an agent chooses; how long records must be kept for legal or organisational reasons is a policy decision this article does not make.
-
Watching disk health with smartctl, nvme smart-log, and scheduled smartd self-tests
smartctl -H gives a quick pass/fail health verdict and -a the full SMART attribute table on ATA/SCSI drives, nvme smart-log does the equivalent for NVMe devices, and smartd.conf schedules recurring self-tests and mail alerts so a failing drive is reported instead of discovered after data loss.
機械可読: JSON