[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1031739: linux: Please enable DLM kernel module in cloud kernels



Package: linux
Severity: normal

Dear Maintainer,

I am in a situation where I am using a GFS2 cluster in virtual machines and
realized I couldn't do it with the 'cloud' kernel because the 'dlm'
kernel module is not present in this flavour. It does work when I switch
to the bare-metal kernel.

Other distributed fs might require 'dlm' (OCFS2 comes to mind). It's a
handy tool when you can mount the same NAS-like (Ceph, etc) on multiple
virtual machines and avoid SPOFy NFS configurations this way.

The diff between the bare-metal and cloud configs seem to be :

CONFIG_DLM=m
CONFIG_DLM_DEBUG=y
CONFIG_GFS2_FS_LOCKING_DLM=y

On an AMD64 Bullseye system, the /lib/modules part of the cloud kernel
weights 72584 kB and adding the dlm.ko modules seems it would add 480 kB
which is not negligible (+0.7%).


-- System Information:
Debian Release: 11.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-0.deb11.2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: