1 |
nightmorph 06/11/17 23:09:42 |
2 |
|
3 |
Modified: diskless-howto.xml |
4 |
Log: |
5 |
removed /fastboot directions from diskless howto, thanks to uberlord for confirming on IRC, bug 126567 |
6 |
|
7 |
Revision Changes Path |
8 |
1.30 xml/htdocs/doc/en/diskless-howto.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/diskless-howto.xml?rev=1.30&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/diskless-howto.xml?rev=1.30&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/diskless-howto.xml?r1=1.29&r2=1.30 |
13 |
|
14 |
Index: diskless-howto.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/diskless-howto.xml,v |
17 |
retrieving revision 1.29 |
18 |
retrieving revision 1.30 |
19 |
diff -u -r1.29 -r1.30 |
20 |
--- diskless-howto.xml 30 Oct 2006 16:58:27 -0000 1.29 |
21 |
+++ diskless-howto.xml 17 Nov 2006 23:09:42 -0000 1.30 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/diskless-howto.xml,v 1.29 2006/10/30 16:58:27 cam Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/diskless-howto.xml,v 1.30 2006/11/17 23:09:42 nightmorph Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/diskless-howto.xml"> |
29 |
@@ -26,8 +26,8 @@ |
30 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
31 |
<license/> |
32 |
|
33 |
-<version>1.23</version> |
34 |
-<date>2006-10-30</date> |
35 |
+<version>1.24</version> |
36 |
+<date>2006-11-17</date> |
37 |
|
38 |
<chapter> |
39 |
<title>Introduction</title> |
40 |
@@ -1200,46 +1200,6 @@ |
41 |
<body> |
42 |
|
43 |
<p> |
44 |
-The default scripts will try to run <e>checkroot</e> which does not make sense |
45 |
-on your slave nodes. The hard way out is to manually edit the |
46 |
-<path>/diskless/192.168.1.21/sbin/rc</path> script but this is cumbersome, |
47 |
-dangerous and could break if you decided to sync your node file system again and |
48 |
-forgot to leave this script alone. The trick is to have a |
49 |
-<path>/fastboot</path> file when your system boots. This file tells |
50 |
-<e>checkroot</e> not to run any file system check. But it will also erase the |
51 |
-file when it has finished the initialisation process. That is why we need to |
52 |
-create this file again at the end of the init process like this: |
53 |
-</p> |
54 |
- |
55 |
-<pre caption="Preventing init scripts from running a file system check"> |
56 |
-<comment>(Create the /fastboot file for next reboot)</comment> |
57 |
-# <i>touch /diskless/192.168.1.21/fastboot</i> |
58 |
-<comment>(Create the /fastboot file on each boot)</comment> |
59 |
-# <i>echo "touch /fastboot" >> /diskless/192.168.1.21/etc/conf.d/local.start</i> |
60 |
-</pre> |
61 |
- |
62 |
-<p> |
63 |
-Since the unmounting of network filesystems should be done as late as possible, |
64 |
-you have to edit your <path>/etc/init.d/netmount</path> and have it read: |
65 |
-</p> |
66 |
- |
67 |
-<pre caption="Editing /etc/init.d/netmount"> |
68 |
-depend() { |
69 |
- <i>before *</i> |
70 |
-</pre> |
71 |
- |
72 |
-<note> |
73 |
-Baselayout version 1.11.* and later does not need this. |
74 |
-</note> |
75 |
- |
76 |
-<p> |
77 |
-If you do this on a live system, don't forget to run <c>depscan.sh</c> to fix |
78 |
-the service dependencies. You can safely ignore any warning about the collision |
79 |
-with /etc/init.d/checkroot, since you are disabling it via the fastboot file you |
80 |
-set up in the previous paragraph. |
81 |
-</p> |
82 |
- |
83 |
-<p> |
84 |
You need as many init scripts under |
85 |
<path>/diskless/192.168.1.21/etc/runlevels</path> as you need services on your |
86 |
diskless nodes. It all depends on what you want your slaves to do. |
87 |
@@ -1366,7 +1326,6 @@ |
88 |
/etc/hostname$$IP=192.168.1.21$$<comment> (Name your slaves)</comment> |
89 |
/etc/mtab$$IP=192.168.1.21$$ |
90 |
/etc/runlevels$$CLIENT$$<comment> (Clean separation between master and slave boot scripts)</comment> |
91 |
-/fastboot$$CLIENT$$ |
92 |
/tmp$$IP=192.168.1.21$$ |
93 |
/var$$IP=192.168.1.21$$<comment> (Create subdirs as in /var)</comment> |
94 |
</pre> |
95 |
@@ -1387,11 +1346,6 @@ |
96 |
eend $? "Error starting NFS mountd" |
97 |
</pre> |
98 |
|
99 |
-<pre caption="Editing /etc/conf.d/local.start$$CLIENT$$"> |
100 |
-<comment>(Add this line)</comment> |
101 |
-touch /fastboot\$\$CLIENT\$\$ |
102 |
-</pre> |
103 |
- |
104 |
</body> |
105 |
</section> |
106 |
--> |
107 |
|
108 |
|
109 |
|
110 |
-- |
111 |
gentoo-doc-cvs@g.o mailing list |