$ for i in /dev/disk/by-id/ata-WD*; do sudo smartctl --all $i | grep Power_On_Hours; done
9 Power_On_Hours 0x0032 030 030 000 Old_age Always - 51534
9 Power_On_Hours 0x0032 033 033 000 Old_age Always - 49499
vegetaaaaaaa
Follow the official documentation, nothing else comes close.
I have automated this process in my nextcloud ansible role
- simple: rsyslog: all local logs to a central syslog file (using the
imfile
module), all syslogsfrom all server to a central rsyslog server (over TCP/SSL, example here). Uselnav
or something similar to consume the logs - more complex, resource-heavy: Graylog Open as a replacement for the central rsyslog server, setup pipelines/alerts/whatever... Currently considering replacing my Graylog instance with Wazuh but I don't know yet if it will be able to replace it completely for me
security
with containers, software maintainers also need to keep their image up-to-date with latest security fixes (most of them don't) - whereas these are usually handled by unattended-upgrades or similar in a VM. Then put out a new release and expect users to upgrade ASAP. Or rebuild and encourage redeploying the latest
image every day or so, which is bad for other reasons (no warning for breaking changes, the software must be tested thoroughly after every commit to master
).
In short this adds the burden of proper OS/image maintenance for developers, something usually handled by distro maintainers.
trivy is helpful in assessing the maintenance/vulnerability level of OCI images.
You are right. Quadlets require 4.4, Debian 12 has 4.3
Podman
- rootless by default
- daemonless
- integration with systemd, made even easier by
podman-generate-systemd
- no third-party APT repository required, follows the same lifecycle as my LTS (Debian) distro
podman
anddocker
command-line are 100% compatible for my use cases
podman-compose is packaged in a separate podman-compose
package in Debian 12 (did not try it though). The only thing missing (for me) in Debian 12 is quadlets support (requires podman 4.4+, Debian 12 has 4.3)
One has a total powered-on time of 51534 hours, and the other 49499 hours.
As for their actual age (manufacturing date), the only way to know is to look at the sticker on the drive, or find the invoice, can't tell you right now.