Gentoo Archives: gentoo-user

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