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

can't create swap volume #109

Open
theundefined opened this issue Dec 5, 2016 · 4 comments
Open

can't create swap volume #109

theundefined opened this issue Dec 5, 2016 · 4 comments

Comments

@theundefined
Copy link

Currently there is no possibility to create a swap volume. Iw would be nice to add that

@MarkGibbons
Copy link
Member

@theundefined

Do you want the lvm cookbook to be able to add newly created volumes as swap space? I use a modified version of the swap cookbook to add volumes created by lvm as swap space. I don't mount the created volume with lvm.

Mark

@theundefined
Copy link
Author

ideally - yes. But creating not mounted anywhere volume is enought :-)

@MarkGibbons
Copy link
Member

@theundefined
This worked for me as of lvm 1.3.7.

lvm_logical_volume "name" do
group 'someVG'
size '100G'
end

@ChrisAWalker
Copy link

I believe this request is already possible, as we do this by creating a logical volume without defining the filesystem, nor mount point. My company does this and attaches the volume directly into a VM.

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

6 participants