Mark Gibbons
Mark Gibbons
@mudash @vsingh-msys If you get a moment. Does this one make sense to you?
@vsingh-msys thanks for the comments. I'll take a look at using the absolute path name for the global requests. I added the UseGlobal and UseOrg to the parameter list because...
@ccope Here's the code that creates the directory for mounting the volume from the lvm_logical_volume provider: ``` # Create the mount point dir_resource = directory mount_spec[:location] do mode 0755 owner...
Testing - You can use loopback file systems for testing with serverspec. No extra block devices needed. I haven't checked the test setup here recently but lvm itself used to...
Which attributes do you mean, the mount point attributes or the attributes of the file system after it is mounted?
@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...
@theundefined This worked for me as of lvm 1.3.7. lvm_logical_volume "name" do group 'someVG' size '100G' end
``` # If file system is specified, format the logical volume if fs_type.nil? Chef::Log.info 'File system type is not set. Not formatting...' elsif device_formatted?(device_name, fs_type) Chef::Log.info "Volume '#{device_name}' is already...
@EugenMayer It looks like you might have a recipe with multiple logical volume resources that specify the mount point /mnt/data/. Regards, Marks