513 B
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:
- Set the
$dev
variable to the drive letter you want to check (e.g. for/dev/sdr
, usedev=r
) - Run the one-liner:
smartctl -a /dev/sd$dev'