Page 1 of 1

Invalid command issued to smartd by web interface

Posted: 08 Jun 2013 17:03
by luzemario
Hi guys,

Easy to be fixed, so can you fill a bug for it?

--- Report ---

NAS4Free 9.1.0.1 (revision 724) x64-embedded
A_M_I_ OEMXSDT Pentium(R) Dual-Core CPU E5400 @ 2.70GHz 4608MiB RAM

bus=1 hubaddr=4 port=4 devaddr=2 interface=0 Intel ICH7 UDMA100
controller RTL8169S/8110S/8211 1000BASE-T media interface bus=2
hubaddr=1 port=4 devaddr=3 interface=0 Intel 82801GB/R (ICH7) USB 2.0
controller Intel 82801G (ICH7) USB controller USB-A Intel 82801G
(ICH7) USB controller USB-B Intel 82801G (ICH7) USB controller USB-C
Intel 82801G (ICH7) USB controller USB-D
Subject:
Invalid command issued to smartd by web interface
Description:
Smartd does not start because web interface scripts issue a command not
suported by smartd.

Code: Select all

Jun 8 10:16:38 	nas4free 	root: /etc/rc: WARNING: failed to start smartd
Jun 8 10:16:38 	nas4free 	smartd[1747]: Unable to register device /dev/ada0 (no
Directive -d removable). Exiting.
Jun 8 10:16:38 	nas4free 	smartd[1747]: Unable to register ATA device /dev/ada0
at line 1 of file /var/etc/smartd.conf

Re: Invalid command issued to smartd by web interface

Posted: 06 Jul 2013 09:03
by loozhengyuan
Hi, I'm having the same problem as you. Have you managed to solve your problem?

Re: Invalid command issued to smartd by web interface

Posted: 23 Feb 2014 17:08
by luzemario
This happens only to non-ata devices (i.e. your USB stick). This is not a issue for your ATA hard disks. Most USB sticks are not smart compliant anyway.

Re: Invalid command issued to smartd by web interface

Posted: 23 Feb 2014 19:10
by luzemario
If you is still having this issue for real hard disks, please see below:

viewtopic.php?f=57&t=5976