<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="X-UA-Compatible" content="IE=7"/> <title>Share drives and directories using NFS</title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.75.2"/><link rel="home" href="index.html" title="Mageia Control Center"/><link rel="up" href="mcc-networksharing.html" title="Network Sharing"/><link rel="prev" href="diskdrake--nfs.html" title="Access NFS shared drives and directories"/><link rel="next" href="diskdrake--dav.html" title="Access WebDAV shared drives and directories"/><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script type="text/javascript"> //The id for tree cookie var treeCookieId = "treeview-4208"; var language = "en"; var w = new Object(); //Localization txt_filesfound = 'Results'; txt_enter_at_least_1_char = "You must enter at least one character."; txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended."; txt_please_wait = "Please wait. Search in progress..."; txt_results_for = "Results for: "; txt_no_results_for = "Your search returned no results for "; </script><style type="text/css"> input { margin-bottom: 5px; margin-top: 2px; } .folder { display: block; height: 22px; padding-left: 20px; background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; } </style><link rel="shortcut icon" href="favicon.png" type="image/x-icon"/><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"/><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"/><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"/><link rel="stylesheet" type="text/css" href="webhelp-default.css"/><link rel="stylesheet" type="text/css" href="webhelp-custom.css"/><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"><!----></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"><!----></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"><!----></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"><!----></script><script type="text/javascript" src="search/htmlFileList.js"><!----></script><script type="text/javascript" src="search/htmlFileInfoList.js"><!----></script><script type="text/javascript" src="nwSearchFnt.js"><!----></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"><!----></script><script type="text/javascript" src="search/index-2.js"><!----></script><script type="text/javascript" src="search/index-3.js"><!----></script></head><body><div xmlns="" id="header"><div id="navheader"><!----><table><tr><td style="height: 28px; width: 16px;"><a id="showHideButton" onclick="showHideToc();" class="pointLeft" title="Hide TOC tree">. </a></td><td><img src="../common/images/highlight-blue.gif" alt="H" height="25px" onclick="toggleHighlight()" id="showHideHighlight" style="cursor:pointer" title="Toggle search result highlighting"/></td><td><a accesskey="p" href="diskdrake--nfs.html">Prev</a> | <a accesskey="u" href="mcc-networksharing.html">Up</a> | <a accesskey="n" href="diskdrake--dav.html">Next</a></td></tr></table></div><div id="headerlogo"><img src="t-mageia-2011.png" alt="Company Logo"/></div><h1 id="pagetitle">Share drives and directories using NFS<br/>Network Sharing</h1></div><div id="content"><!----><div xml:lang="" class="section" title="Share drives and directories using NFS"><div class="titlepage"><div><div><h3 class="title"><a id="draknfs"><!----></a>Share drives and directories using NFS</h3></div><div><h2 class="subtitle">draknfs</h2></div></div></div><div class="mediaobject" align="center"><img src="images/draknfs.png" align="middle"/></div><p/><div class="section" title="Prerequisites"><div class="titlepage"><div><div><h4 class="title"><a id="d4e2133"><!----></a>Prerequisites</h4></div></div></div><p>When the wizard<sup>[<a id="d4e2136" href="#ftn.d4e2136" class="footnote">15</a>]</sup> is launched for the first time, it may display the following message:</p><div class="blockquote"><blockquote class="blockquote"><p>The package nfs-utils needs to be installed. Do you want to install it?</p></blockquote></div><p>After completing the installation, a window with an empty list is displayed.</p></div><div class="section" title="Main window"><div class="titlepage"><div><div><h4 class="title"><a id="d4e2142"><!----></a>Main window</h4></div></div></div><p>A list of directories which are shared is displayed. At this step, the list is empty. The <span class="guibutton">Add</span> button gives access to a configuration tool.</p></div><div class="section" title="Modify entry"><div class="titlepage"><div><div><h4 class="title"><a id="d4e2146"><!----></a>Modify entry</h4></div></div></div><p>The configuration tool is labeled "Modify entry". It may be also launched with the <span class="guibutton">Modify</span> button. The following parameters are available.</p><div class="mediaobject" align="center"><img src="images/draknfs4.png" align="middle"/></div><div class="section" title="NFS Directory"><div class="titlepage"><div><div><h5 class="title"><a id="d4e2153"><!----></a>NFS Directory</h5></div></div></div><p>Here you can specify which directory is to be shared. The <span class="guibutton">Directory</span> button gives access to a browser to choose it.</p></div><div class="section" title="Host access"><div class="titlepage"><div><div><h5 class="title"><a id="d4e2157"><!----></a>Host access</h5></div></div></div><p>Here you can specify the hosts that are authorized to access the shared directory.</p><p>NFS clients may be specified in a number of ways:</p><p><span class="emphasis"><em>single host</em></span>: a host either by an abbreviated name recognized be the resolver, fully qualified domain name, or an IP address</p><p><span class="emphasis"><em>netgroups</em></span>: NIS netgroups may be given as @group.</p><p><span class="emphasis"><em>wildcards</em></span>: machine names may contain the wildcard characters * and ?. For instance: *.cs.foo.edu matches all hosts in the domain cs.foo.edu.</p><p><span class="emphasis"><em>IP networks</em></span>: you can also export directories to all hosts on an IP (sub-)network simultaneously. For example, either `/255.255.252.0' or `/22' appended to the network base address.</p></div><div class="section" title="User ID Mapping"><div class="titlepage"><div><div><h5 class="title"><a id="d4e2169"><!----></a>User ID Mapping</h5></div></div></div><p><span class="emphasis"><em>map root user as anonymous</em></span>: maps requests from uid/gid 0 to the anonymous uid/gid (root_squash). The root user from the client cannot read or write to the files on the server which are created by root on the server itself.</p><p><span class="emphasis"><em>allow real remote root access</em></span>: turn off root squashing. This option is mainly useful for diskless clients (no_root_squash).</p><p><span class="emphasis"><em>map all users to anonymous user</em></span>: maps all uids and gids to the anonymous user (all_squash). Useful for NFS-exported public FTP directories, news spool directories, etc. The opposite option is no user UID mapping (no_all_squash), which is the default setting.</p><p><span class="emphasis"><em>anonuid and anongid</em></span>: explicitly set the uid and gid of the anonymous account.</p></div><div class="section" title="Advanced options"><div class="titlepage"><div><div><h5 class="title"><a id="d4e2179"><!----></a>Advanced options</h5></div></div></div><p><span class="emphasis"><em>Secured Connection</em></span>: this option requires that requests originate on an internet port less than IPPORT_RESERVED (1024). This option is on by default.</p><p><span class="emphasis"><em>Read-Only share</em></span>: allow either only read or both read and write requests on this NFS volume. The default is to disallow any request which changes the filesystem. This can also be made explicit by using this option.</p><p><span class="emphasis"><em>Synchronous access</em></span>: prevents the NFS server from violating the NFS protocol and to reply to requests before any changes made by these requests have been committed to stable storage (e.g. disc drive).</p><p><span class="emphasis"><em>Subtree checking</em></span>: enable subtree checking which can help improve security in some cases, but can decrease reliability. See exports(5) man page for more details.</p></div></div><div class="section" title="Menu entries"><div class="titlepage"><div><div><h4 class="title"><a id="d4e2189"><!----></a>Menu entries</h4></div></div></div><p>So far the list is has at least one entry.</p><div class="mediaobject" align="center"><img src="images/draknfs5.png" align="middle"/></div><div class="section" title="File|Write conf"><div class="titlepage"><div><div><h5 class="title"><a id="d4e2195"><!----></a>File|Write conf</h5></div></div></div><p>Save the current configuration.</p></div><div class="section" title="NFS Server|Restart"><div class="titlepage"><div><div><h5 class="title"><a id="d4e2198"><!----></a>NFS Server|Restart</h5></div></div></div><p>The server is stopped and restarted with the current configuration files.</p></div><div class="section" title="NFS Server|Reload"><div class="titlepage"><div><div><h5 class="title"><a id="d4e2201"><!----></a>NFS Server|Reload</h5></div></div></div><p>The configuration displayed is reloaded from the current configuration files.</p></div></div><div class="footnotes"><br/><hr width="100" align="left"/><div class="footnote"><p><sup>[<a id="ftn.d4e2136" href="#d4e2136" class="para">15</a>] </sup>You can start this tool from the command line, by typing <span class="bold"><strong>draknfs</strong></span> as root.</p></div></div></div><script type="text/javascript" src="main.js"><!----></script><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="diskdrake--nfs.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="mcc-networksharing.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="diskdrake--dav.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div><div id="leftnavigation"><div id="tabs"><ul><li><a href="#treeDiv"><em>Contents</em></a></li><li><a href="#searchDiv"><em>Search</em></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"/><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file section"><a href="mcc-intro.html">About the Manual for the Mageia Control Center</a></span></li><li><span class="file section"><a href="software-management.html">Software Management</a></span><ul><li><span class="file section"><a href="rpmdrake.html">Software Management (Install and Remove Software)</a></span><ul><li><span class="file section"><a href="rpmdrake.html#rpmdrake-introduction">Introduction to rpmdrake</a></span></li><li><span class="file section"><a href="rpmdrake.html#d4e54">The main parts of the screen</a></span></li><li><span class="file section"><a href="rpmdrake.html#d4e92">The status column</a></span></li><li><span class="file section"><a href="rpmdrake.html#d4e145">The dependencies</a></span></li></ul></li><li><span class="file section"><a href="MageiaUpdate.html">Software Packages Update</a></span></li><li><span class="file section"><a href="mgaapplet-config.html">Configure updates frequency</a></span></li><li><span class="file section"><a href="drakrpm-edit-media.html">Configure Media</a></span><ul><li><span class="file section"><a href="drakrpm-edit-media.html#d4e215">The columns</a></span></li><li><span class="file section"><a href="drakrpm-edit-media.html#d4e247">The buttons on the right</a></span></li><li><span class="file section"><a href="drakrpm-edit-media.html#d4e261">The menu</a></span></li></ul></li></ul></li><li><span class="file section"><a href="mcc-hardware.html">Hardware</a></span><ul><li><span class="file section"><a href="harddrake2.html">Hardware configuration</a></span><ul><li><span class="file section"><a href="harddrake2.html#d4e368">The window</a></span></li><li><span class="file section"><a href="harddrake2.html#d4e383">The menu</a></span></li></ul></li><li><span class="file section"><a href="draksound.html">Sound Configuration</a></span></li><li><span class="file section"><a href="drak3d.html">3D Desktop Effects</a></span><ul><li><span class="file section"><a href="drak3d.html#d4e433">Introduction</a></span></li><li><span class="file section"><a href="drak3d.html#d4e437">Getting Started</a></span></li><li><span class="file section"><a href="drak3d.html#d4e451">Troubleshooting</a></span><ul><li><span class="file section"><a href="drak3d.html#d4e453">Can't See Desktop after Logging in</a></span></li></ul></li></ul></li><li><span class="file section"><a href="XFdrake.html">Set up the graphical server</a></span></li><li><span class="file section"><a href="keyboarddrake.html">Set up the Keyboard Layout</a></span><ul><li><span class="file section"><a href="keyboarddrake.html#d4e542">Introduction</a></span></li><li><span class="file section"><a href="keyboarddrake.html#d4e546">Keyboard Layout</a></span></li><li><span class="file section"><a href="keyboarddrake.html#d4e549">Keyboard Type</a></span></li></ul></li><li><span class="file section"><a href="mousedrake.html">Set up the pointer device (mouse, touchpad)</a></span></li><li><span class="file section"><a href="system-config-printer.html">Install and configure a printer</a></span><ul><li><span class="file section"><a href="system-config-printer.html#introduction">Introduction</a></span></li><li><span class="file section"><a href="system-config-printer.html#automatic">Automatically detected printer</a></span></li><li><span class="file section"><a href="system-config-printer.html#non_automatic">No automatically detected printer</a></span></li><li><span class="file section"><a href="system-config-printer.html#terminate">Complete the installation process</a></span></li><li><span class="file section"><a href="system-config-printer.html#network_printer">Network printer</a></span></li><li><span class="file section"><a href="system-config-printer.html#network_printing_protocols">Network printing protocols</a></span></li><li><span class="file section"><a href="system-config-printer.html#properties">Device Properties</a></span></li><li><span class="file section"><a href="system-config-printer.html#d4e685">Troubleshoot</a></span></li><li><span class="file section"><a href="system-config-printer.html#specificities">Specifics</a></span></li></ul></li><li><span class="file section"><a href="scannerdrake.html">Set up scanner</a></span><ul><li><span class="file section"><a href="scannerdrake.html#scannerinstallation">Installation</a></span></li><li><span class="file section"><a href="scannerdrake.html#scannersharing">Scannersharing</a></span></li><li><span class="file section"><a href="scannerdrake.html#scannerspecifics">Specifics</a></span></li><li><span class="file section"><a href="scannerdrake.html#scannerextrasteps">Extra installation steps</a></span></li></ul></li><li><span class="file section"><a href="drakups.html">Set up a UPS for power monitoring</a></span></li></ul></li><li><span class="file section"><a href="mcc-network.html">Network and Internet</a></span><ul><li><span class="file section"><a href="draknetcenter.html">Network Center</a></span><ul><li><span class="file section"><a href="draknetcenter.html#d4e908">Introduction</a></span></li><li><span class="file section"><a href="draknetcenter.html#d4e938">The Monitor button</a></span></li><li><span class="file section"><a href="draknetcenter.html#d4e949">The Configure button</a></span></li><li><span class="file section"><a href="draknetcenter.html#d4e1008">The Advanced Settings button</a></span></li></ul></li><li><span class="file section"><a href="drakconnect.html">Set up a new network interface (LAN, ISDN, ADSL, ...)</a></span><ul><li><span class="file section"><a href="drakconnect.html#d4e1027">Introduction</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1031">A new Wired connection (Ethernet)</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1085">A new Satellite connection (DVB)</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1089">A new Cable modem connection</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1147">A new DSL connection</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1183">A new ISDN connection</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1233">A new Wireless connection (WiFi)</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1315">A new GPRS/Edge/3G connection</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1341">A new Bluetooth Dial-Up Networking connection</a></span></li><li><span class="file section"><a href="drakconnect.html#d4e1345">A new Analog telephone modem connection (POTS)</a></span></li><li><span class="file section"><a href="drakconnect.html#drakconnect-end">Ending the configuration</a></span></li></ul></li><li><span class="file section"><a href="drakconnect--del.html">Remove a connection</a></span></li><li><span class="file section"><a href="drakproxy.html">Proxy</a></span></li><li><span class="file section"><a href="drakgw.html">Share the Internet connection with other local machines</a></span><ul><li><span class="file section"><a href="drakgw.html#drakgw-principles">Principles</a></span></li><li><span class="file section"><a href="drakgw.html#drakgw-wizard">Gateway wizard</a></span></li><li><span class="file section"><a href="drakgw.html#drakgw-configure">Configure the client</a></span></li><li><span class="file section"><a href="drakgw.html#drakgw-stop">Stop connection sharing</a></span></li></ul></li><li><span class="file section"><a href="draknetprofile.html">Manage different network profiles</a></span></li><li><span class="file section"><a href="drakvpn.html">Configure VPN Connection to secure network access</a></span><ul><li><span class="file section"><a href="drakvpn.html#d4e1521">Introduction</a></span></li><li><span class="file section"><a href="drakvpn.html#d4e1527">Configuration</a></span></li></ul></li><li><span class="file section"><a href="drakhosts.html">Hosts definitions</a></span></li></ul></li><li><span class="file section"><a href="mcc-system.html">System</a></span><ul><li><span class="file section"><a href="drakauth.html">Authentication</a></span></li><li><span class="file section"><a href="drakxservices.html">Manage system services by enabling or disabling them</a></span></li><li><span class="file section"><a href="drakfont.html">Manage, add and remove fonts. Import Windows(TM) fonts</a></span></li><li><span class="file section"><a href="drakclock.html">Manage date and time</a></span></li><li><span class="file section"><a href="localedrake.html">Manage localization for your system</a></span><ul><li><span class="file section"><a href="localedrake.html#input_method">Input method</a></span></li></ul></li><li><span class="file section"><a href="logdrake.html">View and search system logs</a></span><ul><li><span class="file section"><a href="logdrake.html#d4e1733">To do a search in the logs</a></span></li><li><span class="file section"><a href="logdrake.html#d4e1748">To configure a mail alert</a></span></li><li><span class="file section"><a href="logdrake.html#d4e1782">Command line</a></span></li></ul></li><li><span class="file section"><a href="drakconsole.html">Open a console as administrator</a></span></li><li><span class="file section"><a href="userdrake.html">Users and Groups</a></span></li><li><span class="file section"><a href="transfugdrake.html">Import Windows(TM) documents and settings</a></span></li><li><span class="file section"><a href="draksnapshot-config.html">Snapshots</a></span></li></ul></li><li><span class="file section"><a href="mcc-networksharing.html">Network Sharing</a></span><ul><li><span class="file section"><a href="diskdrake--smb.html">Access Windows (SMB) shared drives and directories</a></span><ul><li><span class="file section"><a href="diskdrake--smb.html#d4e1937">Introduction</a></span></li><li><span class="file section"><a href="diskdrake--smb.html#d4e1942">Procedure</a></span></li></ul></li><li><span class="file section"><a href="draksambashare.html">Share directories and drives with Samba</a></span><ul><li><span class="file section"><a href="draksambashare.html#d4e1978">Introduction</a></span></li><li><span class="file section"><a href="draksambashare.html#d4e1981">Preparation</a></span></li><li><span class="file section"><a href="draksambashare.html#d4e1987">Wizard - Standalone server</a></span></li><li><span class="file section"><a href="draksambashare.html#d4e2030">Wizard - Primary domain controller</a></span></li><li><span class="file section"><a href="draksambashare.html#d4e2040">Declare a directory to share</a></span></li><li><span class="file section"><a href="draksambashare.html#d4e2053">Menu entries</a></span></li><li><span class="file section"><a href="draksambashare.html#d4e2069">Printers share</a></span></li><li><span class="file section"><a href="draksambashare.html#d4e2076">Samba users</a></span></li></ul></li><li><span class="file section"><a href="diskdrake--nfs.html">Access NFS shared drives and directories</a></span><ul><li><span class="file section"><a href="diskdrake--nfs.html#d4e2093">Introduction</a></span></li><li><span class="file section"><a href="diskdrake--nfs.html#d4e2099">Procedure</a></span></li></ul></li><li id="webhelp-currentid"><span class="file section"><a href="draknfs.html">Share drives and directories using NFS</a></span><ul><li><span class="file section"><a href="draknfs.html#d4e2133">Prerequisites</a></span></li><li><span class="file section"><a href="draknfs.html#d4e2142">Main window</a></span></li><li><span class="file section"><a href="draknfs.html#d4e2146">Modify entry</a></span><ul><li><span class="file section"><a href="draknfs.html#d4e2153">NFS Directory</a></span></li><li><span class="file section"><a href="draknfs.html#d4e2157">Host access</a></span></li><li><span class="file section"><a href="draknfs.html#d4e2169">User ID Mapping</a></span></li><li><span class="file section"><a href="draknfs.html#d4e2179">Advanced options</a></span></li></ul></li><li><span class="file section"><a href="draknfs.html#d4e2189">Menu entries</a></span><ul><li><span class="file section"><a href="draknfs.html#d4e2195">File|Write conf</a></span></li><li><span class="file section"><a href="draknfs.html#d4e2198">NFS Server|Restart</a></span></li><li><span class="file section"><a href="draknfs.html#d4e2201">NFS Server|Reload</a></span></li></ul></li></ul></li><li><span class="file section"><a href="diskdrake--dav.html">Access WebDAV shared drives and directories</a></span></li></ul></li><li><span class="file section"><a href="mcc-localdisks.html">Local disks</a></span><ul><li><span class="file section"><a href="drakdisk.html">Manage disk partitions</a></span></li><li><span class="file section"><a href="diskdrake--removable.html">CD/DVD burner</a></span></li><li><span class="file section"><a href="diskdrake--fileshare.html">Share your hard disk partitions</a></span></li></ul></li><li><span class="file section"><a href="mcc-security.html">Security</a></span><ul><li><span class="file section"><a href="msecgui.html">MSEC: System Security and Audit</a></span></li><li><span class="file section"><a href="drakfirewall.html">Set up your personal firewall</a></span></li><li><span class="file section"><a href="draksec.html">Configure authentication for Mageia tools</a></span></li><li><span class="file section"><a href="drakinvictus.html">Advanced setup for network interfaces and firewall</a></span></li><li><span class="file section"><a href="drakguard.html">Parental Controls</a></span></li></ul></li><li><span class="file section"><a href="mcc-boot.html">Boot</a></span><ul><li><span class="file section"><a href="drakboot.html">Set up autologin to automatically log in</a></span></li><li><span class="file section"><a href="drakboot--boot.html">Set up boot system</a></span></li><li><span class="file section"><a href="drakedm.html">Set up display manager</a></span></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(ditaSearch_Form);return false" name="ditaSearch_Form" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText"/> <input onclick="Verifie(ditaSearch_Form)" type="button" class="searchButton" value="Go" id="doSearch"/></center></fieldset></form></div><div id="searchResults"><center/></div></div></div></div></div></body></html>