Comments (4)
# Create the mount point
dir_resource = directory "cleanup_#{mount_spec[:location]}" do
path mount_spec[:location]
mode '755'
owner 'root'
group 'root'
recursive true
action :nothing
not_if { Pathname.new(mount_spec[:location]).mountpoint? }
end
dir_resource.run_action(:create)
# Mark the resource as updated if the directory resource is updated
updates << dir_resource.updated?
# Mount the logical volume
mount_resource = mount "cleanup_#{mount_spec[:location]}" do
mount_point mount_spec[:location]
dump mount_spec[:dump]
pass mount_spec[:pass]
device device_name
fstype fs_type
action :nothing
end
Would be somekind of a thing, but it does not help for me. I do not ge then implicit clone issue at all while reading http://tickets.chef.io/browse/CHEF-3694 so i am stuck in the woods
from lvm.
@EugenMayer
It looks like you might have a recipe with multiple logical volume resources that specify the mount point /mnt/data/.
Regards,
Marks
from lvm.
@markan no, its exactly one - its the only lvm usage at all. Its a very basic (test) recipe
from lvm.
If we switch to use_inline_resources this will probably go away.
from lvm.
Related Issues (20)
- Missing attribute file after upgrading LVM package on RHEL7 HOT 4
- Path to lvm binary should be set by default HOT 3
- This cookbook is not using the latest chef-ruby-lvm-attrib gem 0.2.6
- undefined method `ignore_skipped_cluster' for Chef::Resource::LvmThinVolume
- DB library error: db5 error(-30973) HOT 2
- Logical volume :resize and :remove don't seem to do anything
- Red Hat 7.7 causing LVM to fail with the same errors as https://github.com/chef/chef-ruby-lvm-attrib/issues/7 HOT 2
- Switching to chef-ruby-lvm-attrib version 0.3.2
- a bad patch to quiet the generate_field_data" from chef-ruby-lvm-attrib conflicts with /opt/chef/embedded/bin/generate_field_data issue HOT 1
- NoMethodError: undefined method `action' for Chef::Provider::LvmLogicalVolume:Class HOT 4
- Resource provider conflict for lvm_volume_group
- Red Hat 8.2: Unable to load lvm attributes [lvs.yaml] for version [2.03.09(2)] HOT 3
- eibcccttcekgvgvkkvnngnujrllcldlvnjjtugdnincn
- RHEL 8.4: No support for lvm 2.03.11(2)
- Unable to load lvm attributes [lvs.yaml] for version [2.02.188(2)] HOT 3
- pvcreate gets stuck if the device has a valid filesystem signature HOT 1
- Red Hat 8.6: Unable to load lvm attributes [lvs.yaml] for version [2.03.14(2)]
- Cookbook needs updated to use the newest chef-ruby-lvm-attrib gem
- RHEL9 - Unable to load lvm attributes [lvs.yaml] for version [2.03.16(2)]. HOT 1
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lvm.