Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Shad

#1
Yes, you're right, the mini-pc is fanless inside a rack, between two shelves, I'll probably add some fans in.
I am looking forward buying an opnsense appliance as soon as I can afford it.

Thanks for your accurate instructions.
#2
smartctl -i /dev/ada0 :

smartctl 7.5 2025-04-30 r5714 [FreeBSD 15.1-RELEASE-p4 amd64] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     MTFDDAT128MAZ-1AE1ZABHA
Serial Number:    REDACTED
LU WWN Device Id: 5 00a075 10c815ea5
Firmware Version: M104
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      < 1.8 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        Not in smartctl database 7.5/5706
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Oct 26 23:13:49 2026 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

smartctl -P /dev/ada0 :

smartctl 7.5 2025-04-30 r5714 [FreeBSD 15.1-RELEASE-p4 amd64] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

No presets are defined for this drive.  Its identity strings:
MODEL:    MTFDDAT128MAZ-1AE1ZABHA
FIRMWARE: M104
do not match any of the known regular expressions.
Use -P showall to list all known regular expressions.

fetch -o /root/smart_drivedb.h https://raw.githubusercontent.com/smartmontools/smartmontools/main/drivedb/drivedb.h
smartctl -B +/root/smart_drivedb.h -a /dev/ada0

smartctl 7.5 2025-04-30 r5714 [FreeBSD 15.1-RELEASE-p4 amd64] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     MTFDDAT128MAZ-1AE1ZABHA
Serial Number:    REDACTED
LU WWN Device Id: 5 00a075 10c815ea5
Firmware Version: M104
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      < 1.8 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        Not in smartctl database 7.5/5706
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Oct 26 23:17:43 2026 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x80) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (  595) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (   3) minutes.
Conveyance self-test routine
recommended polling time:        (   3) minutes.
SCT capabilities:              (0x0035) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 32
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   050    Pre-fail  Always       -       12
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       9997
 11 Unknown_SSD_Attribute   0x0022   100   100   000    Old_age   Always       -       140
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       2920
170 Unknown_Attribute       0x0033   099   099   010    Pre-fail  Always       -       16
171 Unknown_Attribute       0x0022   100   100   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
173 Unknown_Attribute       0x0033   041   041   010    Pre-fail  Always       -       1780
174 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       140
181 Program_Fail_Cnt_Total  0x0022   100   100   000    Old_age   Always       -       11643680983326
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       2794
190 Airflow_Temperature_Cel 0x0022   031   021   000    Old_age   Always       -       69 (Min/Max 14/79)
194 Temperature_Celsius     0x0022   031   021   000    Old_age   Always       -       69 (Min/Max 14/79)
195 Hardware_ECC_Recovered  0x003a   100   100   000    Old_age   Always       -       3772716375
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       16
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0022   100   100   000    Old_age   Always       -       2

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      9991         -
# 2  Vendor (0xff)       Completed without error       00%        19         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Completed [00% left] (57881389-57946924)
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

The above only provides legacy SMART information - try 'smartctl -x' for more

I don't see any changes to the unknown_attributes (I forgot to take a screenshot before updating the drivedb database, but the unknown_attributes are the same).

Last but not least, smartctl -x /dev/ada0 | grep -i percentage :

0x07  0x008  1               5  N--  Percentage Used Endurance Indicator
So I guess I'm good on the hardware side.
#3
I tried to repair the file system, for some reasons it completed almost instantly and said that the file system had recovered.
but I already had some problems with this disk, and given that I had bought a 2nd hand msata disk (basically new ones are more expensive than nvme for some reasons), I seized the opportunity to migrate to the new disk.
Apart from the isc -> kea unexpected migration, it was smooth.
New smart scan also shows unknow_attribute although it comes from a reputable brand (Micron).
For now I'll keep it as it is, and look after periodic smart tests to see how it's going.
Thanks for your help.
#4
Thanks, new disk on the way, once received I'll try what you said on the present disk.
#5
UPDATE : I found the smart package in the community repo.

I ran a short test : smartctl -t short /dev/ada0

Result :

smartctl 7.5 2025-04-30 r5714 [FreeBSD 14.3-RELEASE-p16 amd64] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     GIM128
Serial Number:    2022120800350
Firmware Version: U0707A0
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      mSATA
TRIM Command:     Available
Device is:        Not in smartctl database 7.5/5706
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Oct 23 07:34:24 2026 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x02) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (  120) seconds.
Offline data collection
capabilities:                    (0x11) SMART execute Offline immediate.
                                        No Auto Offline data collection support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        No Selective Self-test supported.
SMART capabilities:            (0x0002) Does not save SMART data before
                                        entering power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  10) minutes.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0032   100   100   050    Old_age   Always       -       0
  5 Reallocated_Sector_Ct   0x0032   100   100   050    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   050    Old_age   Always       -       18487
 12 Power_Cycle_Count       0x0032   100   100   050    Old_age   Always       -       204
160 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       0
161 Unknown_Attribute       0x0033   100   100   050    Pre-fail  Always       -       100
163 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       10
164 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       303794
165 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       3728
166 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       336
167 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       617
168 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       7000
169 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       92
175 Program_Fail_Count_Chip 0x0032   100   100   050    Old_age   Always       -       0
176 Erase_Fail_Count_Chip   0x0032   100   100   050    Old_age   Always       -       0
177 Wear_Leveling_Count     0x0032   100   100   050    Old_age   Always       -       0
178 Used_Rsvd_Blk_Cnt_Chip  0x0032   100   100   050    Old_age   Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   050    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   050    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   050    Old_age   Always       -       165
194 Temperature_Celsius     0x0022   100   100   050    Old_age   Always       -       40
195 Hardware_ECC_Recovered  0x0032   100   100   050    Old_age   Always       -       492
196 Reallocated_Event_Count 0x0032   100   100   050    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   050    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0032   100   100   050    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   050    Old_age   Always       -       0
232 Available_Reservd_Space 0x0032   100   100   050    Old_age   Always       -       100
241 Total_LBAs_Written      0x0030   100   100   050    Old_age   Offline      -       564087
242 Total_LBAs_Read         0x0030   100   100   050    Old_age   Offline      -       9288
245 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       471940

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     18487         -

Selective Self-tests/Logging not supported

The above only provides legacy SMART information - try 'smartctl -x' for more
#6
Hello (MARLOO),

Thanks for yout input.
For some reason, smartctl is not found (and I don't find it in the packages tab in the GUI).

df -h
Filesystem                   Size    Used   Avail Capacity  Mounted on
/dev/ada0p2                  111G     54G     48G    53%    /
devfs                        1.0K      0B    1.0K     0%    /dev
/dev/ada0p1                  260M    1.3M    259M     1%    /boot/efi
devfs                        1.0K      0B    1.0K     0%    /var/dhcpd/dev
devfs                        1.0K      0B    1.0K     0%    /var/unbound/dev
/usr/local/lib/python3.13    111G     54G     48G    53%    /var/unbound/usr/local/lib/python3.13
/lib                         111G     54G     48G    53%    /var/unbound/lib

dmesg | grep -iE 'ada0|error|fail|cam'
[47284] /mnt: inode 8334247: check-hash failed
[47284] /mnt: inode 8334247: check-hash failed
[47284] /mnt: inode 8334246: check-hash failed
[47284] /mnt: inode 8334246: check-hash failed
[47284] /mnt: inode 8334245: check-hash failed
[47284] /mnt: inode 8334245: check-hash failed
[47284] /mnt: inode 8334244: check-hash failed
[47284] /mnt: inode 8334244: check-hash failed
[...]
[1861689] /mnt: inode 8334244: check-hash failed
[1861689] /mnt: inode 8334244: check-hash failed
[1861689] /mnt: inode 8334245: check-hash failed
[1861689] /mnt: inode 8334245: check-hash failed
[1861689] /mnt: inode 8334246: check-hash failed
[1861689] /mnt: inode 8334246: check-hash failed
[1861689] /mnt: inode 8334247: check-hash failed
[1861689] /mnt: inode 8334247: check-hash failed

We are talking about ~1175 lines here... smells really bad I guess ?

smartctl -a /dev/ada0
smartctl: Command not found.
pkg install --force --reinstall boost-libs py313-botocore
pkg: unrecognized option `--reinstall'
I then tried without the --reinstall argument :

Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
        boost-libs-1.89.0_2 [OPNsense]
        py313-botocore-1.43.14 [OPNsense]

Number of packages to be reinstalled: 2

8 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching py313-botocore-1.43.14.pkg: 100%    8 MiB   8.5MB/s    00:01
Checking integrity... done (0 conflicting)
[1/2] Reinstalling boost-libs-1.89.0_2...
[1/2] Extracting boost-libs-1.89.0_2: 100%
pkg: Fail to rename /usr/local/include/boost/thread/executors/.pkgtemp.serial_executor_cont.hpp.au7FxGhtawrY -> /usr/local/include/boosutors/serial_executor_cont.hpp:Invalid argument

opnsense-version
OPNsense 26.1.11_10 (amd64)
Am I good for a reinstall ?
#7
Hello guys,

Following the php2shell crisis, I tried to upgrade to 26.7.
For some reasons, I got the failed signature error while fetching the new packages.
I read that changing mirrors could help, but ended out with another error :

***GOT REQUEST TO UPGRADE***
Currently running OPNsense 26.1.11_10 (amd64) at Thu Oct 22 20:13:25 CEST 2026
Fetching packages-26.7-amd64.tar: ............................................................................. done
Fetching base-26.7-amd64.txz: .... done
Fetching kernel-26.7-amd64.txz: ... done
Flushing temporary package files...find: /usr/local/include/boost/thread/is_locked_by_this_thread.hpp: Invalid argument
find: /usr/local/include/boost/thread/interruption.hpp: Invalid argument
find: /usr/local/include/boost/thread/future.hpp: Invalid argument
find: /usr/local/include/boost/thread/externally_locked_stream.hpp: Invalid argument
find: /usr/local/include/boost/thread/externally_locked.hpp: Invalid argument
find: /usr/local/include/boost/thread/executors/work.hpp: Invalid argument
find: /usr/local/include/boost/thread/executors/thread_executor.hpp: Invalid argument
find: /usr/local/include/boost/thread/executors/serial_executor_cont.hpp: Invalid argument
***DONE***

I then ran an health audit, and got this as a result :

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 26.1.11_10 (amd64) at Thu Oct 22 20:19:17 CEST 2026
>>> Root file system: /dev/ada0p2
>>> Check installed kernel version
Version 26.1.11 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 26.1.11 is correct.
>>> Check for missing or altered base files
Error 2 occurred.
usr/bin/lldb:
sha256digest (0x9afbd73a548f72d1271c9c3625905d2843009fd594127adb5bbadf8bbecc6f4b, 0xac0dde3bbcfc81ba2c0d5cd11f112b0976f0c18185e438c7db9654d4b38d03cd)
>>> Check installed repositories
OPNsense (Priority: 11)
>>> Check installed plugins
os-apcupsd 1.2_3
os-ddclient 1.31_1
os-gdrive-backup 1.0_1
os-isc-dhcp 1.0_6
os-mdns-repeater 1.2
os-nut 1.9_1
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages:
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/executors/serial_executor_cont.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/executors/thread_executor.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/executors/work.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/externally_locked.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/externally_locked_stream.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/future.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/interruption.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/is_locked_by_this_thread.hpp
Checking all packages..........
py313-botocore-1.43.14: checksum mismatch for /usr/local/lib/python3.13/site-packages/botocore/data/forecast/2018-06-26/service-2.json
Checking all packages...... done
>>> Check for core packages consistency
Core package "opnsense" at 26.1.11_10 has 68 dependencies to check.
Checking packages: ..................................................................... done
***DONE***

AI tells me that there are .pkgtemp files that are locking the upgrade process and give me directions to follow, but I'd rather ask you guys before doing something stupid.

Any help would extremely valuable !
#8
25.1, 25.4 Legacy Series / New alias not functional
November 02, 2025, 09:47:08 AM
OPNSense version : 25.1.10
Architecture : amd64

I'm trying to add a new alias for an IPv4 host, like many others I already use in NAT and rules.
For some reason, the alias is not functional.

Once the rule is set, the loaded columns remains to "0" in the alias table.
Current table entries are at 535.681/1.000.000

If I use another alias to redirect to, it works.
If I directly use the IPv4, it works as well.
I also created a new dynamic IPv6 host alias for the same machine "oraka", it does not work either (loaded "0").

Any ideas ?
Thanks a lot for your input.

(I'd rather not going for a system update right now, I'll try to reboot this evening if I'm still stuck)