Whamcloud - gitweb
LU-6635 lfsck: block replacing the OST-object for test
[fs/lustre-release.git] / lustre / doc / lctl-nodemap-del-idmap.8
1 .TH lctl-nodemap-del-idmap 8 "2015 Jan 20" Lustre "configuration utilities"
2 .SH NAME
3 lctl-nodemap-del-idmap \- Delete an existing idmap from a nodemap.
4
5 .SH SYNOPSIS
6 .br
7 .B lctl nodemap_del_idmap <--name name> <--idtype [uid|gid]>
8 <--idmap clientid:fsid>
9 .br
10 .SH DESCRIPTION
11 .B nodemap_del_idmap
12 deletes an idmap from a nodemap. Users or groups in the nodemap with that ID
13 will be squashed, if the trusted flag is not enabled.
14
15 .SH OPTIONS
16 .I name
17 is the name of the nodemap that this idmap should be deleted from.
18
19
20 .I idtype
21 is either "uid" or "gid" depending on if it is a user or group mapping that is
22 to be removed.
23
24 .I idmap
25 is the identity map to delete.
26
27 .SH EXAMPLES
28 .nf
29 # lctl nodemap_del_idmap --name remotesite --idtype uid --idmap 2001:1001
30 # lctl nodemap_del_idmap --name remotesite --idtype gid --idmap 2002:1002
31 .fi
32
33 .SH AVAILABILITY
34 .B lctl
35 is part of the
36 .BR Lustre (7)
37 filesystem package.
38 .SH SEE ALSO
39 .BR lustre (7),
40 .BR lctl-nodemap-activate (8),
41 .BR lctl-nodemap-add (8),
42 .BR lctl-nodemap-del (8),
43 .BR lctl-nodemap-add-range (8),
44 .BR lctl-nodemap-del-range (8),
45 .BR lctl-nodemap-add-idmap (8),
46 .BR lctl-nodemap-modify (8)