Docker, Vagrant, CentOS 7, cannot start -
the /var/log/messages
log below
aug 3 04:27:54 localhost lvm[3169]: thin centos-docker--pool 100% full. aug 3 04:27:54 localhost lvm[3169]: insufficient free space: 1 extents needed, 0 available aug 3 04:27:54 localhost lvm[3169]: failed extend thin centos-docker--pool.
and systemctl status log below:
docker.service - docker application container engine loaded: loaded (/usr/lib/systemd/system/docker.service; enabled) active: failed (result: exit-code) since mon 2015-08-03 04:22:52 utc; 6min ago docs: http://docs.docker.com process: 7577 execstart=/usr/bin/docker -d $options $docker_storage_options $docker_network_options $add_registry $block_registry $insecure_registry (code=exited, status=1/failure) main pid: 7577 (code=exited, status=1/failure) aug 03 04:22:52 localhost.localdomain systemd[1]: starting docker application container engine... aug 03 04:22:52 localhost.localdomain docker[7577]: time="2015-08-03t04:22:52z" level=info msg="+job serveapi(unix:///var/run/docker.sock)" aug 03 04:22:52 localhost.localdomain docker[7577]: time="2015-08-03t04:22:52z" level=info msg="listening http on unix (/var/run/docker.sock)" aug 03 04:22:52 localhost.localdomain docker[7577]: time="2015-08-03t04:22:52z" level=fatal msg="shutting down daemon due errors: error intializing graphdriver: unable take ownership of... data blocks" aug 03 04:22:52 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/failure aug 03 04:22:52 localhost.localdomain systemd[1]: failed start docker application container engine. aug 03 04:22:52 localhost.localdomain systemd[1]: unit docker.service entered failed state. hint: lines ellipsized, use -l show in full.
and here lsblk
result:
[root@localhost vagrant]# lsblk name maj:min rm size ro type mountpoint sda 8:0 0 9.9g 0 disk ├─sda1 8:1 0 500m 0 part /boot └─sda2 8:2 0 9.4g 0 part ├─centos-root 253:0 0 8.4g 0 lvm / ├─centos-swap 253:1 0 1016m 0 lvm [swap] ├─centos-docker--pool_tmeta 253:2 0 12m 0 lvm │ └─centos-docker--pool 253:4 0 16m 0 lvm └─centos-docker--pool_tdata 253:3 0 16m 0 lvm └─centos-docker--pool 253:4 0 16m 0 lvm sr0 11:0 1 1024m 0 rom sr1 11:1 1 1024m 0 rom
this problem maybe there not enough lvm
space use. allocated 16mb
.
solution resize logic volume
of centos-docker-pool
Comments
Post a Comment