Gentoo Archives: gentoo-user

From: James <jtp@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] pxe boot + nfs mountpoints
Date: Mon, 29 Jun 2009 17:20:15
Message-Id: e107b4ff0906291019l1e94611cwa204de9fa2152314@mail.gmail.com
1 All,
2
3 I am having a weird problem and I'm going nuts trying to figure out
4 what may be going wrong.
5
6 I've followed the "Diskless Nodes" document[1] on the g.o website. So
7 far my machine will PXE boot and mount root partition without any
8 issues.
9
10 The diskless client, however, does *not* mount the non-root partitions
11 (such as /opt, /usr, etc.). This results in a system with no /usr
12 partition and a ton of my tools missing. ;)
13
14 If I log into the crippled system, however, I can manually mount /usr
15 and /opt. Things work better at that point.
16
17 Here's the fstab file inside of /diskless/gentoo/etc/:
18
19 10.1.1.5:/diskless/gentoo / nfs
20 sync,hard,intr,rw,nolock,rsize=8192,wsize=8192 0 0
21 10.1.1.5:/opt /opt nfs
22 sync,hard,intr,ro,nolock,rsize=8192,wsize=8192 0 0
23 10.1.1.5:/usr /usr nfs
24 sync,hard,intr,ro,nolock,rsize=8192,wsize=8192 0 0
25 10.1.1.5:/home /home nfs
26 sync,hard,intr,rw,nolock,rsize=8192,wsize=8192 0 0
27 none /proc proc defaults
28 0 0
29
30 -----
31
32 /etc/exports is as follows:
33
34 /pxe/diskless/gentoo *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
35 /opt *(sync,ro,no_root_squash,no_all_squash,no_subtree_check)
36 /usr *(sync,ro,no_root_squash,no_all_squash,no_subtree_check)
37 /home *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
38 /var/log *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
39
40 Any thoughts on why these partitions are not mounting automatically?
41 I've even appended "auto" to the fstab mountpoints with no success.
42
43 Help greatly appreciated. :)
44
45 -j
46
47 1 http://www.gentoo.org/doc/en/diskless-howto.xml

Replies

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