Whamcloud - gitweb
LU-13004 ptlrpc: Allow BULK_BUF_KIOV to accept a kvec
[fs/lustre-release.git] / lustre / doc / lctl-snapshot-destroy.8
1 .TH lctl-snapshot-destroy 8 "2017 Apr 13" Lustre "destroy Lustre snapshot"
2 .SH SYNOPSIS
3 .TP
4 .B lctl snapshot_destroy \fR[-f | --force] {-F | --fsname fsname} [-h | --help]
5                {-n | --name ssname} [-r | --rsh remote_shell]
6 .br
7 .SH DESCRIPTION
8 Destroy the specified snapshot. The tool loads system configuration from
9 the file
10 .B /etc/ldev.conf
11 as described in the
12 .BR lctl (8)
13 .B SNAPSHOT
14 section. Then,  the snapshot pieces are destroyed on every Lustre target
15 (MGT/MDT/OST).
16 .SH OPTIONS
17 .TP
18 .BR -f ", " --force
19 Destroy the specified snapshot by force. If the snapshot is mounted (see
20 .BR snapshot_mount ),
21 it will be umounted firstly, then destroyed. Even if some pieces of the
22 snapshot are lost or broken for some reason(s), the remained parts of the
23 snapshot still can be destroyed with this option specified.
24 .TP
25 .BR  -F ", " --fsname " "\fIfsname
26 The filesystem name.
27 .TP
28 .BR  -h ", " --help
29 For help information.
30 .TP
31 .BR  -n ", " --name " "\fIssname
32 The snapshot (to be destroyed) name must be specified.
33 .TP
34 .BR  -r ", " --rsh " "\fIremote_shell
35 Specify a shell to communicate with remote targets. The default value is
36 .BR ssh .
37 It is the system admin's duty to guarantee that the specified
38 .I remote_shell
39 works well among targets without password authentication.
40
41 .SH AVAILABILITY
42 .B lctl-snapshot-destroy
43 is part of the
44 .BR lustre (7)
45 filesystem package.
46 .SH SEE ALSO
47 .BR lctl (8),
48 .BR lctl-lcfg (8),
49 .BR lctl-barrier (8),
50 .BR lctl-snapshot-create (8),
51 .BR lctl-snapshot-modify (8),
52 .BR lctl-snapshot-list (8),
53 .BR lctl-snapshot-mount (8),
54 .BR lctl-snapshot-umount (8)