+#ifdef HAVE_SERVER_SUPPORT
+ /* Barrier commands */
+ {"=== Barrier ==", NULL, 0, "barrier management"},
+ {"barrier_freeze", jt_barrier_freeze, 0,
+ "freeze write barrier on MDTs\n"
+ "usage: barrier_freeze <fsname> [timeout (in seconds)]"},
+ {"barrier_thaw", jt_barrier_thaw, 0,
+ "thaw write barrier on MDTs\n"
+ "usage: barrier_thaw <fsname>"},
+ {"barrier_stat", jt_barrier_stat, 0,
+ "query write barrier status on MDTs\n"
+ "usage: barrier_stat [--state|-s] [--timeout|-t] <fsname>"},
+ {"barrier_rescan", jt_barrier_rescan, 0,
+ "rescan the system to filter out inactive MDT(s) for barrier\n"
+ "usage: barrier_rescan <fsname> [timeout (in seconds)]"},
+
+ /* Snapshot commands */
+ {"=== Snapshot ==", NULL, 0, "Snapshot management"},
+ {"snapshot_create", jt_snapshot_create, 0,
+ "create the snapshot\n"
+ "usage: snapshot_create [-b | --barrier [on | off]]\n"
+ " [-c | --comment comment]\n"
+ " <-F | --fsname fsname>\n"
+ " [-h | --help] <-n | --name ssname>\n"
+ " [-r | --rsh remote_shell]\n"
+ " [-t | --timeout timeout]"},
+ {"snapshot_destroy", jt_snapshot_destroy, 0,
+ "destroy the snapshot\n"
+ "usage: snapshot_destroy [-f | --force]\n"
+ " <-F | --fsname fsname> [-h | --help]\n"
+ " <-n | --name ssname>\n"
+ " [-r | --rsh remote_shell]"},
+ {"snapshot_modify", jt_snapshot_modify, 0,
+ "modify the snapshot\n"
+ "usage: snapshot_modify [-c | --comment comment]\n"
+ " <-F | --fsname fsname> [-h | --help]\n"
+ " <-n | --name ssname> [-N | --new new_ssname]\n"
+ " [-r | --rsh remote_shell]"},
+ {"snapshot_list", jt_snapshot_list, 0,
+ "query the snapshot(s)\n"
+ "usage: snapshot_list [-d | --detail]\n"
+ " <-F | --fsname fsname> [-h | --help]\n"
+ " [-n | --name ssname] [-r | --rsh remote_shell]"},
+ {"snapshot_mount", jt_snapshot_mount, 0,
+ "mount the snapshot\n"
+ "usage: snapshot_mount <-F | --fsname fsname> [-h | --help]\n"
+ " <-n | --name ssname>\n"
+ " [-r | --rsh remote_shell]"},
+ {"snapshot_umount", jt_snapshot_umount, 0,
+ "umount the snapshot\n"
+ "usage: snapshot_umount <-F | --fsname fsname> [-h | --help]\n"
+ " <-n | --name ssname>\n"
+ " [-r | --rsh remote_shell]"},
+#endif /* HAVE_SERVER_SUPPORT */