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 Partition wiping is not working properly on EL7 #217

Open
2 tasks
jouvin opened this issue Oct 31, 2016 · 5 comments
Open
2 tasks

LVM Partition wiping is not working properly on EL7 #217

jouvin opened this issue Oct 31, 2016 · 5 comments
Assignees

Comments

@jouvin
Copy link
Contributor

jouvin commented Oct 31, 2016

In EL7, if you reinstall a machine with the same partitions and if there is one partition used by LVM (I think this is the trigger), you have to restart the installer 3 times before the installation proceeds successfully. It may have to do with a message displayed by the installation kernel when it starts about the LVM volume group already existing (if I saw properly).

It would be a minor problem if the third time it was not necessary to confirme that you want to wipe the LVM logical volumes, as the first 2 reboots occur automatically because the storage configuration doesn't allow the installer to continue.

In fact, there are probably to issues:

  • why wiping doesn't work properly on EL7 when it works well on EL6 (with the same partitioning)?
  • why -y is not taken into account by the lvcreate command?
@ned21 ned21 added this to the 17.4 milestone Mar 14, 2017
@jrha
Copy link
Member

jrha commented Mar 21, 2017

Discussed at March 2017 workshop, @stdweird suggested that the -y option maybe fixed in the install images for 7.3.

@jrha
Copy link
Member

jrha commented Mar 21, 2017

@gombasg also suggested that the older partition wiping code in blockdevices may be better at eradicting the source of some of these problems.

@jnovy
Copy link

jnovy commented Mar 27, 2017

FYI: we still see lvcreate going interactive without -y in RHEL7u3.

@jnovy
Copy link

jnovy commented Apr 5, 2017

It seems that -y -Wy -Zy passed to lvcreate should make the interactivity go away.

Reference

@jrha jrha modified the milestones: 17.8, 17.7 Jul 31, 2017
@jrha jrha removed this from the 17.8 milestone Sep 7, 2017
@stdweird stdweird self-assigned this Oct 26, 2017
@ned21
Copy link
Contributor

ned21 commented Oct 26, 2017

@stdweird reported that he ran into this 2 weeks ago so it remains a live issue. He will try the options suggested above. @jnovy - how did we solve this internally? Anything we can push upstream?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants