From 21a731d07b9cc13e7c5e13079d1d6ce4f985e8e0 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 2 Jun 2014 16:10:24 +0200 Subject: [PATCH] MT#7267 Force lvcreate when re-deploying Debian's BTS has all the details in #750212 which I just reported. lvm2 version 2.02.106-1 includes a check for present signatures, and without "--yes" option fai-setup-storage is hanging when executing lvcreate on a device which includes such a (swap) signature. --- deployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index 72e5e9d..93e5e37 100755 --- a/deployment.sh +++ b/deployment.sh @@ -808,7 +808,7 @@ primary - 4096- - - disk_config lvm vg ngcp ${DISK}1 ngcp-root / -95% ext3 rw -ngcp-swap swap RAM:50% swap sw +ngcp-swap swap RAM:50% swap sw lvcreateopts="--yes" EOF # make sure setup-storage doesn't fail if LVM is already present