1 |
next box tested. |
2 |
Installed systemd on my main workstation now that I understood how to |
3 |
easily flip back to booting w/ openrc in case of problems. |
4 |
|
5 |
I heavily use LVM here and this gives me the following issues: |
6 |
|
7 |
I use lvm.service from the gentoo-wiki: |
8 |
|
9 |
http://en.gentoo-wiki.com/wiki/Systemd#LVM |
10 |
|
11 |
For sure I enabled it ... |
12 |
|
13 |
When I boot this machine it boots up to starting the LVM-devices and |
14 |
waits for some time then writes something like: |
15 |
|
16 |
welcome to emergency mode ... |
17 |
Start of /dev/VG...something failed (due to some dependencies) |
18 |
|
19 |
(for all the LVs) |
20 |
|
21 |
and lets me login or press Ctrl-D to continue. |
22 |
|
23 |
(I can't remember the exact words, don't know if they are logged somewhere) |
24 |
|
25 |
When I press Ctrl-D all the LVs are mounted(!) and it boots up fine to |
26 |
graphical login. |
27 |
|
28 |
hmm. |
29 |
|
30 |
It then tells me: |
31 |
|
32 |
# systemctl status lvm.service |
33 |
lvm.service - Linux Volume Manager |
34 |
Loaded: loaded (/etc/systemd/system/lvm.service) |
35 |
Active: active (exited) since Mon, 22 Aug 2011 09:55:36 +0200; 22min ago |
36 |
Process: 5568 ExecStop=/sbin/lvchange --sysinit -a ln $(/sbin/vgs -o |
37 |
vg_name --noheadings --nosuffix 2> /dev/null) (code=exited, status=3) |
38 |
Process: 5861 ExecStart=/sbin/vgchange --sysinit -a ly (code=exited, |
39 |
status=0/SUCCESS) |
40 |
Process: 5738 ExecStart=/sbin/vgscan --mknodes --ignorelockingfailure |
41 |
(code=exited, status=0/SUCCESS) |
42 |
Process: 5654 ExecStart=/sbin/pvscan --ignorelockingfailure |
43 |
(code=exited, status=0/SUCCESS) |
44 |
CGroup: name=systemd:/system/lvm.service |
45 |
|
46 |
Why does that ExecStop fail? Why is it called at boot anyway? |
47 |
|
48 |
I also tried another lvm.service from the russian gentoo-wiki, that |
49 |
servicefile just pulls in /etc/init.d/lvm, but that didn't help so I |
50 |
went back to the mentioned file. |
51 |
|
52 |
What I wonder: what changes between running into that timeout and my |
53 |
pressing Ctrl-D? |
54 |
|
55 |
Thanks for helpful comments, Stefan |