[LU-13959] lctl snapshot_list should allow --fsname to be optional Created: 12/Sep/20  Updated: 12/Sep/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Joe Grund Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: lsnapshot

Rank (Obsolete): 9223372036854775807

 Description   

Consider:

 

[root@mds1 ~]# lctl snapshot_list
The fsname must be specified
List the specified snapshot or all snapshots.
Usage:
snapshot_list [-d | --detail] <-F | --fsname fsname> [-h | --help] [-n | --name ssname] [-r | --rsh remote_shell]
Options:
-d: list every piece for the specified snapshot.
-F: the filesystem name.
-h: for help information.
-n: the snapshot's name.
-r: the remote shell used for communication with remote target, the default value is 'ssh'. 

 

The --fs_name flag should be optional. If not provided, all snapshots for all known filesystems should be listed.

 


Generated at Sat Feb 10 03:05:39 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.