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