I'm hoping that someone can point me in the right direction with an issue I'm having with my OPNsense (v25.1.4_1) installation running Zenarmor (v1.18.6).
When I did my original configuration of Zenarmor, I moved the Elasticsearch reporting database (v8.11.3) to a second hard drive with more capacity than the drive where OPNsense is installed. On the Zenarmor dashboard, the hard drive would show up Disk Space Utilization widget as /mnt/storage.
Recently, the reporting database stopped and will not start (perhaps after upgrading to v25.4.1 of OPNsense). In the Disk Space Utilization widget, /mnt/storage no longer shows up. From the shell, the second hard drive seems to be available (in bold). Here is what I see from the shell:
root@home-fwr:/ # geom disk list
Geom name: mmcsd0
Providers:
1. Name: mmcsd0
Mediasize: 15634268160 (15G)
Sectorsize: 512
Stripesize: 512
Stripeoffset: 0
Mode: r3w3e6
descr: MMCHC AJTD4R 0.6 SN 2FFCD408 MFG 10/2022 by 21 0x0000
ident: 2FFCD408
rotationrate: 0
fwsectors: 0
fwheads: 0
Geom name: mmcsd0boot0
Providers:
1. Name: mmcsd0boot0
Mediasize: 4194304 (4.0M)
Sectorsize: 512
Stripesize: 512
Stripeoffset: 0
Mode: r0w0e0
descr: MMCHC AJTD4R 0.6 SN 2FFCD408 MFG 10/2022 by 21 0x0000
ident: 2FFCD408
rotationrate: 0
fwsectors: 0
fwheads: 0
Geom name: mmcsd0boot1
Providers:
1. Name: mmcsd0boot1
Mediasize: 4194304 (4.0M)
Sectorsize: 512
Stripesize: 512
Stripeoffset: 0
Mode: r0w0e0
descr: MMCHC AJTD4R 0.6 SN 2FFCD408 MFG 10/2022 by 21 0x0000
ident: 2FFCD408
rotationrate: 0
fwsectors: 0
fwheads: 0
Geom name:nda0
Providers:
1. Name: nda0
Mediasize: 500107862016 (466G)
Sectorsize: 512
Mode: r0w0e0
descr: CT500P3SSD8
lunid: 000000000000000100a075244bc37b34
ident: 24414BC37B34
rotationrate: 0
fwsectors: 0
fwheads: 0
root@home-fwr:/ # gpart show
=> 40 30535600 mmcsd0 GPT (15G)
40 532480 1 efi (260M)
532520 1024 2 freebsd-boot (512K)
533544 984 - free - (492K)
534528 16777216 3 freebsd-swap (8.0G)
17311744 13221888 4 freebsd-zfs (6.3G)
30533632 2008 - free - (1.0M)
=> 40 976773088 nda0 GPT (466G)
40 976773088 1 freebsd-ufs (466G)
Here is here how I have fstab configured, which worked before and has not changed:
# Device Mountpoint FStype Options Dump Pass#
/dev/nda0p1 /mnt/storage ufs rw 2 2
/dev/gpt/efiboot0 /boot/efi msdosfs rw 2 2
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
/dev/mmcsd0p3 none swap sw 0 0
I can create and delete folders and files from /mnt/storage.
Does anyone have any thoughts on what I'm missing?
Thanks in advance.
Zenarmor > Settings > Database. There is a setting there "Directory Storing Database Files". I would look there if perhaps is not pointing to your modified location.
The Zenarmor reporting database setting is configured for: /mnt/storage/elasticsearch
I can navigate to that folder via the shell. I can create folders/files in that directory.
When I try to delete and recreate the database, I get Error 200.
Are there logs that might help me understand what is going on?
stepping away, just wanted to see if you had checked that.
Hi,
Please share a report with the team by following the instructions in the below link
https://zenarmor.com/docs/support/reporting-bug
Feedback submitted. I checked the boxes to include everything, along with a screenshot (not that it shows much).
Hi,
Thank you once again for your cooperation. The issue was related to an unclean file system and has been resolved.