Re: System doesn't load LVM volumes when booting in single user mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 02/12/2013 10:29 AM, Thomas Bächler wrote:
Am 12.02.2013 16:22, schrieb David Rosenstrauch:
On 02/12/2013 10:05 AM, Thomas Bächler wrote:
Am 12.02.2013 15:38, schrieb David Rosenstrauch:
I just upgraded to the latest version (2.02.98-3) of lvm2.  But I'm
still having the same issue:  when I boot into single user mode, my lvm
volumes aren't seen and so any mounts time out.

Any idea what the problem might be or a fix/workaround?

A solution would be to to add lvmetad.socket and dmeventd.socket to
sysinit.target.wants instead of sockets.target.wants. In fact, this is
probably the correct thing to do to make rescue.target work.

Is this a change I would need to make locally, or something that's
planned to get included into the next lvm2 package release?

Well, both. First, you could test it locally. This would suffice:

  mkdir -p /etc/systemd/system/sysinit.target.wants/
  ln -s /usr/lib/systemd/system/{lvmetad.socket,dmeventd.socket}
/etc/systemd/system/sysinit.target.wants/

(The changes you made in /etc/ above concern your machine and expand
what the package does, pacman never interferes here.)

Then, we could include it in a future package, if that indeed solves the
problem.

Worked!!!

Thanks much for the fix!

DR



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux