Bug 765003 (GLUSTER-3271) - Volume Top info successful when parent path is given
Summary: Volume Top info successful when parent path is given
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3271
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rajesh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-28 09:26 UTC by Rajesh
Modified: 2013-07-04 22:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rajesh 2011-07-28 09:26:44 UTC
The following commands show that volume top succeeds even when a brick's ancestor directory is given instead of the brick path.
When an ancestor directory is given, it will display output of the first brick found in the recursive directory search.
_____________________________________________________________________

root@raj-pc:~/glusterfs.git# gluster volume info
 
Volume Name: v1
Type: Distribute
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: raj-pc:/home/raj/bricks/a
Brick2: raj-pc:/home/raj/bricks/b
Brick3: raj-pc:/home/raj/bricks/c

root@raj-pc:~/glusterfs.git# gluster volume top v1 read-perf bs 1024000 count 100 brick raj-pc:/home/raj/bricks/a
Brick: raj-pc:/home/raj/bricks/a
Throughput 3470.60 MBps time 0.0295 secs

root@raj-pc:~/glusterfs.git# gluster volume top v1 read-perf bs 1024000 count 100 brick raj-pc:/home/raj
Brick: raj-pc:/home/raj/bricks/a
Throughput 3487.98 MBps time 0.0294 secs

Comment 1 Anand Avati 2011-09-19 08:39:12 UTC
CHANGE: http://review.gluster.com/162 (Rewrite of glusterd_volume_brickinfo_get in glusterd-utils.c) merged in master by Vijay Bellur (vijay)


Note You need to log in before you can comment on or make changes to this bug.