f3s: Kubernetes with FreeBSD - Part 6: Storage
-
Published at 2025-07-13T16:44:29+03:00
+
Published at 2025-07-13T16:44:29+03:00, last updated: 08.08.2025
This is the sixth blog post about the f3s series for self-hosting demands in a home lab. f3s? The "f" stands for FreeBSD, and the "3s" stands for k3s, the Kubernetes distribution used on FreeBSD-based physical machines.
@@ -1398,12 +1398,16 @@ paul@f0:~ % doas sysrc nfsv4_server_enable=YES
nfsv4_server_enable: YES -> YES
paul@f0:~ % doas sysrc nfsuserd_enable=YES
nfsuserd_enable: YES -> YES
+paul@f0:~ % doas sysrc nfsuserd_flags=
"-domain lan.buetow.org"
+nfsuserd_flags:
"" ->
"-domain lan.buetow.org"
paul@f0:~ % doas sysrc mountd_enable=YES
mountd_enable: NO -> YES
paul@f0:~ % doas sysrc rpcbind_enable=YES
rpcbind_enable: NO -> YES
+
Update: 08.08.2025: I've added the domain to nfsuserd_flags
+
And we also create a dedicated directory for Kubernetes volumes:
root@f0:~ # cat <<END >>/etc/periodic.conf
daily_zfs_snapshot_enable="YES"
-daily_zfs_snapshot_pools="zroot"
+daily_zfs_snapshot_pools="zroot,zdata"
daily_zfs_snapshot_keep="7"
weekly_zfs_snapshot_enable="YES"
-weekly_zfs_snapshot_pools="zroot"
+weekly_zfs_snapshot_pools="zroot,zdata"
weekly_zfs_snapshot_keep="5"
monthly_zfs_snapshot_enable="YES"
-monthly_zfs_snapshot_pools="zroot"
+monthly_zfs_snapshot_pools="zroot,zdata"
monthly_zfs_snapshot_keep="6"
END
https://github.com/ross/zfs-periodic
+
Note: We have also added zdata to the list of snapshot pools. Currently, this pool does not exist yet, but it will be created later in this blog series.
+
Uptime tracking
uptimed? I like to track my uptimes. This is how I configured the daemon:
diff --git a/index.html b/index.html
index 707e0bbb..87527c97 100644
--- a/index.html
+++ b/index.html
@@ -13,7 +13,7 @@
Hello!
-
This site was generated at 2025-08-06T09:02:04+03:00 by Gemtexter
+
This site was generated at 2025-08-08T18:20:01+03:00 by Gemtexter
Welcome to the foo.zone!
@@ -27,7 +27,7 @@
Webring
-
shring (sh-ring) is a small web of unix-y personal web (sorry, Gemini users) sites I am part of:
+
shring.sh (sh-ring) is a small web of "unix-y" personal web (sorry, Gemini users) sites I am part of:
previous
shring.sh
diff --git a/uptime-stats.html b/uptime-stats.html
index 8861ce1b..abea4dbb 100644
--- a/uptime-stats.html
+++ b/uptime-stats.html
@@ -13,7 +13,7 @@
My machine uptime stats
-
This site was last updated at 2025-08-06T09:02:04+03:00
+
This site was last updated at 2025-08-08T18:20:01+03:00
The following stats were collected via uptimed on all of my personal computers over many years and the output was generated by guprecords, the global uptime records stats analyser of mine.
@@ -36,7 +36,7 @@
+-----+----------------+-------+------------------------------+
| 1. | alphacentauri | 671 | FreeBSD 11.4-RELEASE-p7 |
| 2. | mars | 207 | Linux 3.2.0-4-amd64 |
-| 3. | *earth | 198 | Linux 6.15.7-200.fc42.x86_64 |
+| 3. | *earth | 199 | Linux 6.15.7-200.fc42.x86_64 |
| 4. | callisto | 153 | Linux 4.0.4-303.fc22.x86_64 |
| 5. | dionysus | 136 | FreeBSD 13.0-RELEASE-p11 |
| 6. | tauceti-e | 120 | Linux 3.2.0-4-amd64 |
@@ -45,8 +45,8 @@
| 9. | pluto | 51 | Linux 3.2.0-4-amd64 |
| 10. | mega15289 | 50 | Darwin 23.4.0 |
| 11. | *mega-m3-pro | 50 | Darwin 24.5.0 |
-| 12. | *fishfinger | 43 | OpenBSD 7.6 |
-| 13. | *t450 | 43 | FreeBSD 14.2-RELEASE |
+| 12. | *t450 | 43 | FreeBSD 14.2-RELEASE |
+| 13. | *fishfinger | 43 | OpenBSD 7.6 |
| 14. | mega8477 | 40 | Darwin 13.4.0 |
| 15. | phobos | 40 | Linux 3.4.0-CM-g1dd7cdf |
| 16. | *blowfish | 38 | OpenBSD 7.6 |
@@ -68,7 +68,7 @@
| 1. | vulcan | 4 years, 5 months, 6 days | Linux 3.10.0-1160.81.1.el7.x86_64 |
| 2. | sun | 3 years, 9 months, 26 days | FreeBSD 10.3-RELEASE-p24 |
| 3. | uranus | 3 years, 9 months, 5 days | NetBSD 10.1 |
-| 4. | *earth | 3 years, 7 months, 24 days | Linux 6.15.7-200.fc42.x86_64 |
+| 4. | *earth | 3 years, 7 months, 27 days | Linux 6.15.7-200.fc42.x86_64 |
| 5. | *blowfish | 3 years, 5 months, 16 days | OpenBSD 7.6 |
| 6. | uugrn | 3 years, 5 months, 5 days | FreeBSD 11.2-RELEASE-p4 |
| 7. | deltavega | 3 years, 1 months, 21 days | Linux 3.10.0-1160.11.1.el7.x86_64 |
@@ -163,7 +163,7 @@
| 3. | alphacentauri | 6 years, 9 months, 13 days | FreeBSD 11.4-RELEASE-p7 |
| 4. | vulcan | 4 years, 5 months, 6 days | Linux 3.10.0-1160.81.1.el7.x86_64 |
| 5. | makemake | 4 years, 4 months, 7 days | Linux 6.9.9-200.fc40.x86_64 |
-| 6. | *earth | 4 years, 1 months, 11 days | Linux 6.15.7-200.fc42.x86_64 |
+| 6. | *earth | 4 years, 1 months, 13 days | Linux 6.15.7-200.fc42.x86_64 |
| 7. | sun | 3 years, 10 months, 2 days | FreeBSD 10.3-RELEASE-p24 |
| 8. | *blowfish | 3 years, 5 months, 17 days | OpenBSD 7.6 |
| 9. | uugrn | 3 years, 5 months, 5 days | FreeBSD 11.2-RELEASE-p4 |
@@ -191,7 +191,7 @@
+-----+----------------+-------+
| 1. | FreeBSD 10... | 551 |
| 2. | Linux 3... | 550 |
-| 3. | *Linux 6... | 178 |
+| 3. | *Linux 6... | 179 |
| 4. | Linux 5... | 162 |
| 5. | Linux 4... | 161 |
| 6. | FreeBSD 11... | 153 |
@@ -207,7 +207,7 @@
| 16. | Darwin 15... | 15 |
| 17. | Darwin 22... | 12 |
| 18. | Darwin 18... | 11 |
-| 19. | FreeBSD 6... | 10 |
+| 19. | FreeBSD 7... | 10 |
| 20. | OpenBSD 4... | 10 |
+-----+----------------+-------+
@@ -224,7 +224,7 @@
| 2. | *OpenBSD 7... | 6 years, 9 months, 24 days |
| 3. | FreeBSD 10... | 5 years, 9 months, 9 days |
| 4. | Linux 5... | 4 years, 10 months, 21 days |
-| 5. | *Linux 6... | 2 years, 10 months, 21 days |
+| 5. | *Linux 6... | 2 years, 10 months, 23 days |
| 6. | Linux 4... | 2 years, 7 months, 22 days |
| 7. | FreeBSD 11... | 2 years, 4 months, 28 days |
| 8. | Linux 2... | 1 years, 11 months, 21 days |
@@ -255,7 +255,7 @@
| 2. | *OpenBSD 7... | 435 |
| 3. | FreeBSD 10... | 406 |
| 4. | Linux 5... | 317 |
-| 5. | *Linux 6... | 194 |
+| 5. | *Linux 6... | 195 |
| 6. | Linux 4... | 175 |
| 7. | FreeBSD 11... | 159 |
| 8. | Linux 2... | 121 |
@@ -282,7 +282,7 @@
+-----+------------+-------+
| Pos | KernelName | Boots |
+-----+------------+-------+
-| 1. | *Linux | 1073 |
+| 1. | *Linux | 1074 |
| 2. | *FreeBSD | 944 |
| 3. | *Darwin | 155 |
| 4. | *OpenBSD | 101 |
@@ -298,7 +298,7 @@
+-----+------------+------------------------------+
| Pos | KernelName | Uptime |
+-----+------------+------------------------------+
-| 1. | *Linux | 27 years, 11 months, 13 days |
+| 1. | *Linux | 27 years, 11 months, 15 days |
| 2. | *FreeBSD | 11 years, 5 months, 3 days |
| 3. | *OpenBSD | 7 years, 5 months, 5 days |
| 4. | *Darwin | 4 years, 10 months, 21 days |
--
cgit v1.2.3