[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

OpenShift origin node: cat /etc/sysconfig/docker-storage



I was just checking my storage/volume on my nodes of OpenShift Origin 1.2.0.
cat /etc/sysconfig/docker-storage
showed me:

DOCKER_STORAGE_OPTIONS="--storage-driver devicemapper --storage-opt dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/vg1-docker--pool --storage-opt dm.use_deferred_removal=true --storage-opt dm.use_deferred_deletion=true "

Is it normal I see --storage-driver devicemapper? I try to use a volume pool which is also described in the output (vg1-docker-pool).

$lvs showes me:
  LV          VG     Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  root        centos -wi-ao---- xxg
  swap        centos -wi-ao----  xxg
  docker-pool vg1    twi-aot--- xxg


While df -h shows me:
Filesystem                                  Size  Used Avail Use% Mounted on
/dev/mapper/centos-root                      14G  8.9G  5.1G  64% /

Is this normal? It seems to me it isn't using my pool or am I wrong? On another cluster of me df-h showes me: /dev/xvda1 which is the disk on which I created my volume group etc. This seems not be like that now because my path should be something like /dev/sdb/ instead of /dev/mapper/centos-root?

But the sieze of /dev/mapper/centos-root is too small to contain all the images which are on that node. So I'm pretty confused. I don't know where my images are saved.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]