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
0
votes
1 answer

is docker storage driver a persistent storage

i'm new to docker and i'm trying to understand persistent storage in docker. in the section Manage Application data > Store data within containers > About storage drivers https://docs.docker.com/storage/storagedriver/ Storage drivers allow you to…
0
votes
1 answer

Who brings up lvm volumes and how when booting?

I know the logical volumes info is saved in the lvm metadata, and the tools from lvm2 can be used to scan them out and setup the kernel DM by ioctl. I am curious that who does this work during booting so we can mount lv as rootfs, systemd?
Changbin Du
  • 501
  • 5
  • 11
0
votes
0 answers

How do I use devicemapper in a Linux container

I would like to run some software (paradux) that uses devicemapper inside a Linux container started with systemd-nspawn. How do I get devicemapper (specifically via cryptsetup and LUKS) to work in the container?
Johannes Ernst
  • 3,072
  • 3
  • 42
  • 56
0
votes
2 answers

Is there any public implementation of dm-default-key module for android kernels?

Android 9.0 states that there is some support for metadata encryption (https://source.android.com/security/encryption/metadata). This seems to require presence of some "dm-default-key" module. It appears that I did not find any reference of this…
0
votes
1 answer

docker - how to determine which mount belongs to which image?

We use device mapper storage driver. This is probably more of a docker than k8s question. Is there is a way to determine for example where this mount is coming…
Tagar
  • 13,911
  • 6
  • 95
  • 110
0
votes
0 answers

Docker device mapper: can't find location where image is stored

Running an AWS ec2 with ECS AMI. I pulled an image from a private repository. The image got pulled and its size is 19.37GB. Storage driver is device mapper. Doing a docker system df -v shows: docker system df -v Images space usage: REPOSITORY …
Vin Dat
  • 11
  • 3
0
votes
1 answer

docker-storage-setup package is not available on my rhel 7 box? how do i get it? I need to create a thin pool with device mapper.

i am trying to create a thin pool on my rhel box to use with devicemapper as it is the recommended way to use docker storage. But unfortunately i am not able to find docker-storage-setup package on my machine which is needed to create the thin pool.…
lakshayk
  • 121
  • 7
0
votes
1 answer

'ioctl' signature for device mapper

The question may seem naive, but I'm new to kernel/driver programming. I created a device mapper over a block device, which is working fine. It's constructor/destructor and map methods are called. Now, I'm trying to write an ioctl for this mapper.…
user2255299
  • 185
  • 7
0
votes
2 answers

Docker devicemapper storage space

Am getting the "no space left on device" error while removing a container. # docker rm orientdb1 Error response from daemon: Driver devicemapper failed to remove root filesystem ba18ea8014b6024eb738502612130244ff363b433f146102c64eb2eb0f3a321c:…
TechEnthusiast
  • 1,795
  • 2
  • 17
  • 32
0
votes
0 answers

Deleting devicemapper after changing storage driver

Long time listener, first time caller. I've inherited a CI box running docker and I'm looking to clear some space. Running docker info tells me that the current storage driver is overlay. Despite that, I can see /var/lib/docker/devicemapper still…
lolh4x
  • 59
  • 2
0
votes
0 answers

Mount mapped device on boot

I have a Linux system with 2.4 kernel version. I need to make a mapping device through device-mapper for root partition and mount to it at boot time. I need to use special mapper type (not a standart one like linear or mirror). So, I tried to write…
AccumPlus
  • 161
  • 9
0
votes
0 answers

Pulling of docker image from a registry fails

Would love some help about an issue. When I was trying to download an image form the repository it failed and I could see the following errors in the log file. This is the syslog which I received Jan 4 10:22:05 kernel: device-mapper:…
Gaurav
  • 104
  • 1
  • 7
0
votes
1 answer

Device mapper, boot with virtual device

I have a task to make a virtual device under a real one with the help of device mapper kernel module. Virtual device must transfer any request to a real device, so both devices must be equal. In prospective I should be able to control requests, so I…
AccumPlus
  • 161
  • 9
0
votes
1 answer

Extend docker devicemapper loop-lvm sparse file

We are using Docker as part of our build pipeline. As we're using CentOS, the default Docker installation has set up devicemapper with a loop-lvm sparse file. Now that sparse file has reached it's size limit of 100G and we're not able to build any…
neptoon
  • 53
  • 1
  • 9
0
votes
1 answer

how can I change docker storage driver to devicemapper on mac

I am trying to change the storage driver to devicemapper on mac. and was following the steps in Change docker storage driver on Mac OS X but I got the following error, my docker for mac is latest version. $ docker-machine create --driver virtualbox …
weiwang
  • 393
  • 3
  • 10