From 3d9d6a80a1df16d3ebe054b3b1b19905c200aa95 Mon Sep 17 00:00:00 2001 From: mrfly Date: Wed, 29 Nov 2017 00:10:44 +0800 Subject: [PATCH] add troubleshooting (#5387) * add troubleshooting See: https://github.com/moby/moby/issues/34343 * express better --- engine/userguide/storagedriver/device-mapper-driver.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/engine/userguide/storagedriver/device-mapper-driver.md b/engine/userguide/storagedriver/device-mapper-driver.md index 3b3898e954..ed3eeb9124 100644 --- a/engine/userguide/storagedriver/device-mapper-driver.md +++ b/engine/userguide/storagedriver/device-mapper-driver.md @@ -623,6 +623,16 @@ block device and other parameters to suit your situation. ``` +### Activate the `devicemapper` after reboot + +If you reboot the host and find that the docker service failed to start, +you'll see the error, "Non existing device". You need to re-activate the +logical volumes with this command: + +```bash +sudo lvchange -ay docker/thinpool +``` + ## How the `devicemapper` storage driver works > **Warning**: Do not directly manipulate any files or directories within