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 - Patrick M. Hausen

#1
26.7, 26.10 Series / Re: Snapshots not working
November 25, 2026, 06:29:42 PM
Version of OPNsense? ZFS installation?
#2
The updated boot loader can of course boot your old snapshots. Boot loader updates are never supposed to cause a problem - bugs notwithstanding.

But if you upgrade your zpool the kernel in these old snapshots might not be able to mount the upgraded pool. This is relevant whenever you change to a new major FreeBSD release, never within a release.
#3
26.7, 26.10 Series / Re: Snapshots not working
November 25, 2026, 02:43:19 PM
Please show what you are doing, what you expect to happen, what happens instead. Also OPNsense version and disk/ssd topology, UFS or ZFS installation etc.
#4
Für einen HA-Cluster sollte man einen Uplink mit mindestens einem /29 IPv4 und einem statischen IPv6-Prefix haben. So ist das gedacht und implementiert - alles andere ist Bastelei, die funktionieren kann oder auch nicht.

Du hast eine einzelne Endkunden-Leitung mit einer Fritzbox und kannst 2 Minuten Reboot deiner OPNsense nicht tolerieren?
#5
I stand corrected - thanks. Now I need to research when the old behaviour I learned and memorised decades ago changed.
#6
resolv.conf does not specify an order in which nameservers are queried. The resolver library will use them in round-robin fashion.
#7
Quote from: BrokenOnion on November 23, 2026, 08:54:32 PMbut how can I set snapshot name parameter to a month like January then follow it by setting it to active state and finally do a reboot to use it?

Instead of a literal month I suggest a numerical time stamp. To get for example the current year, month and day:
date +%Y-%m-%d

To activate a snapshot before reboot:

bectl activate <snapshot-name>

The rest is really just basic shell programming. You don't expect me to write the tool for you, do you?

Kind regards,
Patrick
#8
Quote from: cenac on November 23, 2026, 07:52:25 PMzfs: WARNING: Pool 'zroot' has encountered an uncorrectable I/O failure and has been suspended.

Didn't we have that same topic, already?

"uncorrectable I/O failure" means broken SSD. At least that's the most likely cause. It can also be the controller, the cabling, the power supply, the temperature, or the memory. But I'd check the SSD first.
#9
26.7, 26.10 Series / Re: issue with legacy firewall rules
November 23, 2026, 05:24:20 PM
Quote from: franco on November 23, 2026, 05:12:38 PMNo, you can disable most automatic rules.

But not as such in the rule UI unless I missed a major memo. You can disable e.g. automatic rules for DHCP in the DHCP service of choice UI, IPsec in the VPN UI, etc?

Right?

Thanks,
Patrick
#10
26.7, 26.10 Series / Re: issue with legacy firewall rules
November 23, 2026, 04:41:04 PM
You could never disable automatic rules.
#11
If you have a single line with a home contract what use is an HA pair of firewalls? Keep a config backup and a cold standby on the shelf and save energy, perhaps?
#12
IMHO All the tooling you need is already present on OPNsense, so all it takes is a shell script that ties it together.

- bectl for snapshot management
- opnsense-update to perform the update
- reboot

To get a feel for bectl you might want to refer to this old post of mine.


Assume your current active BE is named 26.7.9 (makes sense to use version numbers, IMHO - others prefer timestamps like 202611221257), and an update to 26.7.10 is available you would:

Rename the BE to 26.7.10, because we will be installing into the live filesystem:
bectl rename 26.7.9 26.7.10
Create a new BE named 26.7.9 which will contain the current state before the update, so we can roll back to it if necessary:
bectl create 26.7.9
Then update and reboot.

For daily scheduled jobs - if that is frequent enough for you - intending not to interfere with the managed OPNsense installation, I suggested placing the script in the /root directory, making it executable, and then doing a symlink:

ln -s /root/daily-update.sh /usr/local/etc/periodic/daily/update
The script will then run every night at 3:01 local time.

See here for comparison.



HTH, kind regards,
Patrick
#13
General Discussion / Re: Unable to connect to new DEC697
November 22, 2026, 11:33:41 AM
The SSD is broken. Unlikely for a new unit but possible. Contact Deciso for warranty.
#14
QuoteHow should WAN failover be configured when only a single ISP IP address is available?

It should not. You should pick a contract that gives you a public /29.
#15
Why so complicated? Just use bectl - these snapshots will contain everything important.