Questions tagged [device-mapper]
30 questions
1
vote
1 answer
using same LVM volume for devicemapper and a bind mounted volume
I'm running an Amazon EC2 machine with a 512GB EBS mount. My plan is to split the EBS into two parts - one to be used by Docker 1.11 for its images (via devicemapper) and another to be bind-mounted to the docker VM (for storing some big pieces of…

Sandeep
- 117
- 4
1
vote
0 answers
Is it possible to extend the data device of an Thin Provision pool setted by device mapper?
TL;DR :
How can I extend the Thin-Pool if I'm not using LVM but Device Mapper itself directly?
Detailed version:
As far as I know,
when we create a thin-pool by dmsetup, we can set a low_water_mark;
once the watermark is reached, a dmevent will be…

Ruinland
- 11
- 3
1
vote
0 answers
dmcache - is removing cache device without suspending safe?
I'm using plain dmcache for SSD cache - unmount procedure goes this way:
umount fs
suspend cache device
remove cache device
close lvm
close LUKS
shutdown
However sometimes dmsetup doesn't allow me to remove cache device throwing Device busy error,…

Lapsio
- 363
- 1
- 5
- 15
1
vote
0 answers
Is it possible to migrate between two physical disks without (much) downtime?
I have a server with a medium-sized database on a disk which is filling-up. There is no LVM or RAID or anything like that in play at this point. I already have the new disk installed in the server.
Is it possible to migrate the data to the new…

Christopher Schultz
- 1,105
- 2
- 12
- 22
1
vote
0 answers
cache_writeback of thin-provisioning-tools running failed
I use Ubuntu 16.04 with kernel 5.4 and thin-provisioning-tools version 0.8.5
I want to test the cache_xml and cache_writeback tools of thin-provisioning, but it failed.
It always failed and I don't know how to debug.
I have two SSD as RAID0 and use…

code_worker
- 161
- 6
0
votes
0 answers
sar -dp reports individual disks higher than their devicemapper logical volume
I am trying to figure out how sysstat is reporting the utilization of the device mapper logical volume, lower than the individual disks that make up the logical volume. I keep trying to do the math but I cant make sense of it.
This is the…

cdiehl
- 46
- 4
0
votes
2 answers
How do you specify how much disk space for each mount point on vsphere?
I created a vm via the vsphere web client. The ESX version is 6.5 and the vsphere version is also 6.5
Via the menu: create virtual machine
Option 2f: customize hardware
Virtual Hardware: New Hard disk
I selected 128GB and created my vm
But when I…

ARL
- 105
- 3
0
votes
1 answer
Seeing Multiple Partition for same LUN
Anyone knows why I am seeing multiple device for the same LUN?I checked with storage team they only exposed 360000970000196801239533036304532 for this server but why I am seeing these many partition(p1..p7)
lrwxrwxrwx 1 root root 8 Jan 20…

Prashant Lakhera
- 713
- 2
- 10
- 25
0
votes
1 answer
duplicate entries /dev/mapper
The system is Fedora 23. This occurred after a system upgrade. The issue is duplicate entries in /dev/mapper. As seen by /dev/mapper each partition is represented twice. How can the device based names be removed?
ls /dev/mapper…

dan sawyer
- 141
- 2
- 12
0
votes
0 answers
Linux, dev-mapper: How to mount a folder with different options than parent folder
I'm using CentOS 7.1 with device-mapper, and /home mounted as
/dev/mapper/centos-home on /home type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
I'd like to include in fstab an entry for mounting /home/xyz with different options than those for…

Diego Shevek
- 133
- 5
0
votes
0 answers
How to get rid of “Duplicate IMA measurements will not be recorded in the IMA log.”?
In the journal of my Debian 12 kernel linux-image-6.1.0-10-amd64 version 6.1.37-1 I discovered the following lines:
…
… hostname systemd[1]: Starting systemd-journald.service - Journal Service …
… hostname kernel: device-mapper: core:…

AlMa0
- 101
0
votes
0 answers
Some "dispappered" dm-? files under the /dev directory
Recently I took over a few RHEL systems running with the native DM-multipath, which had been installed & configured by other persons.
My doubts focus on the following questions:
1). Why there would only a part of dm-? files from dm10~dm19 under the…

lylklb
- 3
- 3
0
votes
1 answer
use mount with LUKS2
Back in times of LUKS1, it was possible to use a command like
$ mount /dev/luks-encrypted-partition /mnt/a
[enter passphrase upon being prompted]
as a shortcut for
$ cryptsetup luksOpen /dev/luks-encrypted-partition some-name
$ mount…

LaTechneuse
- 161
- 6
0
votes
0 answers
What are the best practices for device-mapper multipath?
Background: We are setting up the new storage for an HPC Compute cluster for applied statistics, bioinformatics, and genomics. Contrary to our expectations, an active-active configuration did not improve I/O performance compared to failover under…

Nicolas De Jay
- 209
- 2
- 11
-3
votes
1 answer
VMWare device mapper size smaller than parition size
I am trying to understand what is going on with my VMWare instance. I have had 50GB partition that I extended to 150GB and resized the partition. However, the partition still shows that it only has 50GB size. Here is a screenshot from GParted:
Here…

Gasim
- 977
- 4
- 14
- 23