blob: 411bf5546e59b6bfd6f0ece236dcec8c1bc33417 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
<?xml version="1.0" encoding="utf-8"?>
<section version="5.0" xml:id="draknfs" xmlns="http://docbook.org/ns/docbook"
xmlns:ns5="http://www.w3.org/1998/Math/MathML"
xmlns:ns4="http://www.w3.org/2000/svg"
xmlns:ns3="http://www.w3.org/1999/xhtml"
xmlns:ns2="http://www.w3.org/1999/xlink"
xmlns:ns="http://docbook.org/ns/docbook">
<info>
<title xml:id="draknfs-ti1">Share drives and directories using NFS</title>
<subtitle>draknfs</subtitle>
</info>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="draknfs.png" format="PNG"
revision="1" xml:id="draknfs-im1"/>
</imageobject>
</mediaobject>
<para/>
<section>
<title>Prerequisites</title>
<para>When the wizard<footnote>
<para>You can start this tool from the command line, by typing
<emphasis role="bold">draknfs</emphasis> as root.</para>
</footnote> is launched for the first time, it may display the following
message:</para>
<blockquote>
<para>The package nfs-utils needs to be installed. Do you want to
install it?</para>
</blockquote>
<para>After completing the installation, a window with an empty list is
displayed.</para>
</section>
<section>
<title>Main window</title>
<para>A list of directories which are shared is displayed. At this step,
the list is empty. The <guibutton>Add</guibutton> button gives access to a
configuration tool.</para>
</section>
<section>
<title>Modify entry</title>
<para>The configuration tool is labeled "Modify entry". It may be also
launched with the <guibutton>Modify</guibutton> button. The following
parameters are available.</para>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="draknfs4.png" format="PNG"
revision="1" xml:id="draknfs-im4"/>
</imageobject>
</mediaobject>
<section>
<title>NFS Directory</title>
<para>Here you can specify which directory is to be shared. The
<guibutton>Directory</guibutton> button gives access to a browser to
choose it.</para>
</section>
<section>
<title>Host access</title>
<para>Here you can specify the hosts that are authorized to access the
shared directory.</para>
<para>NFS clients may be specified in a number of ways:</para>
<para><emphasis>single host</emphasis>: a host either by an abbreviated
name recognized be the resolver, fully qualified domain name, or an IP
address</para>
<para><emphasis>netgroups</emphasis>: NIS netgroups may be given as
@group.</para>
<para><emphasis>wildcards</emphasis>: machine names may contain the
wildcard characters * and ?. For instance: *.cs.foo.edu matches all
hosts in the domain cs.foo.edu.</para>
<para><emphasis>IP networks</emphasis>: 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.</para>
</section>
<section>
<title>User ID Mapping</title>
<para><emphasis>map root user as anonymous</emphasis>: 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.</para>
<para><emphasis>allow real remote root access</emphasis>: turn off root
squashing. This option is mainly useful for diskless clients
(no_root_squash).</para>
<para><emphasis>map all users to anonymous user</emphasis>: 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.</para>
<para><emphasis>anonuid and anongid</emphasis>: explicitly set the uid
and gid of the anonymous account.</para>
</section>
<section>
<title>Advanced options</title>
<para><emphasis>Secured Connection</emphasis>: this option requires that
requests originate on an internet port less than IPPORT_RESERVED (1024).
This option is on by default.</para>
<para><emphasis>Read-Only share</emphasis>: 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.</para>
<para><emphasis>Synchronous access</emphasis>: 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).</para>
<para><emphasis>Subtree checking</emphasis>: enable subtree checking
which can help improve security in some cases, but can decrease
reliability. See exports(5) man page for more details.</para>
</section>
</section>
<section>
<title>Menu entries</title>
<para>So far the list has at least one entry.</para>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="draknfs5.png" format="PNG"
revision="1" xml:id="draknfs-im5"/>
</imageobject>
</mediaobject>
<section>
<title>File|Write conf</title>
<para>Save the current configuration.</para>
</section>
<section>
<title>NFS Server|Restart</title>
<para>The server is stopped and restarted with the current configuration
files.</para>
</section>
<section>
<title>NFS Server|Reload</title>
<para>The configuration displayed is reloaded from the current
configuration files.</para>
</section>
</section>
</section>
|