<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://gigatux.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Configuring_a_new_NFS_server</id>
	<title>Configuring a new NFS server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gigatux.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Configuring_a_new_NFS_server"/>
	<link rel="alternate" type="text/html" href="https://gigatux.com/wiki/index.php?title=Configuring_a_new_NFS_server&amp;action=history"/>
	<updated>2026-11-06T13:39:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://gigatux.com/wiki/index.php?title=Configuring_a_new_NFS_server&amp;diff=214&amp;oldid=prev</id>
		<title>Cocodude: Created page with &quot;Follow the guide below if you need to create a new NFS server to hold DTC-Xen images.  1. apt-get install nfs-kernel-server  2. Create a new /etc/exports with the following detai...&quot;</title>
		<link rel="alternate" type="text/html" href="https://gigatux.com/wiki/index.php?title=Configuring_a_new_NFS_server&amp;diff=214&amp;oldid=prev"/>
		<updated>2012-02-20T12:33:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Follow the guide below if you need to create a new NFS server to hold DTC-Xen images.  1. apt-get install nfs-kernel-server  2. Create a new /etc/exports with the following detai...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Follow the guide below if you need to create a new NFS server to hold DTC-Xen images.&lt;br /&gt;
&lt;br /&gt;
1. apt-get install nfs-kernel-server&lt;br /&gt;
&lt;br /&gt;
2. Create a new /etc/exports with the following details (updated to include the new servers):&lt;br /&gt;
  /usr/share/dtc-xen-app node00004.gigatux.com(ro,subtree_check,insecure) node00001.gigatux.com(ro,subtree_check,insecure) node01002.gigatux.com(ro,subtree_check,insecure) node49001.gigatux.com(ro,subtree_check,insecure)&lt;br /&gt;
  /usr/share/dtc-xen-os node00004.gigatux.com(ro,subtree_check,insecure) node00001.gigatux.com(ro,subtree_check,insecure) node01002.gigatux.com(ro,subtree_check,insecure) node49001.gigatux.com(ro,subtree_check,insecure)&lt;br /&gt;
  /usr/share/dtc-xen-hvm node00004.gigatux.com(ro,subtree_check,insecure) node00001.gigatux.com(ro,subtree_check,insecure) node01002.gigatux.com(ro,subtree_check,insecure) node49001.gigatux.com(ro,subtree_check,insecure)&lt;br /&gt;
&lt;br /&gt;
3. Change /etc/default/nfs-kernel-server to have &amp;#039;&amp;#039;RPCMOUNTDOPTS=&amp;quot;--manage-gids -p 4002&amp;quot;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
4. Add the following to /etc/services&lt;br /&gt;
  rpc.statd       4000/udp&lt;br /&gt;
  rpc.statd       4000/tcp&lt;br /&gt;
  rpc.mountd      4002/udp&lt;br /&gt;
  rpc.mountd      4002/tcp&lt;br /&gt;
&lt;br /&gt;
5. Ensure that /etc/hosts has valid entries as follows:&lt;br /&gt;
  109.169.0.2     node00001.gigatux.com node00001&lt;br /&gt;
  109.169.23.39   node00004.gigatux.com node00004&lt;br /&gt;
  216.66.81.3     node01001.gigatux.com node01001&lt;br /&gt;
  216.86.154.197  node01002.gigatux.com node01002&lt;br /&gt;
  85.195.104.226  node49001.gigatux.com node49001&lt;br /&gt;
&lt;br /&gt;
6. Change /root/firewall.sh to have the following under the &amp;#039;&amp;#039;# UDP&amp;#039;&amp;#039; section:&lt;br /&gt;
  iptables -A INPUT -p udp -s localhost -m multiport --ports 4000,portmapper,2049,rpc.statd,nfs,rpc.mountd -j ACCEPT&lt;br /&gt;
  iptables -A INPUT -p udp -s node00004.gigatux.com -m multiport --ports portmapper,rpc.statd,nfs,rpc.mountd -j ACCEPT&lt;br /&gt;
  iptables -A INPUT -p udp -s node01001.gigatux.com -m multiport --ports portmapper,rpc.statd,nfs,rpc.mountd -j ACCEPT&lt;br /&gt;
  iptables -A INPUT -p udp -s node01002.gigatux.com -m multiport --ports portmapper,rpc.statd,nfs,rpc.mountd -j ACCEPT&lt;br /&gt;
  iptables -A INPUT -p udp -s node49001.gigatux.com -m multiport --ports portmapper,rpc.statd,nfs,rpc.mountd -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
7. Restart the firewall by running &amp;#039;&amp;#039;/root/firewall.sh&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
8. Ensure that the root directories for /usr/share/dtc-xen-os, dtc-xen-app and dtc-xen-hvm have read/execute permissions for all by running &amp;#039;&amp;#039;chmod a+rx&amp;#039;&amp;#039; against them&lt;/div&gt;</summary>
		<author><name>Cocodude</name></author>
	</entry>
</feed>