-
Notifications
You must be signed in to change notification settings - Fork 72
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
'vgchange --systemid' doesn't work with '--select vg_uuid=<uuid>' #93
Comments
Hi, unfortunately the --select option only works with a subset of lvm commands, and can't be used with vgchange (we should change the error message to avoid the wrong suggestion.) There is another simple way of doing what you need by limiting the set of devices the command uses to only the PVs in the VG that you are trying to change: Newer lvm versions: Older lvm versions: |
The second way worked for me. Thank you! |
It was pointed out that vgchange does actually work with --select, and it was simply the command definitions that were missing the necessary annotation to allow --select with vgchange --systemid. That's now been added. |
sorry, I didn't quite understand, is this already fixed in the latest version of lvm, or you made a commit? anyway, if you know the commit hash, could you post a link |
Hello! I have version lvm2 2.03.07.
If I have two VG devices with same name, then I can't change systemid by VG_UUID, but the 'vgchange' offers it, but doesn't work
PS: I created two devices with the same name by removing the disks, and then returning them
The text was updated successfully, but these errors were encountered: