Thank you all for the advice, what you guys wrote was very useful to me (in practice) so far. I didn't answer sooner being too busy trying the things you all said.
To clarify a little, the machine is a single user desktop and main PC at home
- must have multimedia, meaning only offline movies and analog stereo, no DRM streams
- must use nVidia+Intel GPUs
- must be able to play a movie at 4k/60Hz on a monitor with DP (Display Port), or on any of the other 2-3 smaller monitors, including a HDMI one in another room
- must work with Creative sound card
- must work with audio over HDMI (for the remote HDMI monitor in the other room)
- amateur software writing
- some EDA tools for the home lab
- not used for gaming
- not used as a file/web/streaming/etc. server
- has an 8TB WD Red HDD (that's their low enterprise server grade, but still SATA) for local/fast access storage
- it is not a backup machine
- there is another 4GB RAID5 dedicated NAS (over LAN), but it is very slow, has only 100Mb LAN, and the transfer speeds are much lower than that (about 10Mbit/s in practice, it's a small non-PC Linux on a SBC about twice the size of a Raspberry Pi and it looks like this
https://duckduckgo.com/?q=WD+Share+Space+4+TB&ia=images ). It's an old WD Share Space, slow but very reliable so far. It has Samba and NFS and only has a brief webpage to add user and other common tasks. It does not have OS access unless hacked, and I don't want to touch it because it always just worked.
@evb149
- I've tried Fedora with KDE a couple of years ago, and found it very heavy and slower than Kubuntu, but stable. My understanding is that's the free rolling/testing distribution for Red Hat.
- centOS was always recommended as a not so cutting edge but rock-solid OS. That was like a free version of Red Hat in my understanding. I've read recently the project was ended, no idea if it is still alive under a new name.
Never installed centOS, but I guess this is to late now. By reading only, centOS doesn't seem like a good choice for a multimedia desktop back then (when compared to Ubuntu). In fact I even wanted to give it a try but the installer didn't cope with my hardware, so I couldn't install centOS, and didn't try to find out why the installer was constantly hanging.
- about ZFS-Crypto or any other disk encryption, I don't need that extra bag of worms, only have personal crap to store, like photos and hobby projects, I'm no spy, and the job of the former James Bond was taken already by a black woman, which is the new 007 in the latest "James Bond - No Time to Die" movie (2021).
- also no ZFS deduplication, not really needed for my usage, so far the 32GB RAM was more than enough for a single ZFS disk (8TB). The RAM is not ECC, but brand name and faster than needed, it was bought back then for gaming/overclocking, so now it is very reliable when used at its normal speed profile (the BIOS detects too speed profiles inside the RAM ID chips, and allows to make a selection or fine tuning the timings).
The other thing I don't know about is how they've currently engineered and optimized the support for the present kinds of very heterogeneous low end storage devices -- * small NVME 0.5-2TB SSDs; * SATA attached small SSDs; * SATA attached slow NAS or archival type spinning disc drives; USB attached archival spinning disc drives, * remote attached storage (e.g. NAS, cloud, ...).
My understanding is ZFS is by default "friendly" with SSD disks, because it prefers to write on new sectors instead of reusing the "freed" blocks, I think this is called CoW (Copy on Write), but I'm not very sure.
SSD Provisioning and SWAP
- I've seen provisioning sometimes called over-provisioning or under-provisioning, sometimes refers to some internal (not visible) extra capacitity, some other times it refers to letting some free (unformatted) space on each SSD disk.
- for example the SSD tool called Samsung Magician does this on Windows: It let about 10-15% of the total disk space unformatted.
It seems like the SSD firmware (or at least this Samsung SSD firmware) can figure out by itself that there is an unused (unformatted) area, and take advantage of that to reduce the wear out of the most frequent used sector from the allocated areas. The re-mapping of used blocks to the unformatted area is transparent for the whole PC.
I'm not sure about over-provisioning. Apparently none of the installers are over-provisioning by themselves on my SSD (tested FreeBSD/ZFS, openSUSE/BTRFS or Ubuntu/ZFS).
- Is this over-provisioning still a requirement for file systems like ZFS or BTRFS?
- All the auto/entire-disk install wizards are creating a 2GB swap partition, but it doesn't make any sense to me. Do I still need that extra 2GB swap partition on a 32GB RAM PC?
@Wuerstchenhund
BTRFS is not just the default file system in openSUSE, it is also the default and fully supported file system in SUSE Linux Enterprise (SLE), which is SUSE's commercial Linux offering. SUSE is also one of the main contributors to BTRFS (as they are to many other FOSS projects). The fact alone that BTRFS is fully supported by the 2nd largest enterprise Linux vendor (after Red Hat) should already tell you that BTRFS, at least on SUSE, is completely reliable. The only thing that isn't supported are the RAID5/6 modes of BTRFS, which are blocked in SLE (you can do RAID/5 on Linux dmraid, which is supported).
What I can tell you is that at work we have several hundreds of TB of important data on BTRFS, and so far it has been rock-solid. We also use SLE and openSUSE for engineering desktops, and again BTRFS has been perfectly fine for everything we throw at it.
That removed any last doubt I was having about BTRFS. In fact, the Ubuntu with ZFS on root has an open bug as we speak, confirmed and with data loss or even full ZFS array loss if encrypted.
@Nominal Animal
You could just use any FS on top of LVM, and use LVM for the snapshots, restore, et cetera.
You do need to either use thin provisioning, or not commit all disk space for the actual filesystems. That extra space is needed to describe the differences between the snapshots and the live system. I don't know how well LVM support is integrated into YaST, although its documentation does say it does support thin-provisioned LVM volumes. I myself use the command-line LVM tools, and don't use OpenSUSE, so I cannot say whether the UI tools are any good.
Never used LVM, I need to learn more about it, only read some brief pages years ago and it looked less capable and more cumbersome to administer than ZFS.
Though, after all the ZFS goal might be just some personal sunken cost fallacy of mine, because it happened that ZFS was the FS I've start using when I bought that 8TB HDD, and already piled up a few TB (mostly of deletable files) but it might be difficult to migrate to some other format without another extra 8TB HDD, which I have no budget for right now.
@nightfire
FreeBSD has a very big history and reputation on the server side of things, and can be used as a desktop, but lots of things that one would need in an advanced desktop environment are simply not the strengths of FreeBSD
...
Here has to be kept in mind that the *BSD approach to most things is a more conservative one
The conservative part is one of the wanted benefits I was looking for when testing FreeBSD (e.g. rc configs and no systemd), but everybody tell me it might not be a good choice for my needs.
I think I'll keep a FreeBSD installed on another disk, and put some time into learning more about BSD and UNIX style.
@olkipukki
SUSE is meaningful choice between everyone-knows-me and some extraordinary penguins.
Wonder why OP didn’t stop the choice on Ubuntu - KDE is not first-class citizen?
The tale with Ubuntu is that a few years ago, when I decided to leave the Windows world forever, the only OS that can fully auto-install and recognize all the hardware out of the box was Ubuntu.
The Gnome was too basic and looked ugly to me, so very soon I've migrated to Kubuntu, which is a Ubuntu with KDE Plasma 5 out of the box. Later I've learned that I can switch or have many GUI installed, tried almost all of them, and KDE Plasma is the right one for me.
Unfortunately there is no Kubuntu with ZFS on root, only an Ubuntu with ZFS on root installer.
Ubuntu 20.04 with ZFS root install + KDE Plasma added later
I've tried it these days and had a very unpleasant surprise. The long time support version of Ubuntu has a broken/buggy installer when it came to ZFS on root (aside from the currently opened bug affecting dkms ZFS). It installs, but then it silently upgrade the kernel version during the installation process (I've unchecked the "Download upgrades in the background" in the installer). And the newer kernel doesn't boot. I guess I should have unplugged the network cable during install.
After booting with the first kernel it worked, and I could install KDE on top of Ubuntu/ZFS root, and then tried to upgrade all, but the new kernel still doesn't boot.
When they say ZFS on root is experimental, they mean it, even for their latest flagship distro, Ubuntu 20.04.3 LTS.
Back to first time using openSUSE, some questions
At first I've tried Tumbleweed, but at some point it started to behave strange, for example after installing the proprietary nVidia drivers the autologon stopped working and couldn't make it work again from either the plasma or the YaST settings.
Then, after a big chunk of updates and switching once to Wayland and back to Plasma, it start behaving erratical even after a reboot and using only Plasma (it's stated in the docs Wayland doesn't work yet on openSUSE).
So I've reinstalled anew openSUSE Leap 15.3 the latest stable version of free SUSE. This was rock solid so far, but at some point it needed extra codecs for VLC, and they do not have them yet in the Leap 15.3, so took some codecs declared as experimental that came together with a horrible VLC 3.0, so I've installed MPV. That VLC 3.0 looks and behave like absolute crap!
- since the extra-codecs install, the sound card is not properly innitialized, volume is either mute, about 1% or 100%, no intermediary volume though the slider is moving normally.
- I've install a desktop widget (for no reason) called SUSE prime selector to try how it would be with the Intel GPU instead of nVidia, but that changed/added some xorg.conf.d files, and I don't know what else was changed but I don't know how to make it like before that widget. The switching back to nVidia doesn't work from the widget menu, and after manually deleting the conf file added by the widget it reverted to using nVidia, but now the desktop looks different, I had to scale the display x1.5 to make it look the same. Though, at the clean install the display was not zoomed yet the KDE was looking like the currently x1.5 zoomed.
- it was late in the morning, maybe I was too sleepy, but there was no snapshot in the YaST GUI to recover from that /etc/X11/xorg.con.d/* changes (maybe other changes in other places too, IDK, the widget asks for reboot (not logout) for its changes to take effect.
- at almost any action I need to redo prefernce settings from my former Kubuntu habits, or to install the missing programs. This is not because os openSUSE, but over the last 3 years or so there are a lot of customization and installs that I now had to copy into the new OS, no matter what the final choice would be.
- then, for the latest Leap 15.3, not all the programs existing in the 15.2 repositories are present into 15.3, don't know if those programs will be left outside forever or just not yet ready, or maybe just the installer webpages are outdated (sometimes if I manually change in the command line from 15.2 to 15.3 it works even if the webpage was not listing any 15.3 program). But not always, sometimes there is no repository in the most recent 15.3, or maybe I'm looking in the wrong place and I shouldn't bother with those webpages, but they are from the opensuse org URL, IDK.
- maybe I should consider just migrating the old Kubuntu to the SSD (now it's on an ancient 150GB Barracuda HDD). After all, backups and/or snapshots can be made even without ZFS or BTRFS on the root partition. At least in the old Kubuntu all the installs and customization are already made and working.
IDK, I'm puzzled and in sleep deprivation after so many installs.
Maybe I should
sleep on it before committing to any.
Either way, I'll keep the openSUSE KDE Dark theme.