1 |
Nilesh Govindrajan wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I have a raid0 (kernel autodetect) array, over which I have put LVM |
5 |
> and then there are volumes on the LVM for /var, /tmp, swap and /home. |
6 |
> |
7 |
> The problem is, raid0 array gets recognized, but localmount fails to |
8 |
> mount because lvm doesn't seem to start before localmount (due to my |
9 |
> root being on SSD, I can't watch the output of openrc easily). |
10 |
> |
11 |
> For now I have added this to my rc.conf - |
12 |
> rc_localmount_before="lvm" |
13 |
> rc_localmount_need="lvm" |
14 |
> rc_lvm_after="localmount" |
15 |
> |
16 |
> This fixes the problem, but localmount still executes before lvm and |
17 |
> terminates with operational error. Then lvm starts up and localmount |
18 |
> runs again successfully. |
19 |
> |
20 |
> Any idea why this happens? |
21 |
|
22 |
I assisted somebody experiencing the same problem recently. The cause |
23 |
was simple: the individual concerned had added a runscript to the boot |
24 |
runlevel, whereas it should have been added to the default runlevel |
25 |
(net.eth0 in this particular case). You could run "find /etc/runlevels" |
26 |
and check to see if you have done something similar. |
27 |
|
28 |
--Kerin |