1 |
Okay, I've gotten a little further by moving some of the runscripts to |
2 |
/etc/runlevel/boot. |
3 |
|
4 |
I still, however, can't seem to get /usr/ nfs mounted before some of |
5 |
the boot runlevel daemons kick off (like keymap, etc.). |
6 |
|
7 |
I think part of the problem is I'm using OpenRC. Any way on forcing |
8 |
netmount init script to kick off before everything else? |
9 |
|
10 |
-j |
11 |
|
12 |
On Mon, Jun 29, 2009 at 1:19 PM, James<jtp@×××××.com> wrote: |
13 |
> All, |
14 |
> |
15 |
> I am having a weird problem and I'm going nuts trying to figure out |
16 |
> what may be going wrong. |
17 |
> |
18 |
> I've followed the "Diskless Nodes" document[1] on the g.o website. So |
19 |
> far my machine will PXE boot and mount root partition without any |
20 |
> issues. |
21 |
> |
22 |
> The diskless client, however, does *not* mount the non-root partitions |
23 |
> (such as /opt, /usr, etc.). This results in a system with no /usr |
24 |
> partition and a ton of my tools missing. ;) |
25 |
> |
26 |
> If I log into the crippled system, however, I can manually mount /usr |
27 |
> and /opt. Things work better at that point. |
28 |
> |
29 |
> Here's the fstab file inside of /diskless/gentoo/etc/: |
30 |
> |
31 |
> 10.1.1.5:/diskless/gentoo / nfs |
32 |
> sync,hard,intr,rw,nolock,rsize=8192,wsize=8192 0 0 |
33 |
> 10.1.1.5:/opt /opt nfs |
34 |
> sync,hard,intr,ro,nolock,rsize=8192,wsize=8192 0 0 |
35 |
> 10.1.1.5:/usr /usr nfs |
36 |
> sync,hard,intr,ro,nolock,rsize=8192,wsize=8192 0 0 |
37 |
> 10.1.1.5:/home /home nfs |
38 |
> sync,hard,intr,rw,nolock,rsize=8192,wsize=8192 0 0 |
39 |
> none /proc proc defaults |
40 |
> 0 0 |
41 |
> |
42 |
> ----- |
43 |
> |
44 |
> /etc/exports is as follows: |
45 |
> |
46 |
> /pxe/diskless/gentoo *(sync,rw,no_root_squash,no_all_squash,no_subtree_check) |
47 |
> /opt *(sync,ro,no_root_squash,no_all_squash,no_subtree_check) |
48 |
> /usr *(sync,ro,no_root_squash,no_all_squash,no_subtree_check) |
49 |
> /home *(sync,rw,no_root_squash,no_all_squash,no_subtree_check) |
50 |
> /var/log *(sync,rw,no_root_squash,no_all_squash,no_subtree_check) |
51 |
> |
52 |
> Any thoughts on why these partitions are not mounting automatically? |
53 |
> I've even appended "auto" to the fstab mountpoints with no success. |
54 |
> |
55 |
> Help greatly appreciated. :) |
56 |
> |
57 |
> -j |
58 |
> |
59 |
> 1 http://www.gentoo.org/doc/en/diskless-howto.xml |
60 |
> |