From 969734c4cd2f83c15a77d751fe0919125a7f3546 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 3 Oct 2023 09:57:39 +0200 Subject: [PATCH] lv --- bash/hetzner-rescue.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index c2431ff..ad04071 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -250,6 +250,10 @@ function hetzner-rescue-wipe-12-10-10 { pvcreate '/dev/mapper/crypt' # vg vgcreate 'crypt' '/dev/mapper/crypt' + # lv swap + lvcreate --name 'swap' --size '68719476736b' 'crypt' + # lv data + lvcreate --name 'data' --extents '100%FREE' 'crypt' #### # vg off vgchange --activate n 'crypt' @@ -258,10 +262,6 @@ function hetzner-rescue-wipe-12-10-10 { } function hetzner-rescue-wipe-12-10-10-extra { - # lv swap - lvcreate --name 'swap' --size '68719476736b' 'crypt' - # lv data - lvcreate --name 'data' --extents '100%FREE' 'crypt' # format swap mkswap --label 'swap' '/dev/mapper/crypt-swap' # format data