WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: encrypted lvm nodes disappear after a while  (Read 2232 times)

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
encrypted lvm nodes disappear after a while
« on: May 01, 2011, 07:00:30 AM »
Here is the situation

i have a 750gb disk with luks partition. inside is a lvm pv and volume group.

opening it by hand with cryptsetup and doing vgchange -ay works just fine. however, somewhere after 20 minutes the device nodes for lvm volumes are no longer there, and any lvm commands seem to stall and not produce any output.

currently mounted lvm volumes work fine.

is anyone else experiencing this?

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: encrypted lvm nodes disappear after a while
« Reply #1 on: May 01, 2011, 07:21:09 AM »
I remember stalling lvm commands from waiting for udev population/creation, however I cannot tell what's going wrong in your case... dmsetup creates the device nodes, maybe lvm is waiting for cryptsetup, which is not working after 20 min. I'll update cryptsetup to 1.3.0 and we'll see if that fixes it :)

[edit]
Updated cryptsetup.tcz to 1.3.0, please update your extension and check again.
[/edit]
« Last Edit: May 01, 2011, 07:49:51 AM by gutmensch »
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: encrypted lvm nodes disappear after a while
« Reply #2 on: May 02, 2011, 06:09:57 AM »
no problems so far, i will test it some more today.