Questions tagged [dmcrypt]
27 questions
1
vote
1 answer
ID_FS_LABEL empty for luks volume
I have an LUKS encrypted partition on a disk. I would like to label it and have it available at /dev/disk/by-label.
The value used is ID_FS_LABEL to create the link in /dev/disk/by-label. That value can be extracted with vol_id.
The problem is that…

user300811
- 183
- 2
- 10
1
vote
1 answer
how to mount a luks-encrypted file?
I had a good-working system. Cent OS 6. But after I made a reboot luks-partition has been unmounted. And our system administrator have a weekends now :(
Please help me to mount a luks partition again.
I know the path to encrypted file and…

Vasvas
- 13
- 1
- 4
1
vote
1 answer
Disable read/write workqueue for Ubuntu Full-Disk-Encryption
I am currently trying to set up multiple devices with Ubuntu (20.04.5 LTS) and the drive must be encrypted, so I used LUKS during the installation. (I checked "Use LVM with the new Ubuntu installation" + "Encrypt the new Ubuntu installation for…

Pascal Diu
- 11
- 1
1
vote
2 answers
How do I know a LUKS header is corrupt?
My computer froze for a long time and I pressed the reset button. After reboot, all FIVE luks-encrypted (LUKS 1) file systems will no longer open. The message I get is "No key available with this passphrase." I am sure I am using the right password.…

JLMathis
- 11
- 3
0
votes
1 answer
raid1 will not work when I physically remove "removed" disk in Ubuntu 18.04
/dev/sdc1 and /dev/sdd1 is raided (RAID1) into /dev/md3. /dev/md3 is encrypted with luksSetup.
Last night I got DegradedArray events for /dev/sdc1. I shutdown the system, physically removed the disk, and booted back up again. Now there is no md3…

user2052153
- 11
- 3
0
votes
2 answers
How to monitor dm-crypt on unreliable external hard disk?
I have an external USB drive, which - for whatever reason - sometimes drops out unrecoverably. Probably due to faulty cables or something. On this I have a LUKS partition.
dmesg reports
Buffer I/O error on dev dm-0, logical block 0, lost sync page…

Florian Heer
- 111
- 4
0
votes
2 answers
Troubles with swap on dm-crypt/LUKS partition
I have created two dm-crypt partitions during Debian install:
sda2 sda2_crypt swap
sda3 sda3_crypt /
I used 7.8.1 netinstall ISO. Later I have added additional dm-crypted drive sdb:
# cryptsetup -h=sha256 -c=aes-xts-plain64:sha1 -s=256…

A_buddy
- 35
- 2
- 11
0
votes
1 answer
Ubuntu 12.04 LUKS/dmcrypt disk to disk copy freezes
I have 2 external USB hard drives encrypted with LUKS in Ubuntu 12.04. Generally, the both drives are very slow with LUKS/dmcrypt, e.g. 7 MB/s for both read/write, but I could live with this.
However, when I try to copy files from one encrypted disk…

Andrey Sapegin
- 1,201
- 2
- 12
- 27
0
votes
1 answer
Running python to unlock luks full disk encryption
I wish to make use of full disk encryption using Luks on ubuntu 14.04. However, i wish to make use of my own python script to carry out the functionality of generating the decryption key during device boot, which it then sends to lukes to allow it…

Toby
- 273
- 5
- 14
0
votes
1 answer
dmcrypt container on nfs
I'm setting up an encrypted file storage on a remote server and I want to be able to use it transparently on my system. I want to be able to de-/encrypt them locally so that the server hosting the files won't be able to see what is stored. (So I can…

jimboreeno
- 3
- 2
0
votes
0 answers
Is it safe to use dmcrypt on top of software raid?
I'm designing a machine, to serve as a NAS. My interest is hobby-level.
I would use mdadm to software raid a couple of same-size hdds. At first I'd use raid1, but in the future I'd add another disk and convert it to raid5. My understanding is…

kd8azz
- 101
- 1
-1
votes
1 answer
When was LUKS first released?
When was Linux Unified Key Setup (LUKS) first released--both as an open standard and later made available as an implementation with cryptsetup?

Michael Altfield
- 739
- 2
- 8
- 23