From 77c057aebf4e24d4832259f75eca941bc9fa2d3a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 7 Dec 2025 10:09:51 +0200 Subject: Update content for html --- ...5-07-14-f3s-kubernetes-with-freebsd-part-6.html | 50 ++++++++++------- ...5-12-07-f3s-kubernetes-with-freebsd-part-8.html | 10 +++- gemfeed/atom.xml | 62 ++++++++++++++-------- 3 files changed, 77 insertions(+), 45 deletions(-) (limited to 'gemfeed') diff --git a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html index 7a5b4b67..86e1b8d6 100644 --- a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html +++ b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html @@ -48,15 +48,15 @@
  • ⇢ ⇢ Verifying replication after reboot
  • ⇢ ⇢ Understanding Failover Limitations and Design Decisions
  • ⇢ ⇢ Mounting the NFS datasets
  • -
  • ⇢ ⇢ Troubleshooting: Files not appearing in replication
  • +
  • Troubleshooting: Files not appearing in replication
  • ⇢ ⇢ Configuring automatic key loading on boot
  • ⇢ ⇢ Troubleshooting: zrepl Replication Not Working
  • -
  • ⇢# Check if zrepl Services are Running
  • -
  • ⇢# Check zrepl Status for Errors
  • -
  • ⇢# Fixing "No Common Snapshot" Errors
  • -
  • ⇢# Network Connectivity Issues
  • -
  • ⇢# Encryption Key Issues
  • -
  • ⇢# Monitoring Ongoing Replication
  • +
  • ⇢ ⇢ Check if zrepl Services are Running
  • +
  • ⇢ ⇢ Check zrepl Status for Errors
  • +
  • ⇢ ⇢ Fixing "No Common Snapshot" Errors
  • +
  • ⇢ ⇢ Network Connectivity Issues
  • +
  • ⇢ ⇢ Encryption Key Issues
  • +
  • ⇢ ⇢ Monitoring Ongoing Replication
  • CARP (Common Address Redundancy Protocol)
  • ⇢ ⇢ How CARP Works
  • ⇢ ⇢ Configuring CARP
  • @@ -450,10 +450,14 @@ global: interval: 1m pruning: keep_sender: + - type: last_n + count: 10 - type: grid grid: 4x7d | 6x30d regex: "^zrepl_.*" keep_receiver: + - type: last_n + count: 10 - type: grid grid: 4x7d | 6x30d regex: "^zrepl_.*" @@ -475,9 +479,15 @@ global: keep_sender: - type: last_n count: 10 + - type: grid + grid: 4x7d + regex: "^zrepl_.*" keep_receiver: - type: last_n count: 10 + - type: grid + grid: 4x7d + regex: "^zrepl_.*" EOF
    @@ -722,7 +732,7 @@ paul@f1:~ % doas zfs set And replication should work again!

    -

    Troubleshooting: Files not appearing in replication


    +

    Troubleshooting: Files not appearing in replication



    If you write files to /data/nfs/ on f0 but they don't appear on f1, check if the dataset is mounted on f0?

    @@ -801,7 +811,7 @@ paul@f1:~ % doas zfs set \
    If zrepl replication is not working, here's a systematic approach to diagnose and fix common issues:

    -#### Check if zrepl Services are Running
    +

    Check if zrepl Services are Running



    First, verify that zrepl is running on both nodes:

    @@ -818,7 +828,7 @@ paul@f0:~ % doas service zrepl start paul@f1:~ % doas service zrepl start
    -#### Check zrepl Status for Errors
    +

    Check zrepl Status for Errors



    Use the status command to see detailed error information:

    @@ -833,7 +843,7 @@ paul@f0:~ % doas zrepl status --mode raw # Common errors include "no common snapshot" or connection failures
    -#### Fixing "No Common Snapshot" Errors
    +

    Fixing "No Common Snapshot" Errors



    This is the most common replication issue, typically occurring when:

    @@ -892,7 +902,7 @@ paul@f0:~ % doas zrepl status --mode raw | grep -A10
    -#### Network Connectivity Issues
    +

    Network Connectivity Issues



    If replication fails to connect:

    @@ -910,7 +920,7 @@ paul@f1:~ % doas netstat -an | grep 8888 paul@f0:~ % ping 192.168.2.131
    -#### Encryption Key Issues
    +

    Encryption Key Issues



    If encrypted replication fails:

    @@ -927,7 +937,7 @@ paul@f1:~ % doas zfs load-key -L file:///keys/f0.la zdata/sink/f0/zdata/enc/nfsdata
    -#### Monitoring Ongoing Replication
    +

    Monitoring Ongoing Replication



    After fixing issues, monitor replication health:

    @@ -1363,13 +1373,13 @@ HOSTNAME=`hostname` zfs load-key -L file:///keys/f0.lan.buetow.org:zdata.key zdata/enc/nfsdata zfs set mountpoint=/data/nfs zdata/enc/nfsdata else - doas zfs load-key -L file:///keys/f0.lan.buetow.org:zdata.key zdata/sink/f0/zdata/enc/nfsdata - doas zfs set mountpoint=/data/nfs zdata/sink/f0/zdata/enc/nfsdata - doas zfs mount zdata/sink/f0/zdata/enc/nfsdata - doas zfs set readonly=on zdata/sink/f0/zdata/enc/nfsdata + zfs load-key -L file:///keys/f0.lan.buetow.org:zdata.key zdata/sink/f0/zdata/enc/nfsdata + zfs set mountpoint=/data/nfs zdata/sink/f0/zdata/enc/nfsdata + zfs mount zdata/sink/f0/zdata/enc/nfsdata + zfs set readonly=on zdata/sink/f0/zdata/enc/nfsdata fi - doas service nfsd stop 2>&1 - doas service mountd stop 2>&1 + service nfsd stop 2>&1 + service mountd stop 2>&1 fi diff --git a/gemfeed/2025-12-07-f3s-kubernetes-with-freebsd-part-8.html b/gemfeed/2025-12-07-f3s-kubernetes-with-freebsd-part-8.html index 275d9754..d9104fab 100644 --- a/gemfeed/2025-12-07-f3s-kubernetes-with-freebsd-part-8.html +++ b/gemfeed/2025-12-07-f3s-kubernetes-with-freebsd-part-8.html @@ -547,7 +547,10 @@ spec: - record: node_memory_MemTotal_bytes expr: node_memory_size_bytes{os="freebsd"} - record: node_memory_MemAvailable_bytes - expr: node_memory_free_bytes{os="freebsd"} + node_memory_inactive_bytes{os="freebsd"} + node_memory_cache_bytes{os="freebsd"} + expr: | + node_memory_free_bytes{os="freebsd"} + + node_memory_inactive_bytes{os="freebsd"} + + node_memory_cache_bytes{os="freebsd"} - record: node_memory_MemFree_bytes expr: node_memory_free_bytes{os="freebsd"} - record: node_memory_Buffers_bytes @@ -669,7 +672,10 @@ spec: labels: os: openbsd - record: node_memory_MemAvailable_bytes - expr: node_memory_free_bytes{os="openbsd"} + node_memory_inactive_bytes{os="openbsd"} + node_memory_cache_bytes{os="openbsd"} + expr: | + node_memory_free_bytes{os="openbsd"} + + node_memory_inactive_bytes{os="openbsd"} + + node_memory_cache_bytes{os="openbsd"} labels: os: openbsd - record: node_memory_MemFree_bytes diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 6314af8a..02744c82 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2025-12-07T00:32:01+02:00 + 2025-12-07T10:08:23+02:00 foo.zone feed To be in the .zone! @@ -554,7 +554,10 @@ spec: - record: node_memory_MemTotal_bytes expr: node_memory_size_bytes{os="freebsd"} - record: node_memory_MemAvailable_bytes - expr: node_memory_free_bytes{os="freebsd"} + node_memory_inactive_bytes{os="freebsd"} + node_memory_cache_bytes{os="freebsd"} + expr: | + node_memory_free_bytes{os="freebsd"} + + node_memory_inactive_bytes{os="freebsd"} + + node_memory_cache_bytes{os="freebsd"} - record: node_memory_MemFree_bytes expr: node_memory_free_bytes{os="freebsd"} - record: node_memory_Buffers_bytes @@ -676,7 +679,10 @@ spec: labels: os: openbsd - record: node_memory_MemAvailable_bytes - expr: node_memory_free_bytes{os="openbsd"} + node_memory_inactive_bytes{os="openbsd"} + node_memory_cache_bytes{os="openbsd"} + expr: | + node_memory_free_bytes{os="openbsd"} + + node_memory_inactive_bytes{os="openbsd"} + + node_memory_cache_bytes{os="openbsd"} labels: os: openbsd - record: node_memory_MemFree_bytes @@ -4002,15 +4008,15 @@ content = "{CODE}"
  • ⇢ ⇢ Verifying replication after reboot
  • ⇢ ⇢ Understanding Failover Limitations and Design Decisions
  • ⇢ ⇢ Mounting the NFS datasets
  • -
  • ⇢ ⇢ Troubleshooting: Files not appearing in replication
  • +
  • Troubleshooting: Files not appearing in replication
  • ⇢ ⇢ Configuring automatic key loading on boot
  • ⇢ ⇢ Troubleshooting: zrepl Replication Not Working
  • -
  • ⇢# Check if zrepl Services are Running
  • -
  • ⇢# Check zrepl Status for Errors
  • -
  • ⇢# Fixing "No Common Snapshot" Errors
  • -
  • ⇢# Network Connectivity Issues
  • -
  • ⇢# Encryption Key Issues
  • -
  • ⇢# Monitoring Ongoing Replication
  • +
  • ⇢ ⇢ Check if zrepl Services are Running
  • +
  • ⇢ ⇢ Check zrepl Status for Errors
  • +
  • ⇢ ⇢ Fixing "No Common Snapshot" Errors
  • +
  • ⇢ ⇢ Network Connectivity Issues
  • +
  • ⇢ ⇢ Encryption Key Issues
  • +
  • ⇢ ⇢ Monitoring Ongoing Replication
  • CARP (Common Address Redundancy Protocol)
  • ⇢ ⇢ How CARP Works
  • ⇢ ⇢ Configuring CARP
  • @@ -4404,10 +4410,14 @@ global: interval: 1m pruning: keep_sender: + - type: last_n + count: 10 - type: grid grid: 4x7d | 6x30d regex: "^zrepl_.*" keep_receiver: + - type: last_n + count: 10 - type: grid grid: 4x7d | 6x30d regex: "^zrepl_.*" @@ -4429,9 +4439,15 @@ global: keep_sender: - type: last_n count: 10 + - type: grid + grid: 4x7d + regex: "^zrepl_.*" keep_receiver: - type: last_n count: 10 + - type: grid + grid: 4x7d + regex: "^zrepl_.*" EOF
    @@ -4676,7 +4692,7 @@ paul@f1:~ % doas zfs set And replication should work again!

    -

    Troubleshooting: Files not appearing in replication


    +

    Troubleshooting: Files not appearing in replication



    If you write files to /data/nfs/ on f0 but they don't appear on f1, check if the dataset is mounted on f0?

    @@ -4755,7 +4771,7 @@ paul@f1:~ % doas zfs set \
    If zrepl replication is not working, here's a systematic approach to diagnose and fix common issues:

    -#### Check if zrepl Services are Running
    +

    Check if zrepl Services are Running



    First, verify that zrepl is running on both nodes:

    @@ -4772,7 +4788,7 @@ paul@f0:~ % doas service zrepl start paul@f1:~ % doas service zrepl start
    -#### Check zrepl Status for Errors
    +

    Check zrepl Status for Errors



    Use the status command to see detailed error information:

    @@ -4787,7 +4803,7 @@ paul@f0:~ % doas zrepl status --mode raw # Common errors include "no common snapshot" or connection failures
    -#### Fixing "No Common Snapshot" Errors
    +

    Fixing "No Common Snapshot" Errors



    This is the most common replication issue, typically occurring when:

    @@ -4846,7 +4862,7 @@ paul@f0:~ % doas zrepl status --mode raw | grep -A10
    -#### Network Connectivity Issues
    +

    Network Connectivity Issues



    If replication fails to connect:

    @@ -4864,7 +4880,7 @@ paul@f1:~ % doas netstat -an | grep 8888 paul@f0:~ % ping 192.168.2.131
    -#### Encryption Key Issues
    +

    Encryption Key Issues



    If encrypted replication fails:

    @@ -4881,7 +4897,7 @@ paul@f1:~ % doas zfs load-key -L file:///keys/f0.la zdata/sink/f0/zdata/enc/nfsdata
    -#### Monitoring Ongoing Replication
    +

    Monitoring Ongoing Replication



    After fixing issues, monitor replication health:

    @@ -5317,13 +5333,13 @@ HOSTNAME=`hostname` zfs load-key -L file:///keys/f0.lan.buetow.org:zdata.key zdata/enc/nfsdata zfs set mountpoint=/data/nfs zdata/enc/nfsdata else - doas zfs load-key -L file:///keys/f0.lan.buetow.org:zdata.key zdata/sink/f0/zdata/enc/nfsdata - doas zfs set mountpoint=/data/nfs zdata/sink/f0/zdata/enc/nfsdata - doas zfs mount zdata/sink/f0/zdata/enc/nfsdata - doas zfs set readonly=on zdata/sink/f0/zdata/enc/nfsdata + zfs load-key -L file:///keys/f0.lan.buetow.org:zdata.key zdata/sink/f0/zdata/enc/nfsdata + zfs set mountpoint=/data/nfs zdata/sink/f0/zdata/enc/nfsdata + zfs mount zdata/sink/f0/zdata/enc/nfsdata + zfs set readonly=on zdata/sink/f0/zdata/enc/nfsdata fi - doas service nfsd stop 2>&1 - doas service mountd stop 2>&1 + service nfsd stop 2>&1 + service mountd stop 2>&1 fi -- cgit v1.2.3