OlliesDad@googlemail.com
2013-Jan-08 09:21 UTC
[Puppet Users] Puppet LVM create volume maximum size
Hello, Using the LVM module/providers from the forge I want to create a logical volume at the maximum size and I cannot work out how to do this. physical_volume -> volume_group -> logical_volume -> filesystem -> mount All works fine but you have to hard code the size for the logical volume. Anyone know if this is possible ? Thanks Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/3v2bPHcT0EMJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
OlliesDad@googlemail.com
2013-Jan-08 11:22 UTC
[Puppet Users] Re: Puppet LVM create volume maximum size
On Tuesday, January 8, 2013 9:21:54 AM UTC, Olli...@googlemail.com wrote:> > Hello, > > Using the LVM module/providers from the forge I want to create a logical > volume at the maximum size and I cannot work out how to do this. > > physical_volume -> volume_group -> logical_volume -> filesystem -> mount > > All works fine but you have to hard code the size for the logical volume. >Never mind sorted it with the help of http://projects.puppetlabs.com/issues/14718 Cheers Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/XiOQGvazTiUJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
John Warburton
2013-Jan-09 00:55 UTC
Re: [Puppet Users] Re: Puppet LVM create volume maximum size
On 8 January 2013 22:22, OlliesDad@googlemail.com <Paul.Seymour@barcap.com>wrote:> > Never mind sorted it with the help of > http://projects.puppetlabs.com/issues/14718 >Nice one. I thought it was just my wrapper around it. The doc <https://forge.puppetlabs.com/puppetlabs/lvm>implies setting size to "undef", which I''ve never been able to get working: - size The size of the logical volume. Set to undef to use all available space -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
James A. Peltier
2013-Jan-09 06:05 UTC
Re: [Puppet Users] Re: Puppet LVM create volume maximum size
On 8 January 2013 22:22, OlliesDad@googlemail.com < Paul.Seymour@barcap.com > wrote: | | Never mind sorted it with the help of | | http://projects.puppetlabs.com/issues/14718 | | Nice one. I thought it was just my wrapper around it. The doc implies | setting size to "undef", which I''ve never been able to get working: | * size | The size of the logical volume. Set to undef to use all available | space That''s what the documentation says but there''s no code in the current git repo to make it work. That patch adds support. It''s still not been merged sadly. :( -- James A. Peltier Manager, IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpeltier@sfu.ca Website : http://www.sfu.ca/itservices http://blogs.sfu.ca/people/jpeltier "The smartest people are constantly revising their understanding, reconsidering a problem they thought they’d already solved. They’re open to new points of view, new information, new ideas, contradictions, and challenges to their own way of thinking." - Jeff Bezos -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.