Rsync de backup

portinstall sysutils/smartmontools
/bin/mkdir -p /usr/local/etc/periodic/daily
install  -o root -g wheel -m 555 /usr/ports/sysutils/smartmontools/work/smart /usr/local/etc/periodic/daily/smart
smartmontools has been installed

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
===>   Compressing manual pages for smartmontools-5.42_4
===>   Registering installation for smartmontools-5.42_4
===>  Cleaning for smartmontools-5.42_4

http://nhh.mo-blog.jp/ttt/2006/06/smartmontools_0720.html

http://www.kkaneko.com/rinkou/freebsd/smartmontoolsfreebsd.html

/etc/rc.conf

smartd_enable="YES"

/etc/periodic.conf

daily_status_smart_devices="/dev/ada0 /dev/daa0"
daily_status_smart_devices="/dev/ada1 /dev/daa1"
daily_status_smart_devices="/dev/ada2 /dev/daa2"
daily_status_smart_devices="/dev/ada3 /dev/daa3"

ドライブの監視 (monitoring) を行いたいときは,設定ファイル /usr/local/etc/smartd.conf を作成すること.

※ サンプルが /usr/local/etc/smartd.conf.sample にある

http://nhh.mo-blog.jp/ttt/2006/06/smartmontools_0720.html


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS