Test Environment: ---
Eoan/Focal amd64 kernel on i386 dpkg arch.
$ dpkg-architecture | grep DEB_HOST_ARCH= DEB_HOST_ARCH=i386
$ uname -m x86_64
Test Steps: ---
apt install -y gfs2-utils corosync dlm-controld linux-modules-extra-$(uname -r)
corosync-quorumtool -e 1 systemctl restart dlm.service
DISK=disk.img dd if=/dev/zero of=$DISK bs=1M count=128 2>&1 LOOP=$(losetup --find --show $DISK)
mkfs.gfs2 -p lock_dlm -t debian:test -J 32 -j 2 -O $LOOP mount $LOOP /mnt
gfs2_jadd -j 1 /mnt
Note: The 'gfs2_jadd' command either fails with ENOTTY upfront or goes on. For a simple test let's make it fail with ENOSPC instead.
Test Environment:
---
Eoan/Focal amd64 kernel on i386 dpkg arch.
$ dpkg-architecture | grep DEB_HOST_ARCH=
DEB_HOST_ARCH=i386
$ uname -m
x86_64
Test Steps:
---
apt install -y gfs2-utils corosync dlm-controld linux-modules- extra-$ (uname -r)
corosync-quorumtool -e 1
systemctl restart dlm.service
DISK=disk.img
dd if=/dev/zero of=$DISK bs=1M count=128 2>&1
LOOP=$(losetup --find --show $DISK)
mkfs.gfs2 -p lock_dlm -t debian:test -J 32 -j 2 -O $LOOP
mount $LOOP /mnt
gfs2_jadd -j 1 /mnt
Note:
The 'gfs2_jadd' command either fails with ENOTTY upfront or goes on.
For a simple test let's make it fail with ENOSPC instead.