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…
![](../../users/profiles/83044.webp)
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…
![](../../users/profiles/341310.webp)
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,…
![](../../users/profiles/289159.webp)
Lapsio
- 363
- 3
- 14
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…
![](../../users/profiles/122257.webp)
Christopher Schultz
- 1,056
- 1
- 11
- 20
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…
![](../../users/profiles/575603.webp)
code_worker
- 161
- 5
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…
![](../../users/profiles/531309.webp)
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…
![](../../users/profiles/392485.webp)
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…
![](../../users/profiles/177725.webp)
Prashant Lakhera
- 683
- 1
- 9
- 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…
![](../../users/profiles/321597.webp)
dan sawyer
- 141
- 2
- 11
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…
![](../../users/profiles/175456.webp)
Diego Shevek
- 133
- 5
0
votes
0 answers
Is devicemapper linear not just passthrough?
I'm trying to follow the script in https://jvns.ca/blog/2021/01/27/day-47--using-device-mapper-to-manage-firecracker-images/?hmsr=joyk.com&utm_source=joyk.com&utm_medium=referral but getting an error. To diagnose my understanding of devicemapper, I…
![](../../users/profiles/962986.webp)
Jared Pochtar
- 101
0
votes
0 answers
Udisks2 rule to ignore BTRFS-in-LUKS array member disks
On Ubuntu 20.04 PC's with a btrfs (in crypto / LUKS) raid-1 disk array, file managers (nautiuls, thunar, etc) show duplicate entries for the [logically] same disk, and repeatedly mount duplicate /media/User/DiskLabel-N. Request: I'd like to prevent…
![](../../users/profiles/288892.webp)
some bits flipped
- 193
- 8
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…
![](../../users/profiles/270455.webp)
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…
![](../../users/profiles/224005.webp)
Nicolas De Jay
- 177
- 1
- 9
-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…
![](../../users/profiles/183288.webp)
Gasim
- 887
- 4
- 14
- 22