* [dm-crypt] Problems mounting device with cryptsetup 106.
@ 2011-01-30 8:41 Tyler Haske
2011-01-30 8:49 ` Tyler Haske
0 siblings, 1 reply; 3+ messages in thread
From: Tyler Haske @ 2011-01-30 8:41 UTC (permalink / raw)
To: dm-crypt
Hi.
I've lost access to my data. I just set it up a crypt device yesterday.
# cryptsetup --version
cryptsetup 1.0.6
Yesterday I used this command:
#cryptsetup create archive /dev/sdb
I then did something to mount the /dev/mapper/archive to /archive.
but I can't remember what exactly.
Now I get this message.
#cryptsetup luksOpen /dev/sdb archive
Enter LUKS passphrase:
Command failed: No key available with this passphrase.
I remember some bit about /dev/dm-0.
The last part I have is /dev/mapper/archive is an ext3 block device
that eventually maps to /archive.
I can't get #cryptsetup isLuks or #cryptsetup luksDump to work anywhere ...
Everything was working well until I restarted. Any help would be appreciated.
Tyler.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dm-crypt] Problems mounting device with cryptsetup 106.
2011-01-30 8:41 [dm-crypt] Problems mounting device with cryptsetup 106 Tyler Haske
@ 2011-01-30 8:49 ` Tyler Haske
2011-01-30 9:41 ` Milan Broz
0 siblings, 1 reply; 3+ messages in thread
From: Tyler Haske @ 2011-01-30 8:49 UTC (permalink / raw)
To: dm-crypt
Nevermind. I got it.
I'm not keeping an encrypted backup. I almost lost 15 years worth of data.
On Sun, Jan 30, 2011 at 3:41 AM, Tyler Haske <tyler.haske@gmail.com> wrote:
> Hi.
>
> I've lost access to my data. I just set it up a crypt device yesterday.
>
> # cryptsetup --version
> cryptsetup 1.0.6
>
>
>
> Yesterday I used this command:
>
> #cryptsetup create archive /dev/sdb
>
> I then did something to mount the /dev/mapper/archive to /archive.
>
> but I can't remember what exactly.
>
> Now I get this message.
>
> #cryptsetup luksOpen /dev/sdb archive
> Enter LUKS passphrase:
> Command failed: No key available with this passphrase.
>
> I remember some bit about /dev/dm-0.
> The last part I have is /dev/mapper/archive is an ext3 block device
> that eventually maps to /archive.
>
> I can't get #cryptsetup isLuks or #cryptsetup luksDump to work anywhere ...
>
> Everything was working well until I restarted. Any help would be appreciated.
>
> Tyler.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dm-crypt] Problems mounting device with cryptsetup 106.
2011-01-30 8:49 ` Tyler Haske
@ 2011-01-30 9:41 ` Milan Broz
0 siblings, 0 replies; 3+ messages in thread
From: Milan Broz @ 2011-01-30 9:41 UTC (permalink / raw)
To: Tyler Haske; +Cc: dm-crypt
On 01/30/2011 09:49 AM, Tyler Haske wrote:
> I'm not keeping an encrypted backup. I almost lost 15 years worth of data.
I am sure you are doing backups now;-)
>> #cryptsetup create archive /dev/sdb
...
>> #cryptsetup luksOpen /dev/sdb archive
create and luksOpen are two distinct commands and formats,
you cannot combine these two.
(create will not fail on LUKS device, but you will get garbage
instead of data)
Milan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-30 9:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-30 8:41 [dm-crypt] Problems mounting device with cryptsetup 106 Tyler Haske
2011-01-30 8:49 ` Tyler Haske
2011-01-30 9:41 ` Milan Broz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox