1 .TH lctl-del_ost 8 "2022-06-13" Lustre "configuration utilities"
3 lctl del_ost \- permanently delete OST records
12 cancels the config records for an OST specified by
14 to permanently forget about it. It should be run on the MGS and will
15 search for the specified OST in the Lustre configuration log files for
16 all MDTs and clients. If
18 is not specified, it will modify the configuration log files to
19 permanently disable the OST records. Newly mounted MDTs and clients
20 will not process deleted OSTs anymore. This method allows to permanently
21 remove OSTs on a live filesystem without the use of --writeconf with
22 .BR tunefs.lustre (8).
24 Before using this command, you probably want to migrate
25 file objects still on the OST by using
29 and make sure that there are no remaining file objects on the
32 which can find files by OST index.
33 It is then recommended to first deactivate the OST using
37 .B $ lctl conf_param lustre-OST0001.osc.active=0
39 and finally use \fBlctl del_ost\fR to remove it from the configuration logs.
43 \fB\-n\fR, \fB\-\-dryrun\fR
44 An option provided so that the system administrator can see which
45 records would have been cancelled, but without actually cancelling them.
46 When deleting OST records, it is recommended to first use this option
47 and check that there are no errors.
49 \fB\-t\fR, \fB\-\-target\fR
50 This option is required and used to specify the OST label to permanently
51 delete from the records. The target label should be of the form
52 .BR "fsname-OST0a19" .
56 .B $ lctl --device MGS del_ost --target lustre-OST0001
61 and is distributed as part of the
69 .BR lctl-llog_cancel (8),
70 .BR tunefs.lustre (8),