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

Bug#956226: linux: dh-thin-pool module missing in md-modules udeb, d-i unable to remove thinly provisioned logical volume



Source: linux
Version: 4.19.67-2+deb10u2
Severity: normal
Tags: d-i patch

The dm-thin-pool module is required when you want to run d-i on a machine
which contains thinly provisioned logical volumes. Otherwise d-i is unable
to remove them and you see messages like this from partman-lvm:
    
> modprobe: FATAL: Module dm-thin-pool not found in directory /lib/modules/4.9.0-9-amd64
[...]
> Can't process LV vg_system/lv_system: thin-pool target support missing from kernel?

Thus I attach a patch to add the missing module in md-modules. I have also
included the dependencies (dm-persistent-data and dm-bio-prison), I'm not
sure if it's required...

Cheers,
 Raphaël.

-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog <hertzog@debian.org>
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋    The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄⠀⠀⠀⠀   Debian Long Term Support: https://deb.li/LTS
>From 3b91afe0e9bc9626d81ae6695a7072e4bd792ef3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <hertzog@debian.org>
Date: Wed, 8 Apr 2020 17:51:54 +0200
Subject: [PATCH] udeb: add dm-thin-pool in md-modules udeb

That module is required when you want to run d-i on a machine which
contains thinly provisioned logical volumes. Otherwise d-i is unable
to remove them and you see messages like this from partman-lvm:

modprobe: FATAL: Module dm-thin-pool not found in directory /lib/modules/4.9.0-9-amd64
Can't process LV vg_system/lv_system: thin-pool target support missing from kernel?
---
 debian/installer/modules/md-modules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/installer/modules/md-modules b/debian/installer/modules/md-modules
index d4f710406d46..d2da3b835d4f 100644
--- a/debian/installer/modules/md-modules
+++ b/debian/installer/modules/md-modules
@@ -6,9 +6,12 @@ raid0
 raid1
 raid456
 raid10
+dm-bio-prison
 dm-mirror
+dm-persistent-data
 dm-raid
 dm-snapshot
+dm-thin-pool
 bcache
 
 # RAID-related libraries, also used by btrfs
-- 
2.26.0

Attachment: d-i-log.png
Description: PNG image


Reply to: