Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-1267 lfsck: framework (3) for MDT-OST consistency
[fs/lustre-release.git]
/
lustre
/
utils
/
lctl.c
diff --git
a/lustre/utils/lctl.c
b/lustre/utils/lctl.c
index
c83b9dd
..
0145064
100644
(file)
--- a/
lustre/utils/lctl.c
+++ b/
lustre/utils/lctl.c
@@
-216,19
+216,31
@@
command_t cmdlist[] = {
{"=== Pools ==", jt_noop, 0, "pool management"},
{"pool_new", jt_pool_cmd, 0,
"add a new pool\n"
-
"usage
pool_new <fsname>.<poolname>"},
-
{"pool_add", jt_pool_cmd, 0,
+
"usage:
pool_new <fsname>.<poolname>"},
+ {"pool_add", jt_pool_cmd, 0,
"add the named OSTs to the pool\n"
-
"usage
pool_add <fsname>.<poolname> <ostname indexed list>"},
+
"usage:
pool_add <fsname>.<poolname> <ostname indexed list>"},
{"pool_remove", jt_pool_cmd, 0,
"remove the named OST from the pool\n"
-
"usage
pool_remove <fsname>.<poolname> <ostname indexed list>"},
+
"usage:
pool_remove <fsname>.<poolname> <ostname indexed list>"},
{"pool_destroy", jt_pool_cmd, 0,
"destroy a pool\n"
-
"usage
pool_destroy <fsname>.<poolname>"},
+
"usage:
pool_destroy <fsname>.<poolname>"},
{"pool_list", jt_pool_cmd, 0,
"list pools and pools members\n"
- "usage pool_list <fsname>[.<poolname>] | <pathname>"},
+ "usage: pool_list <fsname>[.<poolname>] | <pathname>"},
+
+ /* Nodemap commands */
+ {"=== Nodemap ===", jt_noop, 0, "nodemap management"},
+ {"nodemap_activate_idmap", jt_nodemap_activate, 0,
+ "activate nodemap idmapping functions\n"
+ "usage: nodemap_activate_idmap"},
+ {"nodemap_add", jt_nodemap_add, 0,
+ "add a new nodemap\n"
+ "usage: nodemap_add <nodemap_name>"},
+ {"nodemap_del", jt_nodemap_del, 0,
+ "remove a nodemap\n"
+ "usage: nodemap_del <nodemap_name>"},
/* Changelog commands */
{"=== Changelogs ==", jt_noop, 0, "changelog user management"},
@@
-343,10
+355,6
@@
command_t cmdlist[] = {
{"test_brw", jt_obd_test_brw, 0,
"do <num> bulk read/writes (<npages> per I/O, on OST object <objid>)\n"
"usage: test_brw [t]<num> [write [verbose [npages [[t]objid]]]]"},
- {"lwt", jt_ptl_lwt, 0,
- "light-weight tracing\n"
- "usage: lwt start\n"
- " lwt stop [file]"},
{"memhog", jt_ptl_memhog, 0,
"memory pressure testing\n"
"usage: memhog <page count> [<gfp flags>]"},
@@
-362,7
+370,8
@@
command_t cmdlist[] = {
" [-e | --error error_handle] [-h | --help]\n"
" [-n | --dryrun switch] [-r | --reset]\n"
" [-s | --speed speed_limit]\n"
- " [-t | --type lfsck_type[,lfsck_type...]]"},
+ " [-t | --type lfsck_type[,lfsck_type...]]\n"
+ " [-w | --windows win_size]"},
{"lfsck_stop", jt_lfsck_stop, 0, "stop lfsck(s)\n"
"usage: lfsck_stop <-M | --device [MDT,OST]_device> [-h | --help]"},