Skip to content

Correct lvm volume list bug#10

Merged
eroussy merged 3 commits intomainfrom
correct_lvm_volume_list_bug
Dec 12, 2025
Merged

Correct lvm volume list bug#10
eroussy merged 3 commits intomainfrom
correct_lvm_volume_list_bug

Conversation

@eroussy
Copy link
Member

@eroussy eroussy commented Dec 12, 2025

Correct a bug when multiple volume group where present on the machine
Also remove a mention to sfl_ci

Multiple volume groups can be already present on the machine, but
previous code only handled one.
Correct this bug by iterating within the volume group list

Also check that the volume group is part of the disk we are targeting
to avoid removing volume groups from other disks.

Signed-off-by: Erwann Roussy <erwann.roussy@savoirfairelinux.com>
Signed-off-by: Erwann Roussy <erwann.roussy@savoirfairelinux.com>
@eroussy eroussy added the bug Something isn't working label Dec 12, 2025
Signed-off-by: Erwann Roussy <erwann.roussy@savoirfairelinux.com>
@eroussy eroussy merged commit 0a659c3 into main Dec 12, 2025
2 checks passed
@eroussy eroussy deleted the correct_lvm_volume_list_bug branch December 12, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants