Categories
Filesystem Kernel Linux RAM disk ZFS

Analyzing Ubuntu Initial Ramdisk

While investigating ZFS snapshot problems I was looking into Ubuntu 24.04 initial RAM disks (initrd/initramfs). So here’s what I found. Unpacking RAM disk Over the years many different ways to pack a RAM disk were used (things like cpio archives, squashfs, and so on). Since it has been a long time since I was forced […]

Categories
Filesystem ZFS

ZFS snapshot problems

While experimenting with encrypted ZFS root file systems, I encountered some odd behavior concerning snapshots: I had created a separate /etc file system with snapshots. The listing of the snapshots shows up, however all snapshot directories were empty: However zfs reported, that the snapshots contain data, so I guess the snapshots are created, they’re just […]

Categories
Filesystem Linux ZFS

Installing Ubuntu 24.04 using ZFS root filesystem

In order to investigate a possible Ubuntu server installation on top of (encrypted) ZFS, I decided to first do this with the desktop version. Reason for that is simple: The desktop version of the installer contains an option to install on a root ZFS volume (guess what: the server version does not). So I started […]

Categories
Filesystem Kernel Linux ZFS

ZFS feature upgrade

ZFS comes with quite a set of features. However when upgrading zfs, new features are not enabled by default for compatibility reasons. This may be reported by zpool status: In order to get more information about possible new features you can use zpool upgrade: You can add option -v to get more detailed information about […]

Categories
Cloud cloud-init Filesystem ISO Linux Virtualization

Unattended Ubuntu ISO

I recently built an unattended installation ISO to ease installation of Windows 11 test machines. So why not do the same for Ubuntu? While looking around I found solutions for Ubuntu 20.04 and 22.04. The 22.04 version basically works fine for Ubuntu 24.04. Nothing the less some modifications were required: the key server URL was […]

Categories
ISO Linux Microsoft Virtualization Windows

Unattended Windows ISO

For one or another reason even Linux enthusiasts need a Windows installation from time to time. But with every new version Microsoft adds more and bloatware or privacy violating settings that you need to decline during installation in order to get a halfway usable system. The same is true for forced requirements of TPM or […]

Categories
Filesystem Linux ZFS

ZFS and snapshots

One nice feature of filesystems like btrfs of zfs is snapshots. They preserve a certain state of a filesystem without wasting too much space (as long as the modification rate is low). In some cases it is fine to create a snapshot manually from time to time, however on several occasions I wished I had […]

Categories
BTRFS Filesystem License Linux ZFS

Introduction to BTRFS and ZFS

Last week I had a little chat with a very good friend of mine. We were talking about how to best configure his new home server. One of the topics was the choice of filesystems which resulted in a longer discussion with some other friends (all long term IT people and Linux enthusiasts). So I […]

Categories
Filesystem ZFS

OpenZFS and the state of block cloning

What’s block cloning? Block cloning allows to copy files (or parts of it = blocks) without allocating extra space (besides the metadata required for filename, attributes, or the references to existing on disk blocks). Similar techniques are used to implement things like snapshots or deduplication in filesystems supporting them. In practice this feature is very […]

Categories
Encryption Filesystem Kerberos Linux NFS

Ubuntu 24.04.1 upgrade and NFS/krb5 problems

After upgrading my Ubuntu 22.04 installation to Ubuntu 24.04.1 (using do-release-upgrade) my NFS exports stopped working. Kernel 6.8.0-41 reported an OOPS as soon as the NFS share was accessed (using sec=krb5b on the NFS client): Looking for a similar bug I found one on the NFS kernel mailing list titled “[PATCH] SUNRPC: Fix loop termination […]