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

Doesn’t display LVM group if one of the PVs are missing #104

Open
da2x opened this issue Jul 23, 2018 · 3 comments
Open

Doesn’t display LVM group if one of the PVs are missing #104

da2x opened this issue Jul 23, 2018 · 3 comments

Comments

@da2x
Copy link
Contributor

da2x commented Jul 23, 2018

blivet-gui fails to display a VG under the LVM header in the sidebar when one of the PVs of the VG is missing. I had a drive die on me (a cache disk). The LVM started working again after I lvremoved the cache pool, but it still didn’t show up in blivet-gui. It only reappeared there after I removed the PV from the VG.

bliviet-gui should still display a troubled LVM and identify the problem; and ideally even let users fix the problem.

Steps to reproduce: Setup a VG consisting of two PVs. Add a LV on one of the PVs and setup the other PV as a cache for the LV on the first PV. Then remove the PV with the cache.

@vojtechtrefny
Copy link
Member

Unfortunately blivet by default ignores incomplete VGs and there is no way how to tell it to not do that. This would require quite a big changes in blivet, but I agree it would be nice to have a way how to fix this (missing pvs) from blivet-gui.

@da2x
Copy link
Contributor Author

da2x commented Jul 26, 2018

It would be really useful if it could just show me the VG and label the PV as missing. Identifying the issue is can often be half the battle, right?

@dwlehman
Copy link

See rhinstaller/anaconda#1377, which is sort of along the same lines. I'm pretty open to changing this behavior in blivet. It would take some extra work for LVM though, since we'd potentially have some usable LVs and some non-usable LVs when there are missing PVs.

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

3 participants