Docker Community Forums

Share and learn in the Docker community.

Doker and Thinpool Problem


(Swud) #1

Hi,

i have an thinpool (pool00) on lvm2 running. In this pool is my lv for root and a data moutnpount.

home VG Vwi-aotz-- 21.64g pool00 3.75
pool00 VG twi-aotz-- 227.36g 1.65 2.16
root VG Vwi-aotz-- 21.64g pool00 13.61
swap VG -wi-ao---- 5.88g

I want to know if it is possible to get docker cooperate with this thinpool or if docker has to have its own thinpool ?

i changed vim /etc/sysconfig/docker-storage to

DOCKER_STORAGE_OPTIONS= --storage-opt dm.thinpooldev=/dev/mapper/VG-pool00

By that docker does not start and says the following:
Volume group “VG” has insufficient free space (0 extents): 60 required

Like before you can see that the pool has enough space, but it seems to be that docker-storage-setup wanted to create a new pool or new logical volume (lv).

Is it possible to run docker on an already created and used thinpool lv ??

Thanks