Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LVM CLI exiting with exit code 5 after snapshot resize with no requested change #21

Open
trgill opened this issue Jan 28, 2024 · 0 comments

Comments

@trgill
Copy link
Collaborator

trgill commented Jan 28, 2024

Edit: it only happens when no size change is required

update code that estimates extend required to round the request to a physical extent

[root@fedora snapshot]# lvextend -L 10551296B vg1/lv2_vg1_snapset1
  Rounding size to boundary between physical extents: 12.00 MiB.
  New size (3 extents) matches existing size (3 extents).
  No size change.
[root@fedora snapshot]# echo $?
5
@trgill trgill changed the title LVM CLI exiting with exit code 5 after snapshot resize LVM CLI exiting with exit code 5 after snapshot resize with no requested change Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant