Has anyone tried bhyve on OmniOS?
Hello,not on omniOS but on smartOS. We've been running bhyve VMs on it from right after it was available. bhyve has *much* better performance and less overhead than KVM, the VMs (especially windows guests) are much more responsive even with the exact same VM ressources (vCPU/RAM)
We are slowly replacing our smartOS hosts with FreeBSD though, because it better fits my workflow and offers some advantages for our small-ish infrastructure (i.e. more flexible host configuration/usage compared to an immutable smartOS image).
As for noteable differences/advantages: service management and networking on illumos are vastly different in logic and configuration approach. SMF is quite a mighty beast; same goes for the network stack and its virtualization capabilities. Of course this comes with a learning curve, and not everything might be "better" - but the majority depends on personal preferences.
illumos/solaris has been built with the strict mantra of "always production safe and observable", so illumos is fantastic in terms of integration and interoperability of tools and underlying architecture. There are lots of tools to analyze system behaviour and if those are exhausted, you still have dtrace (which is also available on FreeBSD).
Also the manpages are exceptionally good, especially because *everything* has examples. FreeBSD is close, but given that a lot of GNU/Linux stuff is creeping into the base system, some spots are not so well (e.g. wireguard, which has completely wrong and useless manpages on FreeBSD).
But at the end of the day it all depends on your requirements and what you are more comfortable with. E.g. SMF is rather opaque and can be quite a PITA, rc is plain, simple and easily observable (just add 'echo' statements to the scripts...). Both work very well and reliably for what they are designed to do, so it's all down to requirements and preferences - as for the rest of the OS.
$ file /bin/ls
/bin/ls: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped, no debugging information available
Zones management is unmatched. It takes only few keystrokes and few moments to create new zone. On the other hand, I played only once with jails, but I found it cumbersome and time consuming to manage. Another nice-to-have for Solaris/illumos is SMF. With built-in converter for init-style services, adding own services to it, is a piece of cake.
… SMF even allowed something called "soft-reboots"; where you could restart the entire userland without touching the kernel; …
reboot -r
(alone) in FreeBSD?The system kills all processes, unmounts all filesystems, mounts the new root filesystem, and begins the usual startup sequence. After changingvfs.root.mountfrom
with kenv(1),reboot -r
can be used to change the root filesystem while preserving kernel state. This requires the tmpfs(5) kernel module to be loaded because init(8) needs a place to store itself after the old root is unmounted, but before the new root is in place.
Zones management is unmatched. It takes only few keystrokes and few moments to create new zone. On the other hand, I played only once with jails, but I found it cumbersome and time consuming to manage. Another nice-to-have for Solaris/illumos is SMF. With built-in converter for init-style services, adding own services to it, is a piece of cake.
I've read this type of comment a lot, so I suppose it must be something.Zones management is unmatched
I've read this type of comment a lot, so I suppose it must be something.
I know nothing about Solaris, SmartOS, illumOS so I searched and found few information and also this doc from solaris , I took a quick look at it and it sounds like a jail/container thing.
In which way it is better than jail exactly?
It is a real question though, I am not trying to start a war or something.
May be I should give it a try in VM to get an answer but if one of you could give an idea that would be great, thank you.
I don't know where you get your information from but you don't need to compile anything from source. you can have a jail up and running in 30 seconds(from scratch). a minimal(thin/sparse-root) jail is ~65 MB. every jail management tool out there can create thick or thin jails or you can do it manually yerself.
it seems that you can start a SMB server just by setting zfs sharesmb=on
It has been a lot said about advantages of Solaris. Even Solaris ZFS implementation avoids double buffering as in FreeBSD, but the eco-system is limited too much. When migrated from Linux (Jan 2022) I've made a check list to choose between the two. And if we speak about workstation, there is no port of Google Chrome for Solaris and that's a deal breaker. Also it's package manager sucks. Also you can run FreeBSD both on hosting and at home. So FreeBSD is a compromise between Linux that develops chaotically so much, that it doesn't make sense for me as a user. FreeBSD is kinda a patchwork of different techs (3 firewalls?! are you kidding me?!), but with that it manages to be the same i used to use for the last 20 years. And I miss an old closed source gtk2 software like Nero burner and Adobe reader. I like when things just work as before for a long time.
The only thing that bothers me about FreeBSD is they dropped the original Solaris ZFS and adopted OpenZFS which are developed mainly by Linux developers. My concern is the stability of OpenZFS's data integrity as if a bug is introduced which could compromise the dataset. Solaris ZFS is extremely stable and there is no reason to adopt OpenZFS. Why fix things when it ain't broken.
The recent corruption bug ws debugged and fixed by a FreeBSD person. OpenZFS has a lot more person-power than Solaris.
Exactly. That tells you the quality of Linux developer's coding. FreeBSD developer was able to catch it but how many more are not caught? It only takes one bug to destroy the entire dataset if Linux developers don't take the time to test and audit the updated codes.
No, the bug has been in ZFS forever, before ZFS even ran on FreeBSD. Nobody in OpenZFS at fault.