Jafner.net/homelab/monk/DISKINFO.md
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

513 B

We can get each drive's serial number, power on hours, and manufacture date with the following one-liner:

for dev in {a..e}; \
  do echo "### /dev/sd$dev" && \
  sudo smartctl -a /dev/sd$dev
done

Make sure to update this list only when a disk is newly installed. Also note the date of installation for the disk.

Or, if you're only updating one drive:

  1. Set the $dev variable to the drive letter you want to check (e.g. for /dev/sdr, use dev=r)
  2. Run the one-liner: smartctl -a /dev/sd$dev'