redhat-cop / infra.lvm_snapshots

Ansible roles for LVM snapshot management
MIT License
9 stars 7 forks source link

Bigboot can fail if autoactivation property not set #57

Closed swapdisk closed 9 months ago

swapdisk commented 9 months ago

We observed failed bigboot jobs on hosts where all logical volumes do not have autoactivation property set. When this is the case, the lsblk commands in bigboot.sh don't detect that the next partition holds an LVM physical volume. That leads to the pvresize not being done and then it all goes come-a-gutsa from there! Recommend fixing this by doing lvm vgchange -ay before kicking off the bigboot.sh script.

swapdisk commented 9 months ago

@jchristianh - I'll leave this to you. Thanks!

jchristianh commented 9 months ago

@swapdisk Please review and test the proposed fix. Thanks!