Docker Community Forums

Share and learn in the Docker community.

Docker lvm resize DESTROYED MY DOCKER


#1

on centos7 i have resized my lvm with these commands:

umount /home/
lvremove /dev/centos/home
lvextend --size +50.00GB -r /dev/mapper/centos-root
lsblk
sed -i ‘/centos-home/d’ /etc/fstab


so, after that worked with my machine properly and without any trouble (more than 4 days of work and development.

BUT today i have restarted my machine and down docker refuse to start, because of this:

[root@host1 ~]# systemctl status docker.service -l
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled)
Active: failed (Result: start-limit) since gio 2015-08-20 14:00:43 CEST; 14min ago
Docs: https://docs.docker.com
Process: 2056 ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=1/FAILURE)
Main PID: 2056 (code=exited, status=1/FAILURE)
CGroup: /system.slice/docker.service

ago 20 14:00:42 host1.dev systemd[1]: Unit docker.service entered failed state.
ago 20 14:00:42 host1.dev systemd[1]: Starting Docker Application Container Engine…
ago 20 14:00:43 host1.dev docker[2056]: time=“2015-08-20T14:00:43.030051868+02:00” level=error msg="[graphdriver] prior storage driver “devicemapper” failed: Base Device UUID verification failed. Possibly using a different thin pool then last invocation:exit status 2"
ago 20 14:00:43 host1.dev docker[2056]: time=“2015-08-20T14:00:43.030203235+02:00” level=fatal msg=“Error starting daemon: error initializing graphdriver: Base Device UUID verification failed. Possibly using a different thin pool then last invocation:exit status 2”


What to do now? i can’t loose all my data here.

I need to start docker, here or on another machine, what should i do? passing the /var/lib/docker/ folder from this machine to another one, will fix the trouble?