X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Flctl.c;h=8f47168e8c3b722bdf03c87fb15298d8cd3a9dca;hb=294b0efc31ae733c821fb76670238c51ca30d7f7;hp=a85a13f75af567dd74ea453061143f3d73fbabb8;hpb=4642f30970c8737f31d63c75eeda2cff15c68a77;p=fs%2Flustre-release.git diff --git a/lustre/utils/lctl.c b/lustre/utils/lctl.c index a85a13f..8f47168 100644 --- a/lustre/utils/lctl.c +++ b/lustre/utils/lctl.c @@ -230,9 +230,9 @@ command_t cmdlist[] = { /* Nodemap commands */ {"=== Nodemap ===", jt_noop, 0, "nodemap management"}, - {"nodemap_activate_idmap", jt_nodemap_activate, 0, + {"nodemap_activate", jt_nodemap_activate, 0, "activate nodemap idmapping functions\n" - "usage: nodemap_activate_idmap"}, + "usage: nodemap_activate"}, {"nodemap_add", jt_nodemap_add, 0, "add a new nodemap\n" "usage: nodemap_add "}, @@ -248,8 +248,14 @@ command_t cmdlist[] = { {"nodemap_modify", jt_nodemap_modify, 0, "modify a nodemap parameters" "usage: nodemap_modify nodemap_name param value"}, + {"nodemap_add_idmap", jt_nodemap_add_idmap, 0, + "add a UID or GID mapping to a nodemap"}, + {"nodemap_del_idmap", jt_nodemap_del_idmap, 0, + "delete a UID or GID mapping from a nodemap"}, {"nodemap_test_nid", jt_nodemap_test_nid, 0, "usage: nodemap_test_nid "}, + {"nodemap_test_id", jt_nodemap_test_id, 0, + "Usage: nodemap_test_id --nid --idtype [uid|gid] --id "}, /* Changelog commands */ {"=== Changelogs ==", jt_noop, 0, "changelog user management"},