Debian Codegraph @

utils/diodmount.8.in

raw
1 .TH mount.diod 8 "@META_DATE@" "@META_ALIAS@" "@META_NAME@"
2 .SH NAME
3 mount.diod \- mount diod file systems
4 .SH SYNOPSIS
5 \fBmount.diod\fR \fI[OPTIONS] host[:aname] dir [-o options]\fR
6 .SH DESCRIPTION
7 .B mount.diod
8 is the mount utility for the distributed I/O daemon, which is an I/O
9 forwarding service for Linux clusters built upon the Linux \fB9p\fR
10 file system.
11 .LP
12 \fBmount.diod\fR performs two main tasks:
13 1) connect and authenticate to the \fBdiod\fR server, and
14 2) issue the \fImount(2)\fR system call with appropriate mount options.
15 .LP
16 Authentication with the \fBdiod\fR server takes place in user space.
17 The connected (and authenticated) file descriptor is passed as a mount
18 option to the kernel \fB9p\fR file system
19 .LP
20 This command requires root to execute the \fImount(2)\fR system call.
21 .LP
22 The \fB9p\fR file system must support the 9P2000.L protocol variant,
23 e.g. kernel 2.6.38 or above.
24 .LP
25 The \fIhost\fR portion of the mount spec may optionally be supplied in
26 hostlist format, e.g. host1,host2,host3:aname or host[1-3]:aname, in which
27 case hosts are tried in order until a successful connection is obtained.
28 Post-connect mount errors are immediately fatal.
29 .LP
30 If the \fIhost\fR portion of the mount spec begins with a forward-slash (/),
31 it refers to the path to a UNIX domain socket.
32 .SH COMMAND LINE OPTIONS
33 .TP
34 .I "-f, --fake-mount"
35 Do everything except the mount system call.
36 .TP
37 .I "-n, --no-mtab"
38 Do not update the system mtab.
39 .TP
40 .I "-v, --verbose"
41 Set verbose mode.
42 .TP
43 .I "-o, --options opt[,opt,...]"
44 Set mount options (see below).
45 .SH MOUNT OPTIONS
46 The following file system specific mount options are handled by
47 \fBmount.diod\fR.
48 .TP
49 .I "aname=name"
50 The aname is the path of the exported file system on the server.
51 It can be specified in the mount spec in \fIhost:aname\fR format
52 like NFS, or it can be specified with this option.
53 \fBdiod\fR will not allow an attach to an empty aname.
54 \fBdiod\fR has a built-in synthetic control file system that can be
55 mounted with aname of \fIctl\fR.
56 Note that "ctl" must be explicitly exported.
57 .TP
58 .I "uname=name"
59 The user name to authenticate to the \fBdiod\fR server.
60 The default is \fIuname=root\fR.
61 .TP
62 .I "access=mode"
63 Select the access mode.
64 \fIaccess=user\fR (default) causes the mount to support multiple users,
65 and requires root authentication.
66 \fIaccess=<uid>\fR restricts access at the client to only the
67 specified user.
68 .TP
69 .I "port=n"
70 Connect to the \fIdiod\fR server on the specified port.
71 The default is the IANA-assigned 9pfs port 564.
72 .TP
73 .I "trans=name"
74 Select a transport.
75 \fBmount.diod\fR only supports \fItrans=fd\fR
76 because of its strategy for authentication.
77 .TP
78 .I "rfdno=n,wfdno=n"
79 The file descriptor for reading and writing with \fItrans=fd\fR.
80 If set, \fBmount.diod\fR assumes this file descriptor is already
81 connected to a \fBdiod\fR server and ignores \fIhost\fR in the
82 device specification, and the \fIport=n\fR option.
83 .TP
84 .I "msize=n"
85 The msize is the max 9P packet payload size.
86 The default is 65512 (65536-24)
87 .TP
88 .I "version=name"
89 Select 9P protocol version.
90 \fBdiod\fR only supports \fI9p2000.L\fR.
91 .TP
92 .I "cache=mode"
93 Specify a caching policy. By default, no caches are used.
94 If \fIcache=loose\fR, no attempts are made at consistency.
95 This mode is intended for exclusive, read-only mounts.
96 If \fIcache=fscache\fR, use FS-Cache for a persistent, read-only
97 cache backend.
98 .TP
99 .I "cachetag"
100 In the context of \fIcache=fscache\fR, select the cache tag
101 to use for this session.
102 Cache tags for existing cache sessions are listed in /sys/fs/9p/caches.
103 .TP
104 .I "nodevmap"
105 Do not map special files. Represent them as normal files.
106 This can be used to share devices/named pipes/sockets between
107 hosts.
108 .TP
109 .I "debug=n"
110 Specifies debug level for the kernel 9p module. The debug level is a bitmask.
111 .br
112 0x01 = display verbose error messages
113 .br
114 0x02 = developer debug (DEBUG_CURRENT)
115 .br
116 0x04 = display 9p trace
117 .br
118 0x08 = display VFS trace
119 .br
120 0x10 = display Marshalling debug
121 .br
122 0x20 = display RPC debug
123 .br
124 0x40 = display transport debug
125 .br
126 0x80 = display allocation debug
127 .br
128 0x100 = display protocol message debug
129 .br
130 0x200 = display Fid debug
131 .br
132 0x400 = display packet debug
133 .br
134 0x800 = display fscache tracing debug
135 .br
136 The debug level is global, i.e. it applies to all 9P file systems and
137 it remains set after the file system is unmounted.
138 The default is \fIdebug=0\fR.
139 .SH "SEE ALSO"
140 diod (8)