Description of problem:
Feature Request to add an indication of the snapshots available to a volume when querying a volume with the vol info command. At the moment an admin looking at a volume has to use two commands to even know whether the volume has snapshots. By introducing a "Snapshots Count"field to the output of the vol info command, the admin gets improved insight into the volume from a single command.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
vol info currently provided no insight into a volumes snapshots at all
vol info should provide a high level indication of the presence of snapshots for a given volume.
Patch posted upstream master : http://review.gluster.org/15029
This patch is already in rhg-3.2.0.
[root@rhs-arch-srv1 core]# gluster snapshot list vol0 | wc -l
[root@rhs-arch-srv1 core]# gluster v info vol0
Volume Name: vol0
Volume ID: ad14ae5e-df3a-4e2b-ad3e-5ea263441484
Snapshot Count: 256
Number of Bricks: 4 x 3 = 12
Done basic sanity test for the RFE and looks ok.
Bug verified on build glusterfs-3.8.4-23.el7rhgs.x86_64
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.