SOLVED Smartd issues with areca 18-- firmware 1.46+

Status
Not open for further replies.

Hash

Dabbler
Joined
Dec 28, 2013
Messages
30
I need smartd to produce a proper config file, the settings would be /dev/arcmsr0 -d areca,5/2 or something similar, I checked the ix-smartd and the problem is it doesnt have the /2, so naturally I just added it because I only need it for this one raid card. but for whatever reason when I start smartd it only shows one hard drive at 13/2 and it is the only hard drive I do not have ZFS or any a smart tests added. currently running.

camcontrol devlist

<NECVMWar VMware IDE CDR10 1.00> at scbus1 target 0 lun 0 (cd0,pass0)
<VMware Virtual disk 1.0> at scbus2 target 0 lun 0 (da0,pass1)
<Seagate ST31500341AS R001> at scbus3 target 1 lun 4 (da1,pass2)
<Seagate ST31500341AS R001> at scbus3 target 1 lun 5 (da2,pass3)
<Seagate ST31500341AS R001> at scbus3 target 1 lun 6 (da3,pass4)
<Seagate ST31500341AS R001> at scbus3 target 1 lun 7 (da4,pass5)
<Seagate ST31500341AS R001> at scbus3 target 2 lun 0 (da5,pass6)
<Seagate ST31500341AS R001> at scbus3 target 2 lun 1 (da6,pass7)
<Seagate ST31500341AS R001> at scbus3 target 2 lun 2 (da7,pass8)
<Seagate ST31500341AS R001> at scbus3 target 2 lun 3 (da8,pass9)
<Seagate ST4000NM0033-9ZM R001> at scbus3 target 2 lun 4 (da9,pass10)
<Areca RAID controller R001> at scbus3 target 16 lun 0 (pass11)

the camcontrol tmp file shows up like this
ata|1|0|0|cd0
mpt|0|0|0|da0
arcmsr|0|1|4|da1
arcmsr|0|1|5|da2
arcmsr|0|1|6|da3
arcmsr|0|1|7|da4
arcmsr|0|2|0|da5
arcmsr|0|2|1|da6
arcmsr|0|2|2|da7
arcmsr|0|2|3|da8
arcmsr|0|2|4|da9
arcmsr|0|16|0|

but for some reason when the /2 is added only one the one shows up...

################################################
# smartd.conf generated by /etc/rc.d/ix-smartd
################################################
/dev/arcmsr0 -d areca,13/2 -a -n never -W 0,50,55 -m ----------@gmail.com -s L/(0
1|02|03|04|05|06|07|08|09|10|11|12)/../(3)/(21)
/dev/arcmsr0 -d areca,13/2 -a -n never -W 0,50,55 -m ----------@gmail.com -s S/(0
1|02|03|04|05|06|07|08|09|10|11|12)/../(2|4|6)/(19)|1|0|0|cd0

the smart test I added in the gui were for da1 and the disk its showing is da9 Im going to continue working on this but any help would be great! thanks =]
 

Hash

Dabbler
Joined
Dec 28, 2013
Messages
30
I have been working on this problem for hours. Minutes after the post I figured it out.

original

# Areca Controller support(at least the 12xx family, possibly others)
${disk}:arcmsr*)
DEVID=$(($LUN_ID+1+($CHANNEL_NO*8)))
echo -n "/dev/arcmsr${CONTROLLER_ID} -d areca,${DEVID}"
break

modified

# Areca Controller support(at least the 12xx family, possibly others)
${disk}:arcmsr*)
DEVID=$(($LUN_ID+1+($CHANNEL_NO*8-8)))
echo -n "/dev/arcmsr${CONTROLLER_ID} -d areca,${DEVID}/2"
break


it works for me, but it prob wont work for everyone Im not sure how to produce the enclosure number.

I know this is prob suppost to be posted as a bug tickets but for some reason after I created my account it would'nt send me an email for verification
 
D

dlavigne

Guest
I know this is prob suppost to be posted as a bug tickets but for some reason after I created my account it would'nt send me an email for verification

Send me a private message with your username/email address for the bug tracker and I'll look into the status of your account.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
That code you posted Hash.. added by me about a year ago when I had a 1280-ML24(or something like that). The code that was added was only for the most basic of configurations as there is no way to identify certain hardware configurations. So its a situation where:

1. The code I added worked.(it worked flawlessly for me)
2. The code I added doesn't work.
3. You can hack the code to do what you want.

If you can't accept one of those 3 then my advice is to get a different controller. The reality of the situation is that Areca's support in FreeBSD is a bit lacking and there aren't always simple paths to solve some of these problems. I tried to email Areca with a few questions and their answers didn't really even answer my questions. We recommend the M1015 here and that's exactly what I recommend you use. Choosing to use full-fledged RAID controllers aren't really supported around here and if you show up later with a problem and you used a full fledged RAID controller many of the experienced people will write you off immediately since you didn't even use recommended hardware.

Good luck!
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
If you put in a ticket to "fix" it for you then you'll break it for all the other people that don't need the /2.
 

Hash

Dabbler
Joined
Dec 28, 2013
Messages
30
Yeah I couldn't figure out how to change to fix. I know what you mean, when I bought the raid card I wasn't planning on using ZFS, or freenas but I decided I needed something to learn so here I am! and I'm impressed more and more with the performance =] I don't really want to buy a new card to support all my equipment and the areca card seems to work well with freenas thus far there are some minor issues like this post, and with serial numbers not showing up but other then that I haven't seen to many more problems. still working on the serial number one.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You should be less upset about the lack of serial numbers and very concerned about the lack of SMART support for your card. Both are from the same problem, so if you can solve one problem you'll solve both.
 

Hash

Dabbler
Joined
Dec 28, 2013
Messages
30
hm? I thought that did fix the smart problem. They all show up properly in my config now. I have to wait till my next smart tests take place to be sure but it should work now in theory. The serial numbers is prob something simple that I got to look through.
 
Status
Not open for further replies.
Top