<?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>Linux Servers cPanel webhosting blog &#187; NFS Server</title>
	<atom:link href="http://www.theperfectarts.com/tag/nfs-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Sun, 11 Jul 2010 23:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>NFS Server Configuration part 3</title>
		<link>http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-3/</link>
		<comments>http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-3/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 22:17:31 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[NFS server]]></category>
		<category><![CDATA[/usr/sbin/exportfs]]></category>
		<category><![CDATA[exportfsrpc.mountd]]></category>
		<category><![CDATA[NFS Server]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=125</guid>
		<description><![CDATA[The exportfs Command Every file system being exported to remote users via NFS, as well as the access level for those file systems, are listed in the /etc/exports file. When the nfs service starts, the /usr/sbin/exportfs command launches and reads this file, and passes to rpc.mountd and rpc.nfsd the file systems available to remote users. [...]]]></description>
			<content:encoded><![CDATA[<h2>The <tt>exportfs</tt> Command</h2>
<p>Every file system being exported to remote users via NFS, as well as the 	access level for those file systems, are listed in the 	<tt>/etc/exports</tt> file. When the <tt>nfs</tt> service starts, the <tt>/usr/sbin/exportfs</tt> command 	launches and reads this file, and passes to 	<tt>rpc.mountd</tt> and <tt>rpc.nfsd</tt> the file 	systems available to remote users.</p>
<p>When issued manually, the <tt>/usr/sbin/exportfs</tt> command 	allows the root user to selectively export or unexport directories 	without restarting the NFS service. When passed the proper options, the 	<tt>/usr/sbin/exportfs</tt> command writes the exported file 	systems to <tt>/var/lib/nfs/xtab</tt>. Since 	<tt>rpc.mountd</tt> refers to the <tt>xtab</tt> file when deciding access privileges to a file system, changes to the 	list of exported file systems take effect immediately.</p>
<p>The following is a list of commonly used options available for 	<tt>/usr/sbin/exportfs</tt>:</p>
<ul>
<li><tt>-r</tt> — Causes all directories listed in 	    <tt>/etc/exports</tt> to be exported by constructing a 	    new export list in <tt>/etc/lib/nfs/xtab</tt>. This 	    option effectively refreshes the export list with any changes that 	    have been made to <tt>/etc/exports</tt>.</li>
<li><tt>-a</tt> — Causes all directories to be 	    exported or unexported, depending on what other options are passed 	    to <tt>/usr/sbin/exportfs</tt>. If no other options are 	    specified, <tt>/usr/sbin/exportfs</tt> exports all file 	    systems specified in <tt>/etc/exports</tt>.</li>
<li><tt>-o <tt><em>file-systems</em></tt></tt> — Specifies directories to be exported that are not listed in 	    <tt>/etc/exports</tt>. Replace 	    <tt><em>file-systems</em></tt> with additional file systems 	    to be exported. These file systems must be formatted the same way they 	    are specified in <tt>/etc/exports</tt>. Refer to <a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-nfs-server-export.html#S2-NFS-SERVER-CONFIG-EXPORTS">Section 9.3.1 <em>NFS Server Configuration File</em></a> for more information on 	    <tt>/etc/exports</tt> syntax. This option is often used 	    to test an exported file system before adding it permanently to the 	    list of file systems to be exported.</li>
<li><tt>-i</tt> — Ignores 	    <tt>/etc/exports</tt>; only options given from the 	    command line are used to define exported file systems.</li>
<li><tt>-u</tt> — Unexports all shared 	  directories. The command <tt>/usr/sbin/exportfs -ua</tt> suspends NFS file sharing while keeping all NFS daemons up. To 	  reenable NFS sharing, type <tt>exportfs -r</tt>.</li>
<li><tt>-v</tt> — Verbose operation, where the file systems 	    being exported or unexported are displayed in greater detail when the 	    <tt>exportfs</tt> command is executed.</li>
</ul>
<p>If no options are passed to the <tt>/usr/sbin/exportfs</tt> command, it 	displays a list of currently exported file systems.</p>
<p>For more information about the <tt>/usr/sbin/exportfs</tt> command, refer to the <tt>exportfs</tt> man page.</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFS Server Configuration part 1</title>
		<link>http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-1/</link>
		<comments>http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-1/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 21:10:21 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[NFS server]]></category>
		<category><![CDATA[/etc/exports file]]></category>
		<category><![CDATA[hosts/servers]]></category>
		<category><![CDATA[Network File System]]></category>
		<category><![CDATA[NFS Server]]></category>
		<category><![CDATA[NFS Server config files]]></category>
		<category><![CDATA[NFS Server Configuration]]></category>
		<category><![CDATA[redhat-config-nfs]]></category>
		<category><![CDATA[using the NFS Server]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=110</guid>
		<description><![CDATA[NFS Server Configuration There are three different ways to configure an Network File System (NFS) server in Linux: using the NFS Server Configuration Tool  (redhat-config-nfs), manually you can editing its configuration file /etc/exports as well as using the /usr/sbin/exportfs command. In this thread we are configuring Network File System server by using last two option [...]]]></description>
			<content:encoded><![CDATA[<p>NFS Server Configuration</p>
<p>There are three different ways to configure an Network File System (NFS) server in Linux: using the NFS Server Configuration Tool  (redhat-config-nfs), manually you can editing its configuration file /etc/exports as well as using the /usr/sbin/exportfs command.</p>
<p>In this thread we are configuring Network File System server by using last two option which is file /etc/exports and /usr/sbin/exportfs.</p>
<p>The /etc/exports file defines which file systems are exported to remote hosts/servers and specifies options.Blank lines are ignored and comments can be made by starting a line with the hash mark (#), and long lines can be wrapped with a backslash (\). Each exported file system should be on its own individual line, and any lists of authorized hosts placed after an exported file system must be separated by space characters. Options for each of the hosts/servers must be placed in parentheses directly after the host identifier, without any spaces separating the host and the first parenthesis.</p>
<p>A line for an exported file system has the following structure:</p>
<ol>
<li>&lt;export&gt; &lt;host1&gt;(&lt;options&gt;) &lt;hostN&gt;(&lt;options&gt;)&#8230;</li>
<li>&lt;export&gt; &lt;host2&gt;(&lt;options&gt;) &lt;hostN&gt;(&lt;options&gt;)&#8230;</li>
<li>&lt;export&gt; &lt;host3&gt;(&lt;options&gt;) &lt;hostN&gt;(&lt;options&gt;)&#8230;</li>
</ol>
<p>In this structure, replace &lt;export&gt;  with the directory being exported, replace &lt;host1&gt; with the host/server or network to which the export is being shared, and replace (&lt;options&gt; with the options for that host/server or network. Additional hosts can be specified in a space separated list.</p>
<p>To specify host names refer <a title="NFS Server Configuration part 2" href="http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-2/" target="_self">NFS Server Configuration part 2</a></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
