Questions tagged [luks]

LUKS (Linux Unified Key Setup) is a disk-encryption specification. It is the standard for Linux hard disk encryption.

LUKS (Linux Unified Key Setup) is a disk-encryption specification. It is the standard for Linux hard disk encryption. LUKS stores all setup necessary setup information in the partition header, enabling the user to transport or migrate his data seamlessly.

Website: http://code.google.com/p/cryptsetup/

Wikipedia: http://en.wikipedia.org/wiki/Linux_Unified_Key_Setup

157 questions
3
votes
0 answers

xfs: can't read superblock

I get the following error: [root@mediaserv ~]# mount /dev/mapper/media1 /media mount: /media: can't read superblock on /dev/mapper/media1. This is Fedora 33. I have a RAID5 of 8x 8TB WD Red drives running on an Adaptec 7805Q RAID controller, this…
2
votes
1 answer

cryproot-unlock with dropbear: Timeout while waiting for askpass

I installed Debian 9 on a VPS and configured the root partition to be encrypted. However, due to the installer giving me trouble when attempting to encrypt, I had to do this manually. To be able to unlock the root partition via SSH during boot I…
2
votes
1 answer

Is it possible to partially recover files from a btrfs RAID-0 filesystem with a missing disk?

I've got a bit of a quite terrible situation on my hands and I'm just looking for a bit of insight before calling this a lost cause. To put things into context, I'll just give you my partitioning scheme first. I've got a server with a four-disk…
Tristan
  • 21
  • 2
2
votes
1 answer

Cryptsetup lost password but open device

first, I know it is a very bad situtation and one should always have a backup of keys but the problem is not caused by me. I only was ask for help. The drive is encrypted using cryptsetup with luks. The corresponding password got lost but the device…
Aaryaman
  • 43
  • 3
2
votes
0 answers

Is it possible to decrypt data stored on the hard drive after it was used as LVM with encryption/LUKS?

How to define encryption strength for LVM partition/hard disk in Linux? Is it possible to decrypt the drive or its partition with the previously usage of encrypted LVM or encrypted LUKS? If yes, how to deal with that? Thanks.
Mr. Raspberry
  • 3,918
  • 13
  • 32
2
votes
2 answers

Linux: Detecting/thwarting system modification or use of single user mode

Working through a backup solution and could use some security assistance. Please see below. The process For our editing business, we have an offsite backup server that we update nightly using rsync over SSH. The backup script: Wakes the remote…
Fmstrat
  • 237
  • 4
  • 15
2
votes
1 answer

Recover data from ubuntu encrypted drive (LUKS)

I had a Host with Ubuntu 12.10 installed, and the entire harddrive was encrypted (with LUKS it appears), I remember the passphrase, but I have trouble to "open it". I am now on a beta version of Ubuntu 14.04, installed on a new harddrive. the old…
Sverre
  • 753
  • 2
  • 12
  • 23
2
votes
2 answers

Change LUKS UUID (without cryptsetup > 1.2)

According to the cryptsetup changelog (1.2.0): Allow explicit UUID setting in luksFormat and allow change it later in luksUUID (--uuid parameter). My problem is that the current Debian stable (squeeze) uses 1.1.3 - Is there a way to change…
vbence
  • 213
  • 2
  • 12
2
votes
1 answer

How do I get logs from my dropbear-initramfs SSH host?

I use dropbear-initramfs (like this) to decrypt the root drive on my Ubuntu 20.04.3 headless server. Recently the server was abruptly powered off (power went out I think?) and now the dropbear SSH server rejects my public key. I can successfully…
Kyle
  • 151
  • 9
2
votes
1 answer

ext4 errors with dm-crypt / LUKS on top of an iSCSI device

I have two oldish "NAS" devices, specifically Buffalo TeraStation Rackmount iSCSI ("TS-RIXL/R5"). Those are basically embedded computers running Linux with four SATA slots and two Ethernet ports, with a firmware that shows up as an iSCSI…
ftc
  • 91
  • 4
2
votes
0 answers

Modprobe error at boot

I'm using LMDE4 with LVM on LUKS and recently I've been getting these cryptic error messages at boot: modprobe: module aes-i586 not found in modules.dep Volume group "lvmlmde" not found Cannot process volume group lvmlmde Volume group…
2
votes
1 answer

LUKS high transfer rates followed by high io wait

I'm currently setting up a server on Proxmox VE. I wanted all drives to be encrypted so i chose to setup luks on all disks and on top of luks i set up LVM. Now when I'm transferring data from a fast drive (SSD) to a slower drive (HDD) using dd it…
2
votes
1 answer

Cannot close luks partition (No LVM involved) on Ubuntu 19.10

I have an Ubuntu installation here that fails to close a LUKS device after unmount. kernel: 5.3.0-42-generic cryptsetup: 2.2.0 root@pc:~# cryptsetup --debug close sdbackup # cryptsetup 2.2.0 processing "cryptsetup --debug close sdbackup" # Running…
moestly
  • 1,188
  • 9
  • 11
1
vote
0 answers

DD data of drive to new drive within VM

I inherited a CentOS 7 vm with a messy disk system. Here's a breakdown: The VM has 2 hard disks, and the OS has two LVs with luks-encryption on top. Output from lsblk: NAME MAJ:MIN RM SIZE RO TYPE …
Cpt.Whale
  • 307
  • 3
  • 11
1
vote
1 answer

Directories are full, with 200+GB free on disk that is partitioned

I am running Fedora 30 (new to this distro), and can't seem to use all the available space on an encrypted partition. There are only two partitions of sda for a total of 300GB, 1 with 1GB and 2 299GB, with 1 being boot and 2 being everything else.…
Techaeth
  • 13
  • 4