From: Milan Broz <gmazyland@gmail.com>
To: Hunter DeMeyer <hd4pix@gmail.com>, dm-crypt@saout.de
Subject: Re: [dm-crypt] Cryptsetup bug
Date: Fri, 30 Dec 2016 03:18:06 +0100 [thread overview]
Message-ID: <dfea6d90-273b-c5cd-e6bd-d006381d664d@gmail.com> (raw)
In-Reply-To: <CAKL=eRZejOg1N5b=icmo=WsJ2X3PB9c=C4WHXdeLsbtBcDT-kg@mail.gmail.com>
On 12/29/2016 06:53 PM, Hunter DeMeyer wrote:
> I believe that under certain circumstances cryptsetup will encrypt
> more than one partion on a drive. I have attached the process that
> produced this bug.
Cryptsetup accesses only device that you specify.
There are two options how could happen that LUKS device appeared on different partition:
1) there was some old LUKS device on the /dev/sdb1 offset start already or
2) you recreated partitions but for some reason kernel still see the old partitions size,
and sdb1 was still in fact mapped to the old partition.
Could you please paste blkid /dev/sdb* to verify it is the first option (to check LUKS UUID)?
I guess you will see different UUIDs.
And please do not send html mails to the list.
Milan
next prev parent reply other threads:[~2016-12-30 2:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-29 17:53 [dm-crypt] Cryptsetup bug Hunter DeMeyer
2016-12-29 23:13 ` Michael Kjörling
2016-12-29 23:16 ` Arno Wagner
2016-12-30 2:18 ` Milan Broz [this message]
2016-12-30 2:46 ` Hunter DeMeyer
2016-12-30 11:45 ` Sven Eschenberg
-- strict thread matches above, loose matches on Subject: below --
2010-07-11 22:39 [dm-crypt] cryptsetup bug divyashree kumar
2010-07-13 8:25 ` morphium
2010-07-13 11:09 ` Arno Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dfea6d90-273b-c5cd-e6bd-d006381d664d@gmail.com \
--to=gmazyland@gmail.com \
--cc=dm-crypt@saout.de \
--cc=hd4pix@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox