Questions tagged [device-mapper]

Block layer component of the Linux kernel to create and manage virtual block devices atop of physical block devices. QUESTIONS MUST BE PROGRAMMING RELATED.

72 questions
1
vote
2 answers

google/cadvisor:latest image monitor container run error

I found the bug below on the above "devicemapper" at bugzilla.redhat.com. It let me install the "device-mapper-persistent-data" package. However, when I installed it, I received the following error. I tried to use this link to solve the error,…
Jason Tom
  • 89
  • 1
  • 8
1
vote
0 answers

Docker service process zombie holding a Device Mapper managed device

I'm running RHEL (kernel 4.1.12) with Docker (1.12.1) and my docker service dockerd became a zombie [dockerd] with PID 412 # ps -a | grep dockerd 1 412 412 412 ? -1 Zsl 0 23:28 [dockerd] and it holds…
Stepan Vavra
  • 3,884
  • 5
  • 29
  • 40
1
vote
1 answer

No Space on CentOS with Docker

I was using Docker on my CentOS machine for a while and had lot of images and containers (around 4GBs). My machine has 8GBs os storage and I kept getting an error from devicemapper whenever trying to remove a Docker container or Docker image with…
pcsram
  • 597
  • 2
  • 5
  • 12
1
vote
2 answers

Docker /var/lib/docker/devicemapper/devicemapper using 2.7GB

I am a developer in codiva online ide. Every time the user runs a java program, we start a new container. We use devicemapper storage driver because that is the only way we were able to set an upper limit on the container size. After a few months of…
JackDaniels
  • 985
  • 9
  • 26
1
vote
2 answers

After stopping docker containers , previously running containers cannot be started

I had a working and running container but after stopping the container and again starting it , it gives me the error: [ec2-user@ip-10-215-0-163 ~]$ docker start kamailio Error response from daemon: Cannot start container kamailio: Error getting…
Tinkaal Gogoi
  • 4,344
  • 4
  • 27
  • 36
1
vote
0 answers

OpenShift 3 - Build "cannot be started due to lack of disk space"

When attempting to perform a Build within OpenShift, it immediately fails with the error "cannot be started due to lack of disk space" showing up in the Events viewer. I can't seem to figure out why OpenShift is thinking I'm low on disk when…
1
vote
0 answers

Create a volume group on Ubuntu to support non-loopback devicemapper driver for docker?

There is a lot of material pointing out the dangers of using a loopback devices with the devicemapper driver. This question seems to contain most of the information necessary to move away from a loopback device. Usage of loopback devices is strongly…
rissem
  • 503
  • 1
  • 5
  • 11
1
vote
0 answers

Docker intermittently failing when building image

Does anybody know what might cause this? This is running from Jenkins in AWS. The host is linux. The base is: FROM dockerfile/ubuntu Step 4 : RUN chown -R www-data:www-data /var/lib/nginx ---> Running in f921a053a51d time="2015-02-23T05:56:16Z"…
Douglas Ferguson
  • 1,242
  • 2
  • 14
  • 25
1
vote
1 answer

How to use device mapper in Android(dmsetup cannot be found)

I am trying to use device mapper in Android, but still stuck on the command "dmsetup" didn't found in Android. I have loaded the linear.ko and zero.ko which are target device classes successfully in my Android device, but cannot create a virtual…
user3457702
  • 31
  • 1
  • 4
0
votes
0 answers

Accessing structures in the linux kernel

As part of a training project, I have to access the dm_dirty_log structure in the driver I wrote, but I can't find the right API command to extract data from it. I looked through all the references to dm_dirty_log mentions that I found. But all I…
0
votes
0 answers

How to decrease devicemapper/data file size?

i need to move the docker folder “/var/lib/docker” to another VPS but the “devicemapper/data” file take 100G and it actually used about 9G, I can’t move the folder because this file is too large please help me to decrease his size docker…
Raafat A
  • 1
  • 1
0
votes
0 answers

Where in device-mapper code to find offset code?

Trying to tinker with device mapper source code. Maybe someone is familiar and can point me to where the offset is tied to one sector size in the code? This is where I get the code from: https://sourceware.org/dm/
user145453
  • 137
  • 10
0
votes
0 answers

Increase container disk space on devicemapper storage

I am using devicemapper storage in docker (with default space e.g 10gb). In one of container root volume has been consumed and container is not starting. I know there are way to increase device mapper space using dmsetup utility. but i am unable to…
Ankit
  • 607
  • 1
  • 5
  • 12
0
votes
0 answers

How to create a mapped device with a specific sector size?

I have implemented my own device mapper target and I am able to create a mapped device with dmsetup create command. The problem is that the sector size for this device becomes the default 512 bytes, and I would like to change it to 4096 bytes…
0
votes
2 answers

How to verify base device size of docker container

I know that Docker uses a storage pool to allocate storage to each container. When using devicemapper storage by default the size of the storage pool is 100GB and the default limit of each container is 10G. This data are shown in Base Device Size…
Abhishek
  • 763
  • 7
  • 18