<?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>Oracle Database Tips blog &#187; nfs mount instructions</title>
	<atom:link href="http://oracle-database-tips.com/wp/tag/nfs-mount-instructions/feed" rel="self" type="application/rss+xml" />
	<link>http://oracle-database-tips.com/wp</link>
	<description>News for Oracle professionals</description>
	<lastBuildDate>Fri, 11 May 2012 12:12:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>NFS Mount article</title>
		<link>http://oracle-database-tips.com/wp/oracle-scripts/nfs-mount-article</link>
		<comments>http://oracle-database-tips.com/wp/oracle-scripts/nfs-mount-article#comments</comments>
		<pubDate>Fri, 23 Oct 2009 11:37:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle Scripts]]></category>
		<category><![CDATA[5g]]></category>
		<category><![CDATA[avail]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[hangup]]></category>
		<category><![CDATA[hup]]></category>
		<category><![CDATA[ip addresses]]></category>
		<category><![CDATA[mkdir]]></category>
		<category><![CDATA[nfs mount]]></category>
		<category><![CDATA[nfs mount instructions]]></category>
		<category><![CDATA[unix environment]]></category>

		<guid isPermaLink="false">http://oracle-database-tips.com/wp/?p=91</guid>
		<description><![CDATA[NFS Mount a linux server's filesystem to another server]]></description>
			<content:encoded><![CDATA[<p><strong>NFS Mount</strong> is incredibly useful in a corporate unix environment.</p>
<p>You can use it to share disk space amongst servers, so that each server          &#8216;sees&#8217; the shared filesystem as if it is local.</p>
<p>If your network is fast enough, you can backup your oracle database to a shared filesystem, or just keep</p>
<p>any required software on the shared filesystem so that you do not need to install the software</p>
<p>numerous times on different servers.</p>
<p>In this example, we are sharing a filesystem called orabackup on server share01.world.com, and then</p>
<p>we will mount that on a database server called prod01.world.com.</p>
<h3>Steps to take on share01:</h3>
<p>Log in as root.</p>
<p>Add prod01&#8242;s IP to /etc/exports</p>
<p>If there is more than one entry, make sure there is a space between IP          addresses.  <!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   --></p>
<div id="textbox">
<div>
<p>[root@share01 ~]# cat /etc/exports</p>
<p>/orabackup -maproot=root 141.146.8.66</p>
</div>
</div>
<p><!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   -->Send a hangup to the mountd process to force it to reread the /etc/exports          file.  <!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   --></p>
<div id="textbox">
<div>
<p>[root@share01 ~]#kill -s HUP `cat /var/run/mountd.pid`</p>
<p>Alternatively just do : exportfs -ra</p>
</div>
</div>
<p><!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   --></p>
<h3>Steps to take on prod01:</h3>
<p>Log in as root.</p>
<p>Create /orabackup  <!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   --></p>
<div id="textbox">
<div>
<p>[root@prod01 ~]# mkdir /orabackup</p>
</div>
</div>
<p><!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   -->Edit /etc/fstab, add line to the bottom:  <!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   --></p>
<div id="textbox">
<div>
<p>[root@prod01 ~]#cat /etc/fstab share01.world.com:/orabackup /orabackup nfs rsize=1024,wsize=1024</p>
</div>
</div>
<p><!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   -->Mount the filesystem :   <!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   --></p>
<div id="textbox">
<div>
<p>[root@prod01 ~]#mount share01.world.com:/orabackup</p>
</div>
</div>
<p><!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   --></p>
<p>Once that is completed, you will be able to access it like a local filesystem.</p>
<p><!-- ccccccccccccccccccccccccccccccccccccccccccccccccc   --></p>
<div id="textbox">
<div>
<p>[root@prod01 ~]#df -h</p>
<p>Filesystem                  Size          Used Avail Use% Mounted on</p>
<p>/dev/hda9                  7.6G          6.5G 750M 90% /</p>
<p>/dev/hda1                  99M          8.7M 86M 10%  /boot</p>
<p>none                        237M          0 237M 0%        /dev/shm</p>
<p>/dev/hda7                  12G          5.6G 5.7G 50%   /home</p>
<p>/dev/hda6                   20G          17G 1.7G 91%   /u01</p>
<p>/dev/hda3                   25G          20G 4.3G 82%    /u02</p>
<p>/dev/hda5                   20G          8.5G 11G 46%    /u03</p>
<p>/dev/hda2                   25G          20G 3.5G 86%    /u04</p>
<p>share01.world.com:/orabackup 66G 29G 34G 46% /orabackup</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://oracle-database-tips.com/wp/oracle-scripts/nfs-mount-article/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

