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

Allow adding new partitions to disks with active devices #141

Conversation

vojtechtrefny
Copy link
Member

#93 for f22-branch

@vpodzime
Copy link
Contributor

vpodzime commented Jun 1, 2015

Looks good to me with the second commit (19cd03c) added.

@vpodzime vpodzime added the ACK label Jun 1, 2015
@vpodzime
Copy link
Contributor

vpodzime commented Jun 1, 2015

Just one more thing -- please add the 'cherry-picked from ....' lines to the commit messages (and consider using git cherry-pick -x next time)

Parted doesn't allow changing disklabel when there is an active
partition on the disk. Current implementation of
findActiveDevicesOnActionDisks doesn't allow adding new partitions
when there is an existing active (child) device other than another
partition (eg. VG). New version checks only actions that actually
changes the disklabel and checks status of formats of (child) devices
on the disk with changes.

(cherry picked from commit b72e957)

Signed-off-by: Vojtech Trefny <vtrefny@redhat.com>
LVMPhysicalVolume format should be True (active) if exists and if
has an existing VG.

(cherry picked from commit de7b86c)

Signed-off-by: Vojtech Trefny <vtrefny@redhat.com>
vojtechtrefny added a commit that referenced this pull request Jun 2, 2015
Allow adding new partitions to disks with active devices
@vojtechtrefny vojtechtrefny merged commit 56cc8da into storaged-project:f22-branch Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants