lvm
lvm copied to clipboard
can't create swap volume
Currently there is no possibility to create a swap volume. Iw would be nice to add that
@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
ideally - yes. But creating not mounted anywhere volume is enought :-)
@theundefined This worked for me as of lvm 1.3.7.
lvm_logical_volume "name" do group 'someVG' size '100G' end
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.