Hide Forgot
Description of problem: ======================= Listing snapshot in detail using "gluster snapshot list volume1 -d" command does not give the follwing details : -Space consumed by the snap -brick details -ro/rw mode -time taken to create the snap Version-Release number of selected component (if applicable): ============================================================= glusterfs 3.4.0.snap.dec03.2013git How reproducible: ================= always Steps to Reproduce: ==================== 1.Create a distributed volume and start it 2.Mount the volume and create some files 3.Create multiple snaps of the volume 4.List all the snapshots taken in detail : gluster snapshot list volume1 -d Volume Name : volume1 Number of snaps taken : 4 Number of snaps available : 252 Snap Name : snap1 Snap Time : 2013-12-10 07:07:56 Snap ID : e1a2ef0b-c4e6-43fb-ab81-1749dd5b0923 CG Name : Does not exist CG ID : Does not exist Snap Description : Description not present Snap Status : In-use Snap Name : snap2 Snap Time : 2013-12-10 07:37:55 Snap ID : 307c4b19-1bac-4073-9af7-6e740455f414 CG Name : Does not exist CG ID : Does not exist Snap Description : Description not present Snap Status : In-use Snap Name : snap3 Snap Time : 2013-12-10 09:20:02 Snap ID : 67d036ea-e48d-425b-906c-c9696ce8a5e3 CG Name : Does not exist CG ID : Does not exist Snap Description : Description not present Snap Status : In-use Snap Name : snap4 Snap Time : 2013-12-10 09:26:41 Snap ID : 9f72db9b-92a9-4b2f-958c-a0f8631e43a9 CG Name : Does not exist CG ID : Does not exist Snap Description : this is a snap of volume1 Snap Status : In-use Actual results: ============== Listing snapshots in detail does not list -Space consumed by the snap -brick details -ro/rw mode -time taken to create the snap Expected results: ================ All the details of the snapshot must be listed Additional info:
Due to change in cli, -d option is no more valid. We have the following new command to get the details. gluster snapshot status [(<snap-name> | volume <vol-name>)] In this phase we will not be providing following details -ro/rw mode -time taken to create the snap Snap will always be in RO mode.
Verified with build: glusterfs-3.4.1.5.snap.mar17.2014git-1.el6.x86_64 gluster volume status shows the brick information in detail as follows: [root@snapshot-09 ~]# gluster snapshot status snap10 Snap Name : snap10 Snap UUID : 6a6da61a-de74-4bb7-be1e-0ef88de1694e Brick Path : 10.70.42.220:/var/run/gluster/snaps/23ff0ef08b4d4951bb9fb955a541d7c3/dev-VolGroup0-23ff0ef08b4d4951bb9fb955a541d7c3-brick/b1 Volume Group : VolGroup0 Brick Running : Yes Brick PID : 21284 Data Percentage : 0.13 LV Size : 7.90g Brick Path : 10.70.43.20:/var/run/gluster/snaps/23ff0ef08b4d4951bb9fb955a541d7c3/dev-VolGroup0-23ff0ef08b4d4951bb9fb955a541d7c3-brick/b1 Volume Group : VolGroup0 Brick Running : Yes Brick PID : 19467 Data Percentage : 0.13 LV Size : 7.90g Brick Path : 10.70.43.186:/var/run/gluster/snaps/23ff0ef08b4d4951bb9fb955a541d7c3/dev-VolGroup0-23ff0ef08b4d4951bb9fb955a541d7c3-brick/b1 Volume Group : VolGroup0 Brick Running : Yes Brick PID : 15952 Data Percentage : 0.13 LV Size : 7.90g Brick Path : 10.70.43.70:/var/run/gluster/snaps/23ff0ef08b4d4951bb9fb955a541d7c3/dev-VolGroup0-23ff0ef08b4d4951bb9fb955a541d7c3-brick/b1 Volume Group : VolGroup0 Brick Running : Yes Brick PID : 19994 Data Percentage : 0.13 LV Size : 7.90g Moving the bug to verified state
Marking snapshot BZs to RHS 3.0.
Setting flags required to add BZs to RHS 3.0 Errata
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. http://rhn.redhat.com/errata/RHEA-2014-1278.html