Whamcloud - gitweb
LU-17744 ldiskfs: mballoc stats fixes
[fs/lustre-release.git] / lustre / doc / lctl-lcfg.8
1 .TH LCTL-LCFG 8 "2017-04-13" Lustre "configuration utilities"
2 .SH NAME
3 lctl-lcfg \- Lustre configuration utilities
4 .SH SYNOPSIS
5 .br
6 .B lctl fork_lcfg \fR{fsname} {newname}
7 .br
8 .br
9 .B lctl erase_lcfg \fR{fsname}
10 .br
11 .SH DESCRIPTION
12 .TP
13 .B fork_lcfg \fR{fsname} {newname}
14 Generate Lustre configuration for the given filesystem
15 .I newname
16 based on the specified Lustre system
17 .I fsname
18 configuration. It is not simply copy. Instead, it uses the
19 .I newname
20 as the filesystem name in the new configuration. It can be used to
21 backup the system configuration, or generate configuration for the
22 snapshot that has the same configuration as the original filesystem
23 but with different filesystem names.
24
25 .TP
26 .B erase_lcfg \fR{fsname}
27 Permanently erase configuration for the named filesystem. It can be
28 used to remove the backup configuration or delete inactive filesystem
29 (or snapshot) from a shared MGS.
30
31 .SH AVAILABILITY
32 .B lctl-lcfg
33 is part of the
34 .BR lustre (7)
35 filesystem package.
36 .SH SEE ALSO
37 .BR lctl (8),
38 .BR lctl-snapshot-create (8),
39 .BR lctl-snapshot-destroy (8)