From f571ad33079fcd676e4b61f1c88d23124336d7b3 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 28 Dec 2023 12:04:51 +0100 Subject: [PATCH] =?UTF-8?q?=E2=88=92=20lvm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bash/hetzner-rescue.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 163589f..682c300 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -284,14 +284,6 @@ function hetzner-rescue-wipe-8-8-2 { # open echo "${passphrase}" \ | cryptsetup luksOpen '/dev/md/crypt' 'crypt' - # pv - pvcreate '/dev/mapper/crypt' - # vg - vgcreate 'crypt' '/dev/mapper/crypt' - # lv swap - lvcreate --name 'swap' --size '137438953472b' 'crypt' - # lv data - lvcreate --name 'data' --extents '100%FREE' 'crypt' # format swap mkswap \ --label 'swap' \ @@ -302,8 +294,6 @@ function hetzner-rescue-wipe-8-8-2 { -L 'data' \ -U '006234a0-eb29-a3a8-471d-bd5ec4bada55' \ '/dev/mapper/crypt-data' - # vg off - vgchange --activate n 'crypt' # close cryptsetup luksClose 'crypt' }