How to configure Docker storage to use LVM thin pool on an OpenShift Node
Issue
- Docker will not start might be linked to the docker storage setup.
- Docker shows error "Error starting daemon: error initializing graphdriver"
- Openshift 3 node will not start because docker daemon fails to start.
- I want to recreate my docker storage to you a thin pool logical volume.
- At
docker events
it fails creating the sandbox pod with following message.
kubelet, node.example.com Failed create pod sandbox: rpc error: code = Unknown desc = failed to create a sandbox for pod "mycontainer-9ggvh": Error response from daemon: devicemapper: Error running deviceCreate (createSnapDevice) dm_task_run failed
Environment
- Red Hat Openshift Container Platform 3
- Red Hat Atomic Host 7
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.