Giter VIP home page Giter VIP logo

Comments (4)

EugenMayer avatar EugenMayer commented on August 25, 2024
  # 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.

MarkGibbons avatar MarkGibbons commented on August 25, 2024

@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.

EugenMayer avatar EugenMayer commented on August 25, 2024

@markan no, its exactly one - its the only lvm usage at all. Its a very basic (test) recipe

from lvm.

tas50 avatar tas50 commented on August 25, 2024

If we switch to use_inline_resources this will probably go away.

from lvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.