From dbafbd5ce9ca27e8f9bafbf64357d5fa42d34b71 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 22 Jul 2024 21:28:15 +0200 Subject: [PATCH] Fix lvcreate command on debian 12. The lvm2 version which ships on debian 12 [1] complains with Command does not accept option: --snapshot. on the attempt to create a snapshot. This commit should fix that. [1] LVM version: 2.03.16(2) (2022-05-18) Library version: 1.02.185 (2022-05-18) Driver version: 4.48.0 --- misma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/misma.c b/misma.c index 0802210..d11e0f9 100644 --- a/misma.c +++ b/misma.c @@ -873,7 +873,6 @@ static bool create_snapshot(struct origin *o, bool dry_run) "thin", "--quiet", "--quiet", - "-s", "--autobackup", "n", "-n", -- 2.39.5