All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] "cryptsetup: lvm is not available"
@ 2014-06-25 14:51 Louis-David Mitterrand
  2014-06-25 19:19 ` Milan Broz
  2014-06-26  4:20 ` Arno Wagner
  0 siblings, 2 replies; 5+ messages in thread
From: Louis-David Mitterrand @ 2014-06-25 14:51 UTC (permalink / raw)
  To: dm-crypt

Hi,

When booting with a 3.15 kernel I get this error message and I am not
prompted to unlock my root device.

However when booting with a 3.14 kernel I can unlock my partition and
boot normally.

I have never used lvm.

Where should I look?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dm-crypt] "cryptsetup: lvm is not available"
  2014-06-25 14:51 [dm-crypt] "cryptsetup: lvm is not available" Louis-David Mitterrand
@ 2014-06-25 19:19 ` Milan Broz
  2014-06-26  4:20 ` Arno Wagner
  1 sibling, 0 replies; 5+ messages in thread
From: Milan Broz @ 2014-06-25 19:19 UTC (permalink / raw)
  To: Louis-David Mitterrand, dm-crypt

On 06/25/2014 04:51 PM, Louis-David Mitterrand wrote:
> When booting with a 3.15 kernel I get this error message and I am not
> prompted to unlock my root device.
> 
> However when booting with a 3.14 kernel I can unlock my partition and
> boot normally.
> 
> I have never used lvm.
> 
> Where should I look?

This is probably distro dependent problem, cryptsetup itself never
prints such message (it will be from some wrapper script I guess).

I would suggest you ask on your distro support channel.
(It could be missing kernel module, missing or wrong info
in /etc/crypttab / fstab, missing file in intramdisk etc.)

Also check lsblk output, the error message seems like you
are using some lvm volume group in fact.

Milan

p.s.
Please always add information about your environment (distro,
tools versions, if possible storage stack configuration like
lsblk output etc.)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dm-crypt] "cryptsetup: lvm is not available"
  2014-06-25 14:51 [dm-crypt] "cryptsetup: lvm is not available" Louis-David Mitterrand
  2014-06-25 19:19 ` Milan Broz
@ 2014-06-26  4:20 ` Arno Wagner
  2014-06-26 21:35   ` Sven Eschenberg
  1 sibling, 1 reply; 5+ messages in thread
From: Arno Wagner @ 2014-06-26  4:20 UTC (permalink / raw)
  To: dm-crypt

On Wed, Jun 25, 2014 at 16:51:40 CEST, Louis-David Mitterrand wrote:
> Hi,
> 
> When booting with a 3.15 kernel I get this error message and I am not
> prompted to unlock my root device.
> 
> However when booting with a 3.14 kernel I can unlock my partition and
> boot normally.
> 
> I have never used lvm.

Smart IMO, but the distro installer likely did. If it is
a sane installer, it will have asked some time during the
installation whether to use LVM or plain old partitions.

What this means is that your LUKS container is in some LVM 
container and the distro-wrapper around cryptsetup does not 
manage to open it.

LVM makes things easier for generic installations, but it
also makes it more likely that things break and more 
difficult to fix when they do.

Arno
-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dm-crypt] "cryptsetup: lvm is not available"
  2014-06-26  4:20 ` Arno Wagner
@ 2014-06-26 21:35   ` Sven Eschenberg
  2014-07-05 13:27     ` Louis-David Mitterrand
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Eschenberg @ 2014-06-26 21:35 UTC (permalink / raw)
  To: dm-crypt

I agree that the OP is probably using LVM.

A couple months ago with a minor version change LVM changed semantics.
Suddendly vgchange -ay stopped creating inodes for me. Maybe the newer
kernel's initramfs was created with a more recent LVM which includes this
change?

Regards

-Sven

On Thu, June 26, 2014 06:20, Arno Wagner wrote:
> On Wed, Jun 25, 2014 at 16:51:40 CEST, Louis-David Mitterrand wrote:
>> Hi,
>>
>> When booting with a 3.15 kernel I get this error message and I am not
>> prompted to unlock my root device.
>>
>> However when booting with a 3.14 kernel I can unlock my partition and
>> boot normally.
>>
>> I have never used lvm.
>
> Smart IMO, but the distro installer likely did. If it is
> a sane installer, it will have asked some time during the
> installation whether to use LVM or plain old partitions.
>
> What this means is that your LUKS container is in some LVM
> container and the distro-wrapper around cryptsetup does not
> manage to open it.
>
> LVM makes things easier for generic installations, but it
> also makes it more likely that things break and more
> difficult to fix when they do.
>
> Arno
> --
> 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
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dm-crypt] "cryptsetup: lvm is not available"
  2014-06-26 21:35   ` Sven Eschenberg
@ 2014-07-05 13:27     ` Louis-David Mitterrand
  0 siblings, 0 replies; 5+ messages in thread
From: Louis-David Mitterrand @ 2014-07-05 13:27 UTC (permalink / raw)
  To: dm-crypt

On Thu, Jun 26, 2014 at 11:35:43PM +0200, Sven Eschenberg wrote:
> I agree that the OP is probably using LVM.
> 
> A couple months ago with a minor version change LVM changed semantics.
> Suddendly vgchange -ay stopped creating inodes for me. Maybe the newer
> kernel's initramfs was created with a more recent LVM which includes this
> change?

In any case the problem fixed itself with a debian dist-upgrade.

Thanks for your replies,

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-05 13:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-25 14:51 [dm-crypt] "cryptsetup: lvm is not available" Louis-David Mitterrand
2014-06-25 19:19 ` Milan Broz
2014-06-26  4:20 ` Arno Wagner
2014-06-26 21:35   ` Sven Eschenberg
2014-07-05 13:27     ` Louis-David Mitterrand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.