Gentoo Archives: gentoo-user

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

Replies

Subject Author
[gentoo-user] Re: pxe boot + nfs mountpoints James <jtp@×××××.com>