Whamcloud - gitweb
d224d7f62d198aa3da61b086171f7ebd22a7410e
[fs/lustre-release.git] / lustre / doc / lctl-nodemap-set-fileset.8
1 .TH lctl-nodemap-set-fileset 8 "2019 Jan 17" Lustre "configuration utilities"
2 .SH NAME
3 lctl-nodemap-set-fileset \- Add a fileset to a nodemap.
4
5 .SH SYNOPSIS
6 .br
7 .B lctl nodemap_set_fileset --name
8 .RI < nodemap >
9 .B --fileset
10 .RI < fileset >
11 .br
12 .SH DESCRIPTION
13 .B nodemap_set_fileset
14 adds
15 .I fileset
16 to the specified
17 .IR nodemap .
18 The
19 .I fileset
20 must
21 begin with '/'. Clients belonging to
22 .I nodemap
23 will be automatically
24 presented the corresponding
25 .I fileset
26 when mounting. This means these clients
27 are doing an implicit subdirectory mount on the subdirectory represented by
28 the defined
29 .IR fileset .
30
31 .SH OPTIONS
32 .I nodemap
33 is the name of the nodemap that this fileset should be associated with.
34
35 .I fileset
36 is the fileset to restrict the clients to. The fileset must begin with '/'.
37
38 .SH EXAMPLES
39 .nf
40 # lctl nodemap_set_fileset --name tenant1 --fileset '/dir1'
41 # lctl nodemap_set_fileset --name admins --fileset ''
42 .fi
43
44 .SH AVAILABILITY
45 .B lctl
46 is part of the
47 .BR Lustre (7)
48 filesystem package.
49 .SH SEE ALSO
50 .BR lustre (7),
51 .BR lctl-nodemap-activate (8),
52 .BR lctl-nodemap-add (8),
53 .BR lctl-nodemap-del (8),
54 .BR lctl-nodemap-del-range (8),
55 .BR lctl-nodemap-add-idmap (8),
56 .BR lctl-nodemap-del-idmap (8),
57 .BR lctl-nodemap-modify (8)