Whamcloud - gitweb
LU-17705 ptlrpc: replace synchronize_rcu() with rcu_barrier()
[fs/lustre-release.git] / lustre / doc / lctl-snapshot-list.8
1 .TH lctl-snapshot-list 8 "2017 Apr 13" Lustre "query Lustre snapshot"
2 .SH SYNOPSIS
3 .TP
4 .B lctl snapshot_list \fR[-d | --detail] {-F | --fsname fsname} [-h | --help]
5             [-n | --name ssname] [-r | --rsh remote_shell]
6 .br
7 .SH DESCRIPTION
8 Query the snapshot information, such as fsname of the snapshot, comment,
9 create time, the latest modification time, whether mounted or not, and so on.
10 .SH OPTIONS
11 .TP
12 .BR  -d ", " --detail
13 List all the information available for each piece of the snapshot on every
14 target (MGT/MDT/OST). Usually, the information for each piece of the snapshot
15 are the same unless some error occurred during the snapshot operations, such
16 as partly modified or mount. This option allows to check related issues.
17 .TP
18 .BR  -F ", " --fsname " "\fIfsname
19 The filesystem name.
20 .TP
21 .BR  -h ", " --help
22 For help information.
23 .TP
24 .BR  -n ", " --name " "\fIssname
25 The snapshot's name to be queried. If no snapshot name is specified, then all
26 the snapshots belonging to current Lustre filesystem will be listed.
27 .TP
28 .BR  -r ", " --rsh " "\fIremote_shell
29 Specify a shell to communicate with remote targets. The default value is
30 .BR ssh .
31 It is the system admin's duty to guarantee that the specified
32 .I remote_shell
33 works well among targets without password authentication.
34
35 .SH AVAILABILITY
36 .B lctl-snapshot-list
37 is part of the
38 .BR lustre (7)
39 filesystem package.
40 .SH SEE ALSO
41 .BR lctl (8),
42 .BR lctl-lcfg (8),
43 .BR lctl-barrier (8),
44 .BR lctl-snapshot-create (8),
45 .BR lctl-snapshot-destroy (8),
46 .BR lctl-snapshot-modify (8),
47 .BR lctl-snapshot-mount (8),
48 .BR lctl-snapshot-umount (8)