# File lib/chef/provider/mdadm.rb, line 52
      def action_create
        unless @current_resource.exists
          command = "yes | mdadm --create #{@new_resource.raid_device} --chunk=#{@new_resource.chunk} --level #{@new_resource.level} --raid-devices #{@new_resource.devices.length} #{@new_resource.devices.join(" ")}"
          Chef::Log.debug("#{@new_resource} mdadm command: #{command}")
          #pid, stdin, stdout, stderr = popen4(command)
          shell_out!(command)
          Chef::Log.info("#{@new_resource} created raid device (#{@new_resource.raid_device})")
          @new_resource.updated_by_last_action(true)
        else
          Chef::Log.debug("#{@new_resource} raid device already exists, skipping create (#{@new_resource.raid_device})")
        end
      end