2021/02/20作成, 2020/02/19更新

FreeBSDのS.M.A.R.T

smartmontools

pkg install smartmontools
############################################
To check the status of drives, use the following:

        /usr/local/sbin/smartctl -a /dev/ad0    for first ATA/SATA drive
        /usr/local/sbin/smartctl -a /dev/da0    for first SCSI drive
        /usr/local/sbin/smartctl -a /dev/ada0   for first SATA drive

To include drive health information in your daily status reports,
add a line like the following to /etc/periodic.conf:
        daily_status_smart_devices="/dev/ad0 /dev/da0"
substituting the appropriate device names for your SMART-capable disks.

To enable drive monitoring, you can use /usr/local/sbin/smartd.
A sample configuration file has been installed as
/usr/local/etc/smartd.conf.sample
Copy this file to /usr/local/etc/smartd.conf and edit appropriately

To have smartd start at boot
        echo 'smartd_enable="YES"' >> /etc/rc.conf
############################################
service smartd enable
service smartd start
INTEL 小型ベアボーン BOXNUC8I5BEH
共有だけじゃなくていろいろとサーバーに仕事をさせたいならまずは場所を取らない小型PCを使ってみるのをお勧め。
Amazon.comのページを別ウィンドウで開きます
Synology DiskStation DS918+
ホットスワップ4ベイのNAS。RAIDも使えるし運用も簡単なのでおすすめ。
Amazon.comのページを別ウィンドウで開きます