2012 年二月 一 二 三 四 五 六 日 « 一 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 近期评论
- wlx [微博 ] 发表在《google彻底被封?》
- snake 发表在《google彻底被封?》
- Andrew Pelt 发表在《debian testing上安装oracle 10g》
- tiplip 发表在《webmap.cn使用的WEBGIS技术》
- 求助Evolution问题!! 发表在《evolution crashed in gutsy alpha》
分类目录
标签
anjuta apache backup breezy c++ compile convert dapper debian dns edgy evolution feisty firefox flash gnome gobang GRASS gutsy humor intrepid Linux mailman MapServer mysql openoffice Oracle php phpbb postfix PostGIS postgresql qgis sarge scim skype subversion svn tomcat ubuntu utf8 westdc Windows wordpress 中文
Tag Archives: status
使用smartmontools检测硬盘状态
一台DEBIAN服务器因为硬盘损坏,已经倒下了,虽然在倒下之前已经抢救了大部分的数据,但是ORACLE数据库因为无备份非存档模式,数据丢失。 因此想找个硬盘状态检测的软件,以方便在硬盘出问题之前,能够预作准备。 安装非常简单: sudo aptitude install smartmontools 然后要进行相关的配置,首先要编辑/etc/default/smartmontools: 把start_smartd=yes前面的注释去掉,然后在enable_smart里设置你想要检测的设备。 然后编辑/etc/smartd.conf文件: 把DEVICESCAN这一行给注释掉,然后在后面添加你想要检测的参数。 如我的监测: /dev/sda -d scsi -s L/../../3/01 -m myemail /dev/sdb -d scsi -s L/../../7/01 -m myemail /dev/sdc -d scsi -s L/../../7/02 -m myemail /dev/sda -d scsi -H -m myemail /dev/sdb … Continue reading