Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ERROR: smartd failed to start. /run/smartd.pid': No such file or directory
Date: Mon, 02 Nov 2020 16:26:40
Message-Id: d959c754-7d6d-fbb7-7613-27d72469cffd@gmail.com
In Reply to: Re: [gentoo-user] ERROR: smartd failed to start. /run/smartd.pid': No such file or directory by Neil Bothwick
1 Neil Bothwick wrote:
2 > On Mon, 2 Nov 2020 09:52:52 -0600, Dale wrote:
3 >
4 >> Nov  2 09:38:28 fireball smartd[20975]: Unable to register ATA device
5 >> /dev/sdf [SAT] at line 91 of file /etc/smartd.conf
6 >> Nov  2 09:38:28 fireball smartd[20975]: Unable to register device
7 >> /dev/sdf [SAT] (no Directive -d removable). Exiting.
8 > Is this the cause?
9 >
10 >
11
12
13 It was.  I commented out the line for sdf and then it worked.  It
14 complains about no -d option but it is there but maybe it isn't set
15 correctly?
16
17
18 #/dev/sdf -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root
19
20
21 Maybe I need to add a -d removeable to the line to tell smartd that it
22 may not always be there??  Something like this:
23
24
25 #/dev/sdf -a -d sat -d removable -o on -S on -s
26 (S/../.././12|L/../../6/12) -m root
27
28
29 Think that would work?  It's listed in the conf file as a option but not
30 exactly sure whether it should be done that way or some other way. 
31 Actually, I need to set it for sdk since sdf is no longer there.  One
32 thing at a time tho.  ;-)
33
34 Dale
35
36 :-)  :-)