nixp.ru v3.0

23 октября 2017,
понедельник,
02:02:13 MSK

DevOps с компанией «Флант»
danikcom написал 8 мая 2007 года в 01:09 (638 просмотров) Ведет себя как мужчина; открыл 52 темы в форуме, оставил 132 комментария на сайте.

Не работает служба smartd. Пишет:

smartd dead but subsys locked

В чем дело?

DimkaS
Какие диски в системе?

все IDE

metal

Не плохо бы написать какой дистрибутив, что в логах, как минимум. Наверняка smartd можно запустить не в режиме демона с выводом подробной информации и посмотреть что ему не нравится.

Дистрибутив RHEL4

логи:

May  9 13:17:38 Danik smartd[7712]: smartd version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
May  9 13:17:38 Danik smartd[7712]: Home page is http://smartmontools.sourceforge.net/  
May  9 13:17:38 Danik smartd[7712]: Opened configuration file /etc/smartd.conf
May  9 13:17:38 Danik smartd[7712]: Configuration file /etc/smartd.conf parsed.
May  9 13:17:38 Danik smartd[7712]: Device: /dev/hda, opened
May  9 13:17:38 Danik smartd[7712]: Device: /dev/hda, found in smartd database.
May  9 13:17:38 Danik smartd[7712]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
May  9 13:17:38 Danik smartd[7712]: Device: /dev/hdb, opened
May  9 13:17:38 Danik smartd[7712]: Device: /dev/hdb, found in smartd database.
May  9 13:17:38 Danik smartd[7712]: Device: /dev/hdb, is SMART capable. Adding to "monitor" list.
May  9 13:17:38 Danik smartd[7712]: Device: /dev/hdc, opened
May  9 13:17:38 Danik smartd[7712]: Device: /dev/hdc, found in smartd database.
May  9 13:17:39 Danik smartd[7712]: Device: /dev/hdc, is SMART capable. Adding to "monitor" list.
May  9 13:17:39 Danik smartd[7712]: Device: /dev/sda, opened
May  9 13:17:39 Danik smartd[7712]: Device /dev/sda, SATA disks accessed via libata are not currently supported by smartmontools. When libata is given an ATA pass-thru ioctl() then an additional '-d libata' device type will be added to smartmontools.
May  9 13:17:39 Danik smartd[7712]: Unable to register SCSI device /dev/sda at line 4 of file /etc/smartd.conf
May  9 13:17:39 Danik smartd[7712]: Unable to register device /dev/sda (no Directive -d removable). Exiting.
May  9 13:17:39 Danik smartd: smartd startup failed

Когда отключил SATA диск, всеравно выдает вместо

May 9 13:17:39 Danik smartd[7712]: Device: /dev/sda, opened

May 9 13:17:39 Danik smartd[7712]: Device /dev/sda, SATA disks accessed via libata are not currently supported by smartmontools. When libata is given an ATA pass-thru ioctl() then an additional '-d libata' device type will be added to smartmontools.

May 9 13:17:39 Danik smartd[7712]: Unable to register SCSI device /dev/sda at line 4 of file /etc/smartd.conf

May 9 13:17:39 Danik smartd[7712]: Unable to register device /dev/sda (no Directive -d removable). Exiting.

May 9 13:17:39 Danik smartd: smartd startup failed

May  9 13:34:25 Danik smartd[2383]: Device: /dev/sda, No such device, open() failed
May  9 13:34:25 Danik smartd[2383]: Unable to register SCSI device /dev/sda at line 4 of file /etc/smartd.conf
May  9 13:34:25 Danik smartd[2383]: Unable to register device /dev/sda (no Directive -d removable). Exiting.
May  9 13:34:25 Danik smartd: smartd startup failed
metal

А что в /etc/smartd.conf?