Skip to content

Commit 6528a8b

Browse files
committed
longstanding typo in my /etc/lvm/lvm.conf fixed
Disk name exclusion was attempting to resolve to /dev/.../ata-WUHWUH... Also added wildcard to be sure to pick up on partitions. Looking at this because since October, lvscan in host is now picking up LVs from hosts. Change looks to be a proxmox or debian kernel change, but haven't found the cause of it yet. However, not having this fixed might have been responsible for backup disks not having spun down recently.
1 parent 323f946 commit 6528a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/pve_server/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
dest: /etc/lvm/lvm.conf
142142
backrefs: yes
143143
regexp: '^(.*global_filter=.*, "r\|ANSIBLE_RULES_AFTER\|").*\]'
144-
line: '\1, "r|/dev/disk/by-id/scsi-(35000cca26ad20e04|35000cca2735316e8|35000c500cbde71c3)|", "r|/dev/disk/by-id/ata-WUH(WUH721816ALE6L4_2CH6JXTJ|WUH721816ALE6L4_2CH83RBJ)|"]'
144+
line: '\1, "r|/dev/disk/by-id/scsi-(35000cca26ad20e04|35000cca2735316e8|35000c500cbde71c3)*|", "r|/dev/disk/by-id/ata-WUH(721816ALE6L4_2CH6JXTJ|721816ALE6L4_2CH83RBJ)*|"]'
145145
state: present
146146
become: true
147147

0 commit comments

Comments
 (0)