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

Added support to the resize of a logical volume with swap #136

Merged
merged 1 commit into from
Dec 12, 2015

Conversation

ricciocri
Copy link

Hello,

I noticed that the provider did not extended automatically the logical volume for a swap partition, so I've done this small change that follow the best practive for doing it.
swapoff (turn off swap)
mkswap (format the logical volume again, so it uses the whole size)
swapon (put swap back online).

Best Regards

@walkamongus
Copy link

just ran into this recently as well -- would love this!

bmjen added a commit that referenced this pull request Dec 12, 2015
Added support to the resize of a logical volume with swap
@bmjen bmjen merged commit a397c1f into puppetlabs:master Dec 12, 2015
cegeka-jenkins pushed a commit to cegeka/puppet-lvm that referenced this pull request Oct 23, 2017
Added support to the resize of a logical volume with swap
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.

4 participants