So in the new Ubuntu 20.04 (which I have) it is written on their blog page that
Ubuntu 20.04 LTS ships with a newer ZFS which features native, hardware-enabled encryption, device removal, pool trim and improved performance. While still experimental, we’ve built upon this feature with the addition of zsys.
I wanted to understand this 'support' and what actually they mean by that.
So upon doing
df -T I got the following output (of which I am posting the first 2 relevant columns):
Filesystem Type udev devtmpfs tmpfs tmpfs /dev/sdb2 ext4 tmpfs tmpfs tmpfs tmpfs tmpfs tmpfs /dev/loop0 squashfs /dev/loop4 squashfs /dev/loop3 squashfs /dev/loop2 squashfs /dev/loop5 squashfs /dev/loop7 squashfs /dev/loop11 squashfs /dev/loop9 squashfs /dev/loop10 squashfs /dev/loop1 squashfs /dev/loop12 squashfs /dev/loop8 squashfs /dev/loop13 squashfs /dev/loop14 squashfs /dev/loop18 squashfs /dev/loop17 squashfs /dev/loop16 squashfs /dev/loop15 squashfs /dev/loop6 squashfs /dev/loop19 squashfs /dev/sda2 vfat tmpfs tmpfs tmpfs tmpfs /dev/sdb1 fuseblk
So I can see ext4 not zfs, then I got to know that we have zfs module but not loaded as
lsmod | grep zfs gave nothing, so I did
sudo modprobe zfs (now I could see it upon doing
lsmod) but upon loading it,
zfs command was still unrecognized and I found in this Getting Started With ZFS Ubuntu 20.04 article that I have to install it using apt.
Also on a side note if I try to find ext modules then
lsmod | grep ext4 gives nothing.
So what purpose does the module serve? Why the whole thing is not already pre-installed? Am I missing something here?
So I have understood that why and where ZFS is configured when installed, but what I do not understand is, suppose you do not configure ZFS upon installation and now want to do it, then first you have to load some modules and then install zfsutils. Why is that? Why it is not build like we can just load the whole thing?
Also, currently I am not able to find the ext4 modules