From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nT8pyhRJ1A3p for ; Sat, 26 Nov 2011 15:29:11 +0100 (CET) Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Sat, 26 Nov 2011 15:29:11 +0100 (CET) Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [62.142.5.96]) by emh03-2.mail.saunalahti.fi (Postfix) with SMTP id 093B9EB94D for ; Sat, 26 Nov 2011 16:19:38 +0200 (EET) Received: from [91.154.39.26] (a91-154-39-26.elisa-laajakaista.fi [91.154.39.26]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id F0F25E51A2 for ; Sat, 26 Nov 2011 16:19:35 +0200 (EET) Message-ID: <4ED0F577.7050608@nic.fi> Date: Sat, 26 Nov 2011 16:19:35 +0200 From: =?ISO-8859-1?Q?Mika_Kujanp=E4=E4?= MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------080405000307070404010204" Subject: [dm-crypt] LUKS keyslot 4 is invalid. Reply-To: mika.kujanpaa@nic.fi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de This is a multi-part message in MIME format. --------------080405000307070404010204 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I've tried to find information, if there is some possibility to recover access to disk. When I try luksOpen or luksDump, i get cryptsetup luksDump /dev/disk/by-uuid/7fa45e9b-6b3d-4ac7-becc-7b8fe5d463a3 LUKS keyslot 4 is invalid. LUKS keyslot 5 is invalid. or cryptsetup luksOpen /dev/disk/by-uuid/96914f6d-25c8-43d2-8133-2d9c971db9df vara LUKS keyslot 4 is invalid. LUKS keyslot 5 is invalid. --------------080405000307070404010204 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I've tried to find information, if there is some possibility to recover access to disk. When I try luksOpen or luksDump, i get

cryptsetup luksDump /dev/disk/by-uuid/7fa45e9b-6b3d-4ac7-becc-7b8fe5d463a3
LUKS keyslot 4 is invalid.
LUKS keyslot 5 is invalid.

or

cryptsetup luksOpen /dev/disk/by-uuid/96914f6d-25c8-43d2-8133-2d9c971db9df vara
LUKS keyslot 4 is invalid.
LUKS keyslot 5 is invalid.
--------------080405000307070404010204-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IXPadf41wSgo for ; Sat, 26 Nov 2011 19:45:24 +0100 (CET) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Sat, 26 Nov 2011 19:45:22 +0100 (CET) Message-ID: <4ED133B7.2030806@redhat.com> Date: Sat, 26 Nov 2011 19:45:11 +0100 From: Milan Broz MIME-Version: 1.0 References: <4ED0F577.7050608@nic.fi> In-Reply-To: <4ED0F577.7050608@nic.fi> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mika.kujanpaa@nic.fi Cc: dm-crypt@saout.de On 11/26/2011 03:19 PM, Mika Kujanp=E4=E4 wrote: > I've tried to find information, if there is some possibility to recover a= ccess to disk. When I try luksOpen or luksDump, i get >=20 > cryptsetup luksDump /dev/disk/by-uuid/7fa45e9b-6b3d-4ac7-becc-7b8fe5d463a3 > LUKS keyslot 4 is invalid. > LUKS keyslot 5 is invalid. Which cryptsetup version? Basically it means that either kesylot has wrong offset (or there is bug in cryptsetup itself, I recently added some offset check code here). Could you send me (to private mail, not to list) dd of this broken LUKS header so I can check what's wrong? (just first 4k of device - without private keyslots area, e.g. only visible information - you can use this command dd if=3D of=3D bs=3D4096 count=3D1 Thanks, Milan From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HF9pcrCQhQOu for ; Sun, 27 Nov 2011 12:33:18 +0100 (CET) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Sun, 27 Nov 2011 12:33:18 +0100 (CET) Message-ID: <4ED21FF4.5020200@redhat.com> Date: Sun, 27 Nov 2011 12:33:08 +0100 From: Milan Broz MIME-Version: 1.0 References: <4ED0F577.7050608@nic.fi> <4ED133B7.2030806@redhat.com> In-Reply-To: <4ED133B7.2030806@redhat.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mika.kujanpaa@nic.fi Cc: dm-crypt@saout.de On 11/26/2011 07:45 PM, Milan Broz wrote: > On 11/26/2011 03:19 PM, Mika Kujanp=E4=E4 wrote: >> I've tried to find information, if there is some possibility to recover = access to disk. When I try luksOpen or luksDump, i get >> >> cryptsetup luksDump /dev/disk/by-uuid/7fa45e9b-6b3d-4ac7-becc-7b8fe5d463= a3 >> LUKS keyslot 4 is invalid. >> LUKS keyslot 5 is invalid. Perhaps another item to FAQ: In cryptsetup 1.4.x I added check of keyslot data offset. (Keyslot offset is calculated during format for all slots including inactive slots.) If any keyslot offset points to the area outside of LUKS header, header is corrupted (IOW keylot point to the payload data area and in theory can overwrite user data when activated.) And exactly this happened there, inactive slot 4 and 5 had wrong offset. Because there was know signature 0x55 0xAA in last bytes of the first sector I guess some "clever" partition tool wrote few bytes there after LUKS was formatted. if you run luksDump --debug here, you will see better error message, here e.g. # Reading LUKS header of size 1024 from device /dev/sdb # Invalid offset 1760061416 in keyslot 4 (beyond data area offset 4096). LUKS keyslot 4 is invalid. How to fix that depends on situation... If you have old cryptsetup, you can activate device and reformat the header using "How do I recover the master key from a mapped LUKS container?" in FAQ. With exact knowledge of LUKS header you can fix that manually. (I used simple dd from another device in this case but offset depends on situation.) Milan From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3OPIXe1TDNWM for ; Sun, 27 Nov 2011 13:30:13 +0100 (CET) Received: from v4.tansi.org (ns.km33513-03.keymachine.de [87.118.94.3]) by mail.saout.de (Postfix) with ESMTP for ; Sun, 27 Nov 2011 13:30:13 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-163-71.dclient.hispeed.ch [84.74.163.71]) by v4.tansi.org (Postfix) with ESMTPA id 202911404001 for ; Sun, 27 Nov 2011 13:30:12 +0100 (CET) Date: Sun, 27 Nov 2011 13:30:11 +0100 From: Arno Wagner Message-ID: <20111127123011.GA11564@tansi.org> References: <4ED0F577.7050608@nic.fi> <4ED133B7.2030806@redhat.com> <4ED21FF4.5020200@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ED21FF4.5020200@redhat.com> Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi Lilan, I will add this. The check is a pretty good idea IMO. Arno On Sun, Nov 27, 2011 at 12:33:08PM +0100, Milan Broz wrote: > On 11/26/2011 07:45 PM, Milan Broz wrote: > > On 11/26/2011 03:19 PM, Mika Kujanp?? wrote: > >> I've tried to find information, if there is some possibility to recover access to disk. When I try luksOpen or luksDump, i get > >> > >> cryptsetup luksDump /dev/disk/by-uuid/7fa45e9b-6b3d-4ac7-becc-7b8fe5d463a3 > >> LUKS keyslot 4 is invalid. > >> LUKS keyslot 5 is invalid. > > Perhaps another item to FAQ: > > In cryptsetup 1.4.x I added check of keyslot data offset. > (Keyslot offset is calculated during format for all slots > including inactive slots.) > > If any keyslot offset points to the area outside of LUKS header, > header is corrupted (IOW keylot point to the payload data area > and in theory can overwrite user data when activated.) > > And exactly this happened there, inactive slot 4 and 5 had > wrong offset. Because there was know signature 0x55 0xAA in last > bytes of the first sector I guess some "clever" partition tool > wrote few bytes there after LUKS was formatted. > > if you run luksDump --debug here, you will see better error > message, here e.g. > > # Reading LUKS header of size 1024 from device /dev/sdb > # Invalid offset 1760061416 in keyslot 4 (beyond data area offset 4096). > LUKS keyslot 4 is invalid. > > > How to fix that depends on situation... > > If you have old cryptsetup, you can activate device and reformat > the header using "How do I recover the master key > from a mapped LUKS container?" in FAQ. > > With exact knowledge of LUKS header you can fix that manually. > (I used simple dd from another device in this case but offset depends > on situation.) > > Milan > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt > -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Wed, 19 Nov 2014 23:52:59 +0100 (CET) Received: by mail-wg0-f52.google.com with SMTP id a1so2175058wgh.11 for ; Wed, 19 Nov 2014 14:52:58 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Jaros=C5=82aw_K?= Date: Wed, 19 Nov 2014 23:52:38 +0100 Message-ID: Content-Type: multipart/alternative; boundary=f46d043d6765b9acc505083e12f2 Subject: [dm-crypt] LUKS keyslot 4 is invalid List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --f46d043d6765b9acc505083e12f2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, I have an encrypted RAID 1 volume for /home directory. I set it to mount automatically after login (based on http://nanonanonano.net/linux/debian/enchome). All of it works perfect during a few months. Until today ... After login I saw a "clean" user profile on my Debian. I know that, my encrypted drive didn't mount correctly. Unfortunately, manually mount failed too: root@s4per-debian:/home/s4per# cryptsetup luksOpen /dev/mapper/isw_echheajchc_Mirror crypt Numer klucza LUKS 4 jest nieprawid=C5=82owy. ---> LUKS keyslot 4 is inval= id (?) I have read something about this issue, and now i think it could be problem with LUKS headers. But unfortunatelly i have no any backup of it. In Poland we says "Polish wise after the event". Now I know, that I should make some backup of headers. I kindly request for some help. My OS: Debian Sid AMD64 Regards, s4per --f46d043d6765b9acc505083e12f2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

I have an encrypted RAID 1 volume for /home= directory. I set it to mount automatically after login (based on http://nanonanonano.net/l= inux/debian/enchome). All of it works perfect during a few months. Unti= l today ... After login I saw a "clean" user profile on my Debian= . I know that, my encrypted drive didn't mount correctly. Unfortunately= , manually mount failed too:

root@s4per-debian:/home/s4per# cryptset= up luksOpen /dev/mapper/isw_echheajchc_Mirror crypt
Numer klucza LUKS 4 = jest nieprawid=C5=82owy.=C2=A0=C2=A0 ---> LUKS keyslot 4 is invalid (?)<= br>
I have read something about this issue, and now i think it could be = problem with LUKS headers. But unfortunatelly i have no any backup of it.
In Poland we says "Polish wise after the event". Now I know= , that I should make some backup of headers.

I kindly request for so= me help.

My OS: Debian Sid AMD64

Regards,

s4per

--f46d043d6765b9acc505083e12f2-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v6.tansi.org (ns.km31936-01.keymachine.de [87.118.116.4]) by mail.server123.net (Postfix) with ESMTP for ; Thu, 20 Nov 2014 20:04:41 +0100 (CET) Received: from gatewagner.dyndns.org (77-57-44-24.dclient.hispeed.ch [77.57.44.24]) by v6.tansi.org (Postfix) with ESMTPA id 071BC20DC152 for ; Thu, 20 Nov 2014 20:04:41 +0100 (CET) Date: Thu, 20 Nov 2014 20:04:40 +0100 From: Arno Wagner Message-ID: <20141120190440.GA7061@tansi.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi s4per, this should be caused by something wrinign over the info for Keyslot 4 (and possibly later) in the header. First, before you do anything, make that header backup, as described in the FAQ, Itmm 6.2. It will prevent things from getting worse. (http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions) Usually, you key should be in keyslot 1 and that may still be intact. As you can see in FAQ Item 6.12, keyslot infor for keyslot 4 is stored at offset 0x190, so anything damaging it could also have damaged other fields in the LUKS header. Still, give this a try: cryptsetup repair It may work, or it may give you another error. If so, please post that here. (Do NOT do this wiothout header backup!) Arno On Wed, Nov 19, 2014 at 23:52:38 CET, Jarosław K wrote: > Hi all, > > I have an encrypted RAID 1 volume for /home directory. I set it to mount > automatically after login (based on > http://nanonanonano.net/linux/debian/enchome). All of it works perfect > during a few months. Until today ... After login I saw a "clean" user > profile on my Debian. I know that, my encrypted drive didn't mount > correctly. Unfortunately, manually mount failed too: > > root@s4per-debian:/home/s4per# cryptsetup luksOpen > /dev/mapper/isw_echheajchc_Mirror crypt > Numer klucza LUKS 4 jest nieprawidłowy. ---> LUKS keyslot 4 is invalid (?) > > I have read something about this issue, and now i think it could be problem > with LUKS headers. But unfortunatelly i have no any backup of it. > > In Poland we says "Polish wise after the event". Now I know, that I should > make some backup of headers. > > I kindly request for some help. > > My OS: Debian Sid AMD64 > > Regards, > > s4per > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Tue, 25 Nov 2014 22:51:19 +0100 (CET) Received: by mail-wi0-f180.google.com with SMTP id n3so2955681wiv.7 for ; Tue, 25 Nov 2014 13:51:18 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?Q?Jaros=C5=82aw_K?= Date: Tue, 25 Nov 2014 22:50:57 +0100 Message-ID: Content-Type: multipart/alternative; boundary=f46d041827023a55880508b5e95c Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --f46d041827023a55880508b5e95c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable *Hi Arno,Thanks for response.Unfortunatelly:root@s4per-debian:/home/s4per# cryptsetup luksHeaderBackup --header-backup-file luksbackup /dev/mapper/isw_echheajchc_MirrorNumer klucza LUKS 4 jest nieprawid=C5=82ow= y.* ---> LUKS keyslot 4 is invalid Regards, s4per 2014-11-19 23:52 GMT+01:00 Jaros=C5=82aw K : > Hi all, > > I have an encrypted RAID 1 volume for /home directory. I set it to mount > automatically after login (based on > http://nanonanonano.net/linux/debian/enchome). All of it works perfect > during a few months. Until today ... After login I saw a "clean" user > profile on my Debian. I know that, my encrypted drive didn't mount > correctly. Unfortunately, manually mount failed too: > > root@s4per-debian:/home/s4per# cryptsetup luksOpen > /dev/mapper/isw_echheajchc_Mirror crypt > Numer klucza LUKS 4 jest nieprawid=C5=82owy. ---> LUKS keyslot 4 is inv= alid > (?) > > I have read something about this issue, and now i think it could be > problem with LUKS headers. But unfortunatelly i have no any backup of it. > > In Poland we says "Polish wise after the event". Now I know, that I shoul= d > make some backup of headers. > > I kindly request for some help. > > My OS: Debian Sid AMD64 > > Regards, > > s4per > > > --=20 Pozdrawiam, Jaros=C5=82aw Ko=C5=82ata --f46d041827023a55880508b5e95c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Arno,

Thanks for response.

Unfortunate= lly:

root@s4per-debian:/home/s4per# cryptsetup luksHeaderBackup --he= ader-backup-file luksbackup /dev/mapper/isw_echheajchc_Mirror
Numer kluc= za LUKS 4 jest nieprawid=C5=82owy.
---> LUKS keyslot 4 is invalid
Regards,

s4per

2014-11-19 23:52 GMT+01:00 Jaros=C5=82aw K <s4per89@gma= il.com>:
H= i all,

I have an encrypted RAID 1 volume for /home directory. I set = it to mount automatically after login (based on http://nanonanonano.net/lin= ux/debian/enchome). All of it works perfect during a few months. Until = today ... After login I saw a "clean" user profile on my Debian. = I know that, my encrypted drive didn't mount correctly. Unfortunately, = manually mount failed too:

root@s4per-debian:/home/s4per# cryptsetup= luksOpen /dev/mapper/isw_echheajchc_Mirror crypt
Numer klucza LUKS 4 je= st nieprawid=C5=82owy.=C2=A0=C2=A0 ---> LUKS keyslot 4 is invalid (?)
I have read something about this issue, and now i think it could be pr= oblem with LUKS headers. But unfortunatelly i have no any backup of it.
=
In Poland we says "Polish wise after the event". Now I know, = that I should make some backup of headers.

I kindly request for some= help.

My OS: Debian Sid AMD64

Regards,

s4per





--
Pozdra= wiam,

Jaros=C5= =82aw Ko=C5=82ata
--f46d041827023a55880508b5e95c-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v6.tansi.org (ns.km31936-01.keymachine.de [87.118.116.4]) by mail.server123.net (Postfix) with ESMTP for ; Wed, 26 Nov 2014 00:15:17 +0100 (CET) Received: from gatewagner.dyndns.org (77-57-44-24.dclient.hispeed.ch [77.57.44.24]) by v6.tansi.org (Postfix) with ESMTPA id 764AA34FA001 for ; Wed, 26 Nov 2014 00:15:17 +0100 (CET) Date: Wed, 26 Nov 2014 00:15:16 +0100 From: Arno Wagner Message-ID: <20141125231516.GA21902@tansi.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Then do it manually. 1. Look up the header size. It should be either 1'052'672 Bytes or 2MiB. What you need is the key-size. cryptsetup luksDump gives ... MK bits: 256 ... for 1'052'672 Bytes or the same with 512 for 2MiB. If that does nto work, and you do not know the size of your mater key, dump 2MiB. Note: Do not change the filesystem if you want to restor a header that may be too large! With that, resyoting up to 1MiB of the filesystem is still safe. 2. Copy it manually. There are a nu,ber of options to do this, I prefer head -c 1052672 > header_backup.dmp or head -c 2M > header_backup.dmp for a 2MiB header. Verify the size of the file to be sure. Keep that file safe, and you can try cryptsetup repair next. I also just added this procedure to FAQ Item 6.2. Gr"usse, Arno On Tue, Nov 25, 2014 at 22:50:57 CET, Jarosław K wrote: > *Hi Arno,Thanks for response.Unfortunatelly:root@s4per-debian:/home/s4per# > cryptsetup luksHeaderBackup --header-backup-file luksbackup > /dev/mapper/isw_echheajchc_MirrorNumer klucza LUKS 4 jest nieprawidłowy.* > ---> LUKS keyslot 4 is invalid > > Regards, > > s4per > > 2014-11-19 23:52 GMT+01:00 Jarosław K : > > > Hi all, > > > > I have an encrypted RAID 1 volume for /home directory. I set it to mount > > automatically after login (based on > > http://nanonanonano.net/linux/debian/enchome). All of it works perfect > > during a few months. Until today ... After login I saw a "clean" user > > profile on my Debian. I know that, my encrypted drive didn't mount > > correctly. Unfortunately, manually mount failed too: > > > > root@s4per-debian:/home/s4per# cryptsetup luksOpen > > /dev/mapper/isw_echheajchc_Mirror crypt > > Numer klucza LUKS 4 jest nieprawidłowy. ---> LUKS keyslot 4 is invalid > > (?) > > > > I have read something about this issue, and now i think it could be > > problem with LUKS headers. But unfortunatelly i have no any backup of it. > > > > In Poland we says "Polish wise after the event". Now I know, that I should > > make some backup of headers. > > > > I kindly request for some help. > > > > My OS: Debian Sid AMD64 > > > > Regards, > > > > s4per > > > > > > > > > -- > Pozdrawiam, > > Jarosław Kołata > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Wed, 26 Nov 2014 18:11:36 +0100 (CET) Received: by mail-wg0-f46.google.com with SMTP id x12so4339650wgg.33 for ; Wed, 26 Nov 2014 09:11:36 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?Q?Jaros=C5=82aw_K?= Date: Wed, 26 Nov 2014 18:11:16 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi Arno, Thanks for help! After repair everything is alright. I made header backup, and I put it in few different places. Now I can sleep safely. Again thanks a lot! Regards, s4per From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v6.tansi.org (ns.km31936-01.keymachine.de [87.118.116.4]) by mail.server123.net (Postfix) with ESMTP for ; Wed, 26 Nov 2014 18:54:36 +0100 (CET) Received: from gatewagner.dyndns.org (77-57-44-24.dclient.hispeed.ch [77.57.44.24]) by v6.tansi.org (Postfix) with ESMTPA id C68C620DC151 for ; Wed, 26 Nov 2014 18:54:35 +0100 (CET) Date: Wed, 26 Nov 2014 18:54:35 +0100 From: Arno Wagner Message-ID: <20141126175435.GA23115@tansi.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi s4per, you are welcome. Good to know it worked! Gr"usse, Arno On Wed, Nov 26, 2014 at 18:11:16 CET, Jarosław K wrote: > Hi Arno, > > Thanks for help! > > After repair everything is alright. > I made header backup, and I put it in few different places. > Now I can sleep safely. > > Again thanks a lot! > > Regards, > s4per > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier