Lines Matching +full:2 +full:- +full:way
8 .\" 2. Redistributions in binary form must reproduce the above copyright
20 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
46 systems are configured to be NFSv4.1 and NFSv4.2
52 All DS(s) and the MDS should support NFSv4.2 as well as NFSv4.1.
53 Mixing an MDS that supports NFSv4.2 with any DS(s) that do not support
54 NFSv4.2 will not work correctly.
61 The DS(s) need to be configured as NFSv4.1 and NFSv4.2 server(s),
76 .Bd -literal -offset indent
77 jot -w ds 20 0 | xargs mkdir -m 700
115 It is configured as a NFSv4.1 and NFSv4.2 server with
118 .Dq -p
124 .Bd -literal -offset indent
125 nfsv4,minorversion=2,soft,retrans=2
129 .Dq -p
134 For example, if there are four DSs named nfsv4-data[0-3], the
137 .Bd -literal -offset
138 nfsv4-data0:/ /data0 nfs rw,nfsv4,minorversion=2,soft,retrans=2 0 0
139 nfsv4-data1:/ /data1 nfs rw,nfsv4,minorversion=2,soft,retrans=2 0 0
140 nfsv4-data2:/ /data2 nfs rw,nfsv4,minorversion=2,soft,retrans=2 0 0
141 nfsv4-data3:/ /data3 nfs rw,nfsv4,minorversion=2,soft,retrans=2 0 0
147 .Dq -p
158 .Bd -literal -offset
159 nfs_server_flags="-u -t -n 128 -p nfsv4-data0:/data0,nfsv4-data1:/data1,nfsv4-data2:/data2,nfsv4-da…
166 non-zero in your
174 will specify that two way mirroring is to be done, via the
175 .Dq -m
177 .Bd -literal -offset
178 nfs_server_flags="-u -t -n 128 -p nfsv4-data0:/data0,nfsv4-data1:/data1,nfsv4-data2:/data2,nfsv4-da…
181 With two way mirroring, the data file for each exported file on the MDS
195 will be stored on nfsv4-data0 and nfsv4-data1, whereas the data files for
197 will be store on nfsv4-data2 and nfsv4-data3.
198 .Bd -literal -offset
199 nfs_server_flags="-u -t -n 128 -p nfsv4-data0:/data0#/export1,nfsv4-data1:/data1#/export1,nfsv4-dat…
204 For this case, it may be convenient to co-locate more than one of the DSs
210 .Dq -m
214 The above example would be fine for two way mirroring, but four way mirroring
229 Once operational, NFSv4.1 or NFSv4.2
239 .Bd -literal -offset indent
246 Non-pNFS aware clients or NFSv3 mounts will do all I/O RPCs on the MDS,
249 Since the data is separated from the metadata, the simple way to back up
253 in such a way that the
259 1 - The MDS detects a problem when trying to do proxy
264 2 - A pNFS client can report an I/O error that occurred for a DS to the MDS in
267 3 - The system administrator can perform the pnfsdskill(8) command on the MDS
271 disabled via #1 or #2.
278 .Bd -literal -offset indent
279 # pnfsdskill <mounted-on-path-of-DS>
280 # umount -N <mounted-on-path-of-DS>
283 Note that the <mounted-on-path-of-DS> must be the exact mounted-on path
288 Assuming two way mirroring, that implies the one DS of the pair stored in the
300 .Dq -r
302 .Bd -literal -offset
304 # pnfsdsfile -r nfsv4-data3 yyy.c
305 yyy.c: nfsv4-data2.home.rick ds0/207508569ff983350c000000ec7c0200e4c57b2e0000000000000000 0.0.0.0 d…
308 replaces nfsv4-data3 with an IPv4 address of 0.0.0.0, so that nfsv4-data3
318 .Dq -q
320 If the disabled/repaired DS is nfsv4-data3, the commands done on the MDS
322 .Bd -literal -offset
323 # cd <top-level-exported-dir>
324 # find . -type f -exec pnfsdsfile -q -r nfsv4-data3 {} \;
340 .Bd -literal -offset
341 # cd <top-level-exported-dir>
342 # find . -type f -exec pnfsdsfile {} \; | sed "/nfsv4-data3/!d"
348 .Dq -r
354 For the nfsv4-data3 example, the command would be:
355 .Bd -literal -offset
356 # mount -t nfs -o nfsv4,minorversion=2,soft,retrans=2 nfsv4-data3:/ /data3
359 Then restart the nfsd to re-enable the DS.
360 .Bd -literal -offset
364 Now, new files can be stored on nfsv4-data3,
366 repaired DS (nfsv4-data3).
370 data to the repaired DS and re-enable use of this mirror for it.
376 .Bd -literal -offset
377 # cd <top-level-exported-dir>
378 # find . -type f -exec pnfsdscopymr -r /data3 {} \;
387 .Bd -literal -offset
388 # cd <top-level-exported-dir>
389 # find . -type f -exec pnfsdsfile {} \; | sed "/0\.0\.0\.0/!d"
396 .Bd -literal -offset
397 # pnfsdscopymr -r /data3 <file-path-reported>
406 The only way to get rid of such a layout is to restart the
410 done while the pNFS service is running and can be re-run safely.
414 .Bd -literal -offset indent
415 https://people.freebsd.org/~rmacklem/pnfs-planb-setup.txt
441 For non-mirrored configurations, all