From 0e7e66f00da0b37ef68cca0d13a1588a30cb9235 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 6 Jul 2026 01:10:20 +0200 Subject: Use conventional storage name --- host_vars/pve.local.yml | Bin 827 -> 803 bytes roles/pve-storage/defaults/main.yml | 2 +- roles/pve-storage/meta/argument_specs.yml | 2 +- roles/pve-storage/tasks/main.yml | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/host_vars/pve.local.yml b/host_vars/pve.local.yml index 16fb0f37..de4befa8 100644 Binary files a/host_vars/pve.local.yml and b/host_vars/pve.local.yml differ diff --git a/roles/pve-storage/defaults/main.yml b/roles/pve-storage/defaults/main.yml index 77499ce0..0c72131d 100644 --- a/roles/pve-storage/defaults/main.yml +++ b/roles/pve-storage/defaults/main.yml @@ -1,4 +1,4 @@ --- pve_storage_device: "/dev/sda4" -pve_storage_name: "pve" +pve_storage_name: "vmdata" pve_storage_pool: "data" diff --git a/roles/pve-storage/meta/argument_specs.yml b/roles/pve-storage/meta/argument_specs.yml index 7f502ef7..dbc6773d 100644 --- a/roles/pve-storage/meta/argument_specs.yml +++ b/roles/pve-storage/meta/argument_specs.yml @@ -9,7 +9,7 @@ argument_specs: pve_storage_name: type: "str" description: "LVM volume group name" - default: "pve" + default: "vmdata" pve_storage_pool: type: "str" description: "LVM thin pool name within the volume group" diff --git a/roles/pve-storage/tasks/main.yml b/roles/pve-storage/tasks/main.yml index 069766e7..98518587 100644 --- a/roles/pve-storage/tasks/main.yml +++ b/roles/pve-storage/tasks/main.yml @@ -15,7 +15,7 @@ vg: "{{ pve_storage_name }}" lv: "{{ pve_storage_pool }}" size: "100%FREE" - opts: "--type thin-pool" + opts: "--type thin-pool --poolmetadatasize 1G" shrink: false state: present tags: -- cgit v1.2.3