<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: NFS server</title>
	<atom:link href="http://computingplugs.com/wp/?feed=rss2&#038;p=72" rel="self" type="application/rss+xml" />
	<link>http://computingplugs.com/wp/?p=72</link>
	<description>leaner, greener computing</description>
	<pubDate>Thu, 23 May 2013 04:52:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Teoh</title>
		<link>http://computingplugs.com/wp/?p=72&#038;cpage=1#comment-1068</link>
		<dc:creator>Peter Teoh</dc:creator>
		<pubDate>Sun, 05 Sep 2010 04:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://computingplugs.com/wp/?p=72#comment-1068</guid>
		<description>Duffy is right, for my Ubuntu 9.04 (on x86 PC), kernel is already compiled with nfsd inside, but the init script still have error.   And the following patch does correct the error:

 ### BEGIN INIT INFO
 # Provides:          nfs-kernel-server
@@ -64,10 +65,10 @@ case "$1" in
 		do_modprobe nfsd
 
 		# See if our running kernel supports the NFS kernel server
-		#if [ -f /proc/kallsyms ] &amp;&amp; ! grep -qE 'init_nf(sd&#124;	)' /proc/kallsyms; then
-		#	log_warning_msg "Not starting $DESC: no support in current kernel."
-		#	exit 0
-		#fi
+		if [ -f /proc/kallsyms ] &amp;&amp; ! grep -qE 'init_nf(sd&#124;	)' /proc/kallsyms; then
+			log_warning_msg "Not starting $DESC: no support in current kernel."
+			exit 0
+		fi
 		
 		do_mount nfsd $PROCNFSD_MOUNTPOINT &#124;&#124; NEED_SVCGSSD=no
 		log_begin_msg "Exporting directories for $DESC..."</description>
		<content:encoded><![CDATA[<p>Duffy is right, for my Ubuntu 9.04 (on x86 PC), kernel is already compiled with nfsd inside, but the init script still have error.   And the following patch does correct the error:</p>
<p> ### BEGIN INIT INFO<br />
 # Provides:          nfs-kernel-server<br />
@@ -64,10 +65,10 @@ case &#8220;$1&#8243; in<br />
 		do_modprobe nfsd</p>
<p> 		# See if our running kernel supports the NFS kernel server<br />
-		#if [ -f /proc/kallsyms ] &amp;&amp; ! grep -qE &#8216;init_nf(sd|	)&#8217; /proc/kallsyms; then<br />
-		#	log_warning_msg &#8220;Not starting $DESC: no support in current kernel.&#8221;<br />
-		#	exit 0<br />
-		#fi<br />
+		if [ -f /proc/kallsyms ] &amp;&amp; ! grep -qE &#8216;init_nf(sd|	)&#8217; /proc/kallsyms; then<br />
+			log_warning_msg &#8220;Not starting $DESC: no support in current kernel.&#8221;<br />
+			exit 0<br />
+		fi</p>
<p> 		do_mount nfsd $PROCNFSD_MOUNTPOINT || NEED_SVCGSSD=no<br />
 		log_begin_msg &#8220;Exporting directories for $DESC&#8230;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duffy</title>
		<link>http://computingplugs.com/wp/?p=72&#038;cpage=1#comment-453</link>
		<dc:creator>Duffy</dc:creator>
		<pubDate>Tue, 22 Jun 2010 18:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://computingplugs.com/wp/?p=72#comment-453</guid>
		<description>Using the mainline kernel from here:
http://sheeva.with-linux.com/sheeva/

NFS Kernel Server support is actually enabled as module ("nfsd").
However it seems there is a bug somewhere causing the startup script to fail with the error message mentionned at the top of this page.
By disabling (commenting out the lines) the kernel support check in the /etc/init.d/nfs-kernel-server script, the NFS server can be started successfully.

It is quite interesting to know as it avoids the need to recompile the kernel.</description>
		<content:encoded><![CDATA[<p>Using the mainline kernel from here:<br />
<a href="http://sheeva.with-linux.com/sheeva/" rel="nofollow">http://sheeva.with-linux.com/sheeva/</a></p>
<p>NFS Kernel Server support is actually enabled as module (&#8221;nfsd&#8221;).<br />
However it seems there is a bug somewhere causing the startup script to fail with the error message mentionned at the top of this page.<br />
By disabling (commenting out the lines) the kernel support check in the /etc/init.d/nfs-kernel-server script, the NFS server can be started successfully.</p>
<p>It is quite interesting to know as it avoids the need to recompile the kernel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chandra shekhar</title>
		<link>http://computingplugs.com/wp/?p=72&#038;cpage=1#comment-124</link>
		<dc:creator>chandra shekhar</dc:creator>
		<pubDate>Mon, 13 Jul 2009 06:24:04 +0000</pubDate>
		<guid isPermaLink="false">http://computingplugs.com/wp/?p=72#comment-124</guid>
		<description>it is good.</description>
		<content:encoded><![CDATA[<p>it is good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://computingplugs.com/wp/?p=72&#038;cpage=1#comment-29</link>
		<dc:creator>Kenny</dc:creator>
		<pubDate>Tue, 19 May 2009 02:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://computingplugs.com/wp/?p=72#comment-29</guid>
		<description>Please keep comments clean and constructive. Inappropriate comments will be removed. Thank you.</description>
		<content:encoded><![CDATA[<p>Please keep comments clean and constructive. Inappropriate comments will be removed. Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
