title: Can't run Docker container due device mapper error
body: <p>I just can't create and run new containers in Docker anymore. 
  But in the same time a can run previously created containers. </p>
  
  <p>When I try to do something like this:</p>
  
  <pre><code>[user@host ~ ] docker run --name=fpm-5.3 debian:jessie
  2014/07/12 07:34:08 Error: Error running DeviceCreate (createSnapDevice) dm_task_run failed
  </code></pre>
  
  <p>From <strong>docker.log</strong>:</p>
  
  <pre><code>2014/07/12 05:57:11 POST /v1.12/containers/create?name=fpm-5.3
  [f56fcb6f] +job create(fpm-5.3)
  Error running DeviceCreate (createSnapDevice) dm_task_run failed
  [f56fcb6f] -job create(fpm-5.3) = ERR (1)
  [error] server.go:1025 Error: Error running DeviceCreate (createSnapDevice) dm_task_run failed
  [error] server.go:90 HTTP Error: statusCode=500 Error running DeviceCreate (createSnapDevice) dm_task_run failed
  </code></pre>
  
  <p><strong>dmsetup status</strong></p>
  
  <pre><code>docker-8:1-1210426-pool: 0 209715200 thin-pool 352 2510/524288 205173/1638400 - ro discard_passdown queue_if_no_space 
  </code></pre>
  
  <p>But they are a lot of free space on disk.</p>
  
  <p><strong>dmsetup info</strong> </p>
  
  <pre><code>Name:              docker-8:1-1210426-pool
  State:             ACTIVE
  Read Ahead:        256
  Tables present:    LIVE
  Open count:        1
  Event number:      1
  Major, minor:      252, 0
  Number of targets: 1
  </code></pre>
  
  <p><strong>docker info</strong> </p>
  
  <pre><code>Containers: 4
  Images: 65
  Storage Driver: devicemapper
   Pool Name: docker-8:1-1210426-pool
   Data file: /var/lib/docker/devicemapper/devicemapper/data
   Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
   Data Space Used: 12823.3 Mb
   Data Space Total: 102400.0 Mb
   Metadata Space Used: 9.9 Mb
   Metadata Space Total: 2048.0 Mb
  Execution Driver: native-0.2
  Kernel Version: 3.14.4
  </code></pre>
  
  <p><strong>docker version</strong></p>
  
  <pre><code>Client version: 1.0.0
  Client API version: 1.12
  Go version (client): go1.2.2
  Git commit (client): 63fe64c
  Server version: 1.0.0
  Server API version: 1.12
  Go version (server): go1.2.2
  Git commit (server): 63fe64c
  </code></pre>