Re: Adaptec RAID 2020SA raid status

From: Robert Fitzpatrick <robert_at_webtent.org>
Date: Tue, 28 Mar 2023 20:06:13 UTC
mike tancsa wrote on 3/28/2023 2:56 PM:
> On 3/28/2023 2:52 PM, Robert Fitzpatrick wrote:
>> root@db1:/usr/ports/sysutils/arcconf # /usr/local/sbin/arcconf 
>> getconfig 1
>> Controllers found: 1
>> Segmentation fault (core dumped)
>>
>> Can someone advise on how to get arcconf working or another way to 
>> monitor the RAID status?
>>
> Thats a pretty old card.  Maybe try
> 
> truss /usr/local/sbin/arcconf getconfig 1
> 
Thanks everyone. All in all, I'm a big fan of gmirror and use it a lot 
as RAID 1 on pfSense appliances. So I may just start there instead, 
especially since this is an old card. The hw is using RAID 10 but I've 
set that up with gmirror as well using RAID 0 across two mirrors. Or 
ZFS? I have 4 HDD to use for a Postgres database server with DNS and LDAP.

But for the record, having a bit of trouble with truss output to file or 
piping to more, however, I do see a lot of errors in regards to missing 
/var/log/fsaapi.txt. Here is the end of the output:

access("/var/log/fsaapi.txt",W_OK|R_OK)          ERR#2 'No such file or 
directory'
getpid()                                         = 58073 (0xe2d9)
access("/var/log/fsaapi.txt",W_OK|R_OK)          ERR#2 'No such file or 
directory'
gettimeofday({ 1680033836.893091 },0x7fffffffb6b0) = 0 (0x0)
open("/var/log/fsafibs.txt",O_RDWR,0666)         ERR#2 'No such file or 
directory'
ioctl(3,FSACTL_SENDFIB,0x7fffffffbb50)           = 0 (0x0)
gettimeofday({ 1680033836.893473 },0x7fffffffb6c0) = 0 (0x0)
open("/var/log/fsafibs.txt",O_RDWR,0666)         ERR#2 'No such file or 
directory'
access("/var/log/fsaapi.txt",W_OK|R_OK)          ERR#2 'No such file or 
directory'
access("/var/log/fsaapi.txt",W_OK|R_OK)          ERR#2 'No such file or 
directory'
access("/var/log/fsaapi.txt",W_OK|R_OK)          ERR#2 'No such file or 
directory'
access("/var/log/fsaapi.txt",W_OK|R_OK)          ERR#2 'No such file or 
directory'
access("/var/log/fsaapi.txt",W_OK|R_OK)          ERR#2 'No such file or 
directory'
getpid()                                         = 58073 (0xe2d9)
access("/var/log/fsaapi.txt",W_OK|R_OK)          ERR#2 'No such file or 
directory'
SIGNAL 11 (SIGSEGV) code=SEGV_MAPERR trapno=12 addr=0x10
process killed, signal = 11 (core dumped)

-- 
Robert