Whamcloud - gitweb
LU-17357 mgc: wait for sptlrpc config log
[fs/lustre-release.git] / lustre / doc / lctl-lcfg_clear.8
1 .TH LCTL-LCFG_CLEAR 8 "2023-03-28" Lustre "configuration utilities"
2 .SH NAME
3 lctl\-lcfg_clear \- clear filesystem config llog
4 .SH SYNOPSIS
5 .br
6 .B lctl lcfg_clear \fIFSNAME\fR|\fIDEVNAME
7 .br
8 .SH DESCRIPTION
9 .B lcfg_clear
10 (alias
11 .BR clear_conf )
12 is run on the MGS node, with the MGS device mounted with the
13 .B -o nosvc
14 flag. It cleans up any records marked
15 .I SKIP
16 from the configuration files stored in the
17 .I CONFIGS/
18 directory. If
19 .I DEVNAME
20 is given, then the specific logs for
21 that filesystem (e.g.
22 .IR testfs-MDT0000 )
23 are processed. Otherwise, if a filesystem name is given, then all
24 configuration files are cleared. The previous configuration log is
25 backed up on the MGS disk with the suffix
26 .IR 'config.timestamp.bak' ,
27 such as
28 .IR 'testfs-MDT0000.1476454535.bak' .
29
30 .SH AVAILABILITY
31 .B lctl-lcfg_clear
32 is part of the
33 .BR lustre (7)
34 filesystem package.
35 .SH SEE ALSO
36 .BR lctl (8),
37 .BR lctl-lcfg_erase (8),
38 .BR lctl-lcfg_fork (8),
39 .BR lctl-llog_catlist (8),
40 .BR lctl-llog_clear (8),
41 .BR lctl-llog_print (8),
42 .BR lctl-snapshot-create (8),
43 .BR lctl-snapshot-destroy (8)