    # File lib/chef/provider/mdadm.rb, line 48
          def action_create
            unless @current_resource.exists
              converge_by("create RAID device #{new_resource.raid_device}") do
                command = "yes | mdadm --create #{@new_resource.raid_device} --chunk=#{@new_resource.chunk} --level #{@new_resource.level}"
                command << " --metadata=#{@new_resource.metadata}"
                command << " --bitmap=#{@new_resource.bitmap}" if @new_resource.bitmap
                command << " --raid-devices #{@new_resource.devices.length} #{@new_resource.devices.join(" ")}"
                Chef::Log.debug("#{@new_resource} mdadm command: #{command}")
                shell_out!(command)
                Chef::Log.info("#{@new_resource} created raid device (#{@new_resource.raid_device})")
              end
            else
              Chef::Log.debug("#{@new_resource} raid device already exists, skipping create (#{@new_resource.raid_device})")
            end
          end