←back to thread

185 points psxuaw | 10 comments | | HN request time: 1.018s | source | bottom
Show context
whalesalad ◴[] No.43536630[source]
I notice FreeBSD admins tend to follow a 'pets not cattle' approach, carefully nurturing individual systems. Linux admins like myself typically prefer the 'cattle not pets' mindset—using infrastructure-as-code where if a server dies, no problem, just spin up another one. Leverage containers. Statelessness.

I don't want to spend time meticulously configuring things beyond the core infrastructure my services run on. I should probably explore FreeBSD more, but honestly, with containers being everywhere now, I'm not seeing a compelling reason to bother. I realize jails are a valid analogue, but broadly speaking the UX is not the same.

All this being said, I have this romantic draw to FreeBSD and want to play around with it more. But every time I set up a basic box I feel teleported back to 2007.

Are there any fun lab projects, posts, educational series targeted at FreeBSD?

replies(6): >>43536769 #>>43537039 #>>43537278 #>>43539063 #>>43541053 #>>43542740 #
1. yabones ◴[] No.43536769[source]
The only thing I currently run on FreeBSD is my storage box. ZFS is absolutely amazing, and FreeBSD supports it fully and without any of the "jank" you'd get running ZFS on Linux. It Just Works (tm), bottom to top. Anything else, I want what I'm familiar with on Linux, like containers and systemd services. I know some people really love pf, but I've been using iptables for so long it would be annoying to switch at this point. So really, it comes down to what you're familiar and comfortable with, and using the right tool for the job.
replies(3): >>43536935 #>>43537368 #>>43539069 #
2. MisterTea ◴[] No.43536935[source]
> ZFS is absolutely amazing, and FreeBSD supports it fully and without any of the "jank" you'd get running ZFS on Linux.

This is why I use FreeBSD as well for my home server, first class ZFS support out of the box. Void Linux musl on my desktop.

I had an old 2TB ZFS array that was part of a trunas setup kicking around for years. I needed to recover some files from it so I hooked all the disks to a motherboard and booted FreeBSD live. I didn't have to do anything, the array was already up and running when I logged in. ezpz.

replies(1): >>43538760 #
3. lunarlull ◴[] No.43537368[source]
> without any of the "jank" you'd get running ZFS on Linux.

What jank? Compile it in the kernel of load the module, install the zfs utils, then it's done. Very simple, no complications, where is the jank?

replies(2): >>43537620 #>>43542102 #
4. whalesalad ◴[] No.43537620[source]
Ostensibly DKMS can be interpreted as jank, for situations where you upgrade your kernel, zfs integration fails or blocks that, and now you are in limbo. At least, I can imagine this being a complaint from someone.
replies(1): >>43548875 #
5. E39M5S62 ◴[] No.43538760[source]
ZFS is a first-class citizen on Void Linux, too. There's a lot of care and consideration put into the kernel packages to ensure compatibility with ZFS. ZFSBootMenu is 'native' to Void as well, and the features it provides are quite far ahead of what FreeBSD's bootloader has.
replies(1): >>43539709 #
6. aborsy ◴[] No.43539069[source]
ZFS works on Ubuntu top to the bottom too. It’s installed with a command.
7. MisterTea ◴[] No.43539709{3}[source]
I prefer OS variety and have a mix of Plan 9, Linux, FreeBSD and OpenBSD running my personal stuff.
8. bigstrat2003 ◴[] No.43542102[source]
I certainly would qualify having to compile it for your kernel as jank.
replies(1): >>43548870 #
9. lunarlull ◴[] No.43548870{3}[source]
It's not a different step to have to compile it for my kernel. I patch it in and after that it's a transparent part of compiling a kernel in total.
10. lunarlull ◴[] No.43548875{3}[source]
I can see that. I compile ZFS directly into the kernel so I've never really dealt with DKMS issues.