<?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/category/nfs-server-for-linux-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 2</title>
		<link>http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-2/</link>
		<comments>http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-2/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 21:16:01 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[NFS server]]></category>
		<category><![CDATA[nfs client side]]></category>
		<category><![CDATA[using the NFS Server]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=119</guid>
		<description><![CDATA[The following methods can be used to specify host names in NFS server. single host — Where one particular host is specified with a fully qualified domain name, hostname, or IP address. wildcards — Where a * or ? character is used to take into account a grouping of fully qualified domain names that match [...]]]></description>
			<content:encoded><![CDATA[<p>The following methods can be used to specify host names in NFS server.</p>
<ul>
<li><em>single host</em> — Where one particular 	      host is specified with a fully qualified domain name, hostname, or 	      IP address.</li>
<li><em>wildcards</em> — Where a 	      <tt>*</tt> or <tt>?</tt> character is used to take 	      into account a grouping of fully qualified domain names that match 	      a particular string of letters.  Wildcards are not to be used with 	      IP addresses; however, it is possible for them to work accidentally 	      if reverse DNS lookups fail.Be careful when using wildcards with fully qualified domain 	      names, as they tend to be more exact than expected. For example, 	      the use of <tt>*.example.com</tt> as wildcard allows 	      sales.example.com to access an exported file system, but not 	      bob.sales.example.com. To match both possibilities both 	      <tt>*.example.com</tt> and 	      <tt>*.*.example.com</tt> must be specified.</li>
<li><em>IP networks</em> — Allows the matching 	      of hosts based on their IP addresses within a larger network. For 	      example, <tt>192.168.0.0/28</tt> allows the first 16 IP 	      addresses, from 192.168.0.0 to 192.168.0.15, to access the 	      exported file system, but not 192.168.0.16 and higher.</li>
<li><em>netgroups</em> — Permits an NIS netgroup 	      name, written as 	      <tt>@<tt><em>&lt;group-name&gt;</em></tt></tt>, 	      to be used. This effectively puts the NIS server in charge of 	      access control for this exported file system, where users can be 	      added and removed from an NIS group without affecting 	      <tt>/etc/exports</tt>.</li>
</ul>
<p>In its simplest form, <tt>/etc/exports</tt> need only 	  specify the exported directory and the hosts permitted to access it, 	  as in the following example:</p>
<table border="0" width="100%" bgcolor="#dcdcdc">
<tbody>
<tr>
<td>
<pre><tt>/exported/directory gunjan.example.com</tt></pre>
</td>
</tr>
</tbody>
</table>
<p>In the example, <tt>gunjan.example.com</tt> can 	  mount <tt>/exported/directory/</tt>. Because no options are 	  specified in this example, the following default NFS options take 	  effect:</p>
<ul>
<li><tt>ro</tt> — Mounts of the exported file system 	      are read-only. Remote hosts are not able to make changes to the 	      data shared on the file system. To allow hosts to make changes to 	      the file system, the read/write (<tt>rw</tt>) option must 	      be specified.</li>
<li><tt>async</tt> — Allows the server to write data 	      at non-regular intervals. This setting works best if the exported 	      file system is read-only. If the exported file system is 	      read/write and hosts are making changes to the file system when 	      the server crashes, data can be lost. By specifying the 	      <tt>sync</tt> option, all file writes are committed to the 	      disk before the write request by the client is completed. The 	      <tt>sync</tt> option, however, can lower performance.</li>
<li><tt>wdelay</tt> — Causes the NFS server to delay 	      writing to the disk if it suspects another write request is 	      imminent. This can improve performance by reducing the number of 	      times the disk must be accessed by separate write commands, 	      reducing write overhead. The <tt>no_wdelay</tt> option 	      turns off this feature, but is only available when using the 	      <tt>sync</tt> option.</li>
<li><tt>root_squash</tt> — Prevents root users 	    connected remotely from having root privileges and assigns them the 	    user ID for the user <tt>nfsnobody</tt>. This 	    effectively &#8220;squashes&#8221; the power of the remote root user to the 	    lowest local user, preventing unauthorized alteration of files on 	    the remote server. Alternatively, the 	    <tt>no_root_squash</tt> option turns off root squashing. To 	    squash every remote user, including root, use the 	    <tt>all_squash</tt> option. To specify the user and group 	    IDs to use with remote users from a particular host, use the 	    <tt>anonuid</tt> and <tt>anongid</tt> options, 	    respectively. In this case, a special user account can be created 	    for remote NFS users to share and specify 	    <tt>(anonuid=<tt><em>&lt;uid-value&gt;</em></tt>,anongid=<tt><em>&lt;gid-value&gt;</em></tt>)</tt>, 	    where <tt><tt><em>&lt;uid-value&gt;</em></tt></tt> is the user ID number and 	    <tt><tt><em>&lt;gid-value&gt;</em></tt></tt> is the 	    group ID number.</li>
</ul>
<p>Each default for every exported file system must be explicitly 	  overridden. For example, if the <tt>rw</tt> option is not 	  specified, then the exported file system is shared as read-only. The 	  following is a sample line from <tt>/etc/exports</tt> which overrides two default options:</p>
<table border="0" width="100%" bgcolor="#dcdcdc">
<tbody>
<tr>
<td>
<pre><tt>/another/exported/directory 192.168.0.3(rw,sync)</tt></pre>
</td>
</tr>
</tbody>
</table>
<p>In this example <tt>192.168.0.3</tt> can mount 	  <tt>/another/exported/directory/</tt> read/write and all 	  transfers to disk are committed to the disk before the write request 	  by the client is completed.</p>
<p>Additionally, other options are available where no default value is 	  specified. These include the ability to disable sub-tree checking, 	  allow access from insecure ports, and allow insecure file locks 	  (necessary for certain early NFS client implementations). Refer to the 	  <tt>exports</tt> man page for details on these lesser used 	  options.</p>
<p>For further configuration refer <a title="NFS Server Configuration part 3" href="http://www.theperfectarts.com/2009/08/nfs-server-configuration-part-3/" target="_self"><strong>NFS Server Configuration part 3</strong></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-2/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>
		<item>
		<title>How NFS works in Background?</title>
		<link>http://www.theperfectarts.com/2009/08/how-nfs-works-in-background/</link>
		<comments>http://www.theperfectarts.com/2009/08/how-nfs-works-in-background/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 20:34:55 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[NFS server]]></category>
		<category><![CDATA[Network File System]]></category>
		<category><![CDATA[NFS configurationAUTH_UNIX]]></category>
		<category><![CDATA[NFS host/server/machine]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=107</guid>
		<description><![CDATA[When any Network File System (NFS) client host/server/machine wants to access a remote file/directory then its operating system sends a request to the Network File System (NFS) server. The request basically specifies, among others, a file/directory identifier, the operation (read, write, change permission, etc.), and the identity of the user on whose behalf the operation/process [...]]]></description>
			<content:encoded><![CDATA[<p>When any Network File System (NFS) client host/server/machine wants to access a remote file/directory then its operating system sends a request to the Network File System (NFS) server. The request basically specifies, among others, a file/directory identifier, the operation (read, write, change permission, etc.), and the identity of the user on whose behalf the operation/process is to be done.</p>
<p>By default, the user identity is detect with the UNIX numeric user and group policy. With this scheme, also called AUTH_UNIX, the server basically believes anything that the client sends it.</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/how-nfs-works-in-background/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is NFS?</title>
		<link>http://www.theperfectarts.com/2009/08/what-is-nfs/</link>
		<comments>http://www.theperfectarts.com/2009/08/what-is-nfs/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 20:27:39 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[NFS server]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=103</guid>
		<description><![CDATA[NFS is standing for Network File System and allowing a user on a client computer/machines to access files/directories over a network in a manner similar to how local storage is accessed. &#169;2010 Linux Servers cPanel webhosting blog. All Rights Reserved..]]></description>
			<content:encoded><![CDATA[<p>NFS is standing for Network File System and  allowing a user on a client computer/machines to access files/directories over a network in a manner similar to how local storage is accessed.</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/what-is-nfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is NFS server?</title>
		<link>http://www.theperfectarts.com/2009/07/what-is-nfs-server/</link>
		<comments>http://www.theperfectarts.com/2009/07/what-is-nfs-server/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 19:14:00 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[NFS server]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/2009/07/what-is-nfs-server/</guid>
		<description><![CDATA[NFS word belongs to &#8220;Network File System&#8220;. NFS allows to access files on server from network users which stored on computers of different types.NFS allow to access files by using Virtual File System (VFS) that runs on top of TCP/IP. With NFS, computers connected to a network as a client while accessing remote files, and [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: left;">NFS word belongs to &#8220;<i><b style="color: rgb(255, 102, 0);">N</b><span style="color: rgb(255, 102, 0);">etwork </span><b style="color: rgb(255, 102, 0);">F</b><span style="color: rgb(255, 102, 0);">ile </span><b style="color: rgb(255, 102, 0);">S</b><span style="color: rgb(255, 102, 0);">ystem</span>&#8220;.  NFS allows to access files on server from network </i>users which stored on computers of different types.NFS allow to access files by using <i>Virtual File System (VFS)</i> that runs on top of TCP/IP. With NFS, computers connected to a network as a client while accessing remote files, and as servers while providing remote users access to local shared files. With NFS we can <i>mount</i> all or a portion of a <i>file system which will  allow  client to access partition or  specific  file/directory which we  defined  in NFS  mount  point for specific  user  or network.</i></div>
<div class="blogger-post-footer">http://www.host.co.in/forums/f37/how-check-if-server-suexec-not-821/</div>
<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/07/what-is-nfs-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
