<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>unixpowered.com &#187; nfs</title>
	<atom:link href="http://www.unixpowered.com/blog/category/nfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unixpowered.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 21 Jul 2010 13:42:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mounting Linux NFS share: Not owner</title>
		<link>http://www.unixpowered.com/blog/2009/10/11/mounting-linux-nfs-share-not-owner/</link>
		<comments>http://www.unixpowered.com/blog/2009/10/11/mounting-linux-nfs-share-not-owner/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 12:03:22 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux tips]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris tips]]></category>

		<guid isPermaLink="false">http://www.unixpowered.com/blog/?p=365</guid>
		<description><![CDATA[I was trying to mount a RHEL 4 NFS share in Solaris 10. But for whatever reason I just could not seem to get it mounted. It would always come back with &#8220;Not owner&#8221; error:
bash-3.00# mount -F nfs carbon:/media/cdrecorder /mnt/carbon
nfs mount: mount: /mnt/carbon: Not owner
So, I checked and rechecked my settings with no success. Then, [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to mount a <acronym title="Red Hat Enterprise Linux 4">RHEL 4</acronym> NFS share in Solaris 10. But for whatever reason I just could not seem to get it mounted. It would always come back with <em>&#8220;Not owner&#8221;</em> error:</p>
<p><code>bash-3.00# <strong>mount -F nfs carbon:/media/cdrecorder /mnt/carbon</strong><br />
nfs mount: mount: /mnt/carbon: Not owner</code></p>
<p>So, I checked and rechecked my settings with no success. Then, I remembered reading something somewhere about NFS v4 in Linux being not so great at one time. Since the Linux box was running RHEL 4 I tought  this might be my problem. So, I decided to force mount using NFS v3, since Solaris 10 will try to mount the Linux share using NFS v4 first.</p>
<p><code>bash-3.00# <strong>mount -F nfs -o vers=3 carbon:/media/cdrecorder /mnt/carbon</strong><br />
bash-3.00# <strong>cd /mnt/carbon</strong><br />
bash-3.00# </code></p>
<p>That worked well. Since this was one time mounting job, I did not bother any further. If I would be doing this on regular basis I would probably edit <em>/etc/default/nfs</em> on the Solaris box and force maximum NFS client version to be v3.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/blog/2009/10/11/mounting-linux-nfs-share-not-owner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Increasing number of NFS servers on Sun Cluster</title>
		<link>http://www.unixpowered.com/blog/2008/04/04/increasing-number-of-nfs-servers-on-sun-cluster/</link>
		<comments>http://www.unixpowered.com/blog/2008/04/04/increasing-number-of-nfs-servers-on-sun-cluster/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 17:57:00 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[nfs]]></category>
		<category><![CDATA[solaris tips]]></category>
		<category><![CDATA[solaris utilities]]></category>
		<category><![CDATA[sun cluster]]></category>

		<guid isPermaLink="false">http://wayciak.wordpress.com/?p=20</guid>
		<description><![CDATA[By default Solaris 10 starts 16 NFS servers to handle NFS requests. You can tune this by editing /etc/default/nfs file.
&#60;-----------------SNIP----------------&#62;
# Maximum number of concurrent NFS requests.
# Equivalent to last numeric argument on nfsd command line.
NFSD_SERVERS=16
&#60;-----------------SNIP----------------&#62;
Changing above variables did not seem to have any effects on how many NFS server Sun Cluster started. Poking around I [...]]]></description>
			<content:encoded><![CDATA[<p>By default Solaris 10 starts 16 NFS servers to handle NFS requests. You can tune this by editing <em>/etc/default/nfs</em> file.</p>
<pre>&lt;-----------------SNIP----------------&gt;</pre>
<p><code># Maximum number of concurrent NFS requests.<br />
# Equivalent to last numeric argument on nfsd command line.<br />
NFSD_SERVERS=16</code></p>
<pre>&lt;-----------------SNIP----------------&gt;</pre>
<p>Changing above variables did not seem to have any effects on how many NFS server Sun Cluster started. Poking around I found <em>nfs_start_daemons</em> script which is part of <em>SUNWscnfs</em> package. In my case it was in <em>/opt/SUNWscnfs/bin</em> directory. It turns out that this script is looking at pre-Solaris 10 <em>nfs.server</em> init script to determine if more than 16 NFS servers are supposed to be started. In Solaris 10 NFS server as most of the services is handled by SMF. The <em>/etc/init.d/nfs.server</em> script is still present, probably due to legacy reasons, but it simply calls <em>svcadm</em> command to start NFS. Here is the relevant section of <em>nfs_start_daemons</em> script:</p>
<pre>&lt;-----------------SNIP----------------&gt;</pre>
<p><code>DEFAULT_NFSDCMD="/usr/lib/nfs/nfsd -a 16"<br />
if [ -f /etc/init.d/nfs.server ]; then<br />
NFSDCMD="`egrep '^[^#]*/usr/lib/nfs/nfsd' \<br />
/etc/init.d/nfs.server \<br />
2&gt;/dev/null | head -1`"<br />
fi</code></p>
<pre>&lt;-----------------SNIP----------------&gt;</pre>
<p>In order to increase number of NFS server that get started by Sun Cluster, you must change the number 16 above to something higher like 1024.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/blog/2008/04/04/increasing-number-of-nfs-servers-on-sun-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFS4 Invalid inbound domain name</title>
		<link>http://www.unixpowered.com/blog/2008/03/03/nfs4-invalid-inbound-domain-name/</link>
		<comments>http://www.unixpowered.com/blog/2008/03/03/nfs4-invalid-inbound-domain-name/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 18:51:35 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris tips]]></category>

		<guid isPermaLink="false">http://wayciak.wordpress.com/?p=12</guid>
		<description><![CDATA[It seems that starting with Solaris 06/07 nfs4_domain is required in sysidcfg file, otherwise jumpstart will go interactive. You can force a value for example nfs4_domain=example.net or you can set it to be dynamic. In that case the value will be derived from the name service in use. Solaris 10 has nfsmapid daemon that maps [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that starting with Solaris 06/07 <em>nfs4_domain</em> is <a title="Solaris bug database" href="http://bugs.opensolaris.org/view_bug.do?bug_id=6541730">required</a> in <em>sysidcfg </em>file, otherwise jumpstart will go interactive. You can force a value for example <em>nfs4_domain=example.net</em> or you can set it to be <em>dynamic</em>. In that case the value will be derived from the name service in use. Solaris 10 has <em>nfsmapid </em>daemon that maps numeric UID/GID to a string in format <em>user@example.net</em>.</p>
<p>If there is a domain mismatch between NFS4 client and server, the client will see files on the server owned by <em>nobody</em>. On the server syslog might log something like this:</p>
<p><code>Mar 3 15:13:14 ultra /usr/lib/nfs/nfsmapid[275]: [ID 300081 daemon.error] valid_domain: Invalid inbound domain name example.net..</code></p>
<p>In my case there was a typo in <em>/etc/resolv.conf</em> file at the end of <em>domain</em> entry. The entry contained trailing dot. <a title="docs.sun.com" href="http://docs.sun.com/app/docs/doc/816-4555/rfsrefer-118?a=view">This Sun document</a> has all the useful info that might help troubleshooting similar problems with <em>nfsmapid</em>.</p>
<p><a href="http://bugs.opensolaris.org/view_bug.do?bug_id=6541730"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/blog/2008/03/03/nfs4-invalid-inbound-domain-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
