From adabf1224b1be43cb059db39af5a3a2df4174852 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Mon, 30 Dec 2024 17:59:53 -0700 Subject: [PATCH] warnings --- proxmox/proxmox-create-lvm-thin.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/proxmox/proxmox-create-lvm-thin.sh b/proxmox/proxmox-create-lvm-thin.sh index 7d138a0..7016c46 100644 --- a/proxmox/proxmox-create-lvm-thin.sh +++ b/proxmox/proxmox-create-lvm-thin.sh @@ -1,8 +1,16 @@ #!/bin/bash +# this create an lvm-thin with the same naming scheme the proxmox installer uses + # xxx TODO EDITME target=/dev/sda4 +echo '*** YOU NEED TO EDIT THIS SCRIPT BEFORE RUNNING IT ***' +echo '*** AUTHOR IS NOT RESPONSIBLE FOR DATA LOSS!! ***' +echo '' +echo "About to create lvm-thin on $target - Enter to continue or ^C" +read + pvcreate $target vgcreate -A y pve $target