Block layer component of the Linux kernel to create and manage virtual block devices atop of physical block devices. QUESTIONS MUST BE PROGRAMMING RELATED.
Questions tagged [device-mapper]
69 questions
2
votes
0 answers
Data Space Used not matching docker images output
The output for docker info shows that I'm using 515.1 GB of 622.8 GB
$ docker info
.
.
Server Version: 1.13.0
Storage Driver: devicemapper
Pool Name: vg-thinpool
Pool Blocksize: 524.3 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data…
![](../../users/profiles/7530278.webp)
brogand93
- 21
- 1
2
votes
1 answer
Implications of exposing /var/lib/docker over NFS to serve hosts with limited memory
What are the implications of exporting /var/lib/docker over NFS? The idea is to store the docker images in a server and export it to hosts which has limited memory to store and run containers. This would be useful to avoid having each host download…
![](../../users/profiles/2684633.webp)
koshyg
- 71
- 1
- 5
2
votes
0 answers
Get dm-verity status (Corrupted or Verified) on Android using veritysetup
I'm trying to get dm-verity status from adb shell using veritysetup, but all the devices I'm passing result in:
# cryptsetup 1.3.1 processing "./veritysetup --debug --verbose status /dev/device-mapper"
# Running command status.
# Initialising…
![](../../users/profiles/3115552.webp)
madhat1
- 598
- 7
- 15
2
votes
1 answer
Docker aufs and devicemapper directories both exist
I am trying to clean up some space on my server and found that both /var/lib/docker/aufs and /var/lib/docker/devicemapper exist.
Usage of /: 86.8% of 78.62GB Users logged in: 0
ncdu 1.10 ~ Use the arrow keys to navigate, press ? for…
![](../../users/profiles/907060.webp)
saul.shanabrook
- 2,716
- 2
- 28
- 44
2
votes
1 answer
Can I port a Linux DMA driver to Windows?
I want to run it on Windows without a significant change.
I hope, I can change only headers and corresponding functions.
http://www.alterawiki.com/wiki/File:G2x4_avmm_dma_Linux.tar.gz
![](../../users/profiles/1065942.webp)
snow
- 1,359
- 1
- 10
- 20
1
vote
2 answers
Compiling/linking applications using libdevmapper
I'm actually doing a make and make install in the LVM source code directory so I can compile and link my application using -ldevmapper.
I'm wondering if this is the only way (correct way) to build/link applications using libdevmapper ?
![](../../users/profiles/1091716.webp)
ydev
- 25
- 4
1
vote
1 answer
Where can I find documentation on the raw dm_mirror interface?
I'd like to use dm_mirror directly, rather than through LVM or MD, but I've had trouble finding clear documentation on the table format it expects. Is such a document available somewhere?
Note that I want to use this to mirror one partition to…
![](../../users/profiles/36723.webp)
bdonlan
- 205,037
- 27
- 244
- 316
1
vote
0 answers
How to solve /dev/mapper/docker full?
I'm working on some docker container.
While trying to install some python packages /dev/mapper/docker gets filled.
I read Clean docker environment: devicemapper, but this would stop ruining containers and impact the current workflow. How can I…
![](../../users/profiles/10215361.webp)
catsarecats
- 49
- 1
- 1
- 5
1
vote
2 answers
create a non-trivial device mapper target
I am trying to write a remapping target for usage with DM.
I followed instructions from several places (including this Answer) all essentially giving the same code.
This is ok, but not enough for me.
I need to modify "in transit" data of struct bio…
![](../../users/profiles/1714490.webp)
ZioByte
- 1,822
- 21
- 44
1
vote
0 answers
Docker devicemapper (direct-lvm) metadata gets huge amount of folders
Hi i have 3 node Swarm docker setup (1 manager, 2 nodes) on Centos 7. I'm using devicemapper data storage for all three VM's. The problem is that after some time folder:
/var/lib/docker/devicemapper/metadata and ../mnt
have so many files / folders…
![](../../users/profiles/2822310.webp)
masahuku
- 184
- 6
1
vote
1 answer
Double layer of device mapper - customising dm-crypt
Is it possible to create a device mapper over another device mapper?
I need to apply some checks in addition to encrypting the data on disk. So, I thought of creating a mapper (for additional checks) over the mapper created by dm-crypt and use new…
![](../../users/profiles/2255299.webp)
user2255299
- 165
- 6
1
vote
1 answer
docker aufs to devicemapper docker container and images migration
I'm on Ubuntu, changing default docker storage driver from aufs to devicemapper. I've some docker images and containers on aufs. i took backup of aufs storage files from /var/lib/docker .
how can i import aufs images and containers to devicemapper…
![](../../users/profiles/3738033.webp)
Ningappa
- 1,118
- 3
- 14
- 26
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,…
![](../../users/profiles/6930476.webp)
Jason Tom
- 21
- 5
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…
![](../../users/profiles/3114959.webp)
Stepan Vavra
- 3,540
- 2
- 27
- 38
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…
![](../../users/profiles/6460141.webp)
pcsram
- 487
- 2
- 5
- 11