Bug 765464 (GLUSTER-3732)
Summary: | enhance 'volume status' command to get the available free-space in brick | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Amar Tumballi <amarts> |
Component: | glusterd | Assignee: | Vivek Agarwal <vagarwal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Rahul Hinduja <rhinduja> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | gluster-bugs, psharma, sankarshan, vraman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 17:09:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 817967 |
Description
Amar Tumballi
2011-10-18 05:59:59 UTC
CHANGE: http://review.gluster.com/2560 (lib/mount-broker: move utility functions to common-utils) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/777 (cli: volume status enhancement) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/2680 (glusterd: fix transpose of memset arguments) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/2989 (cli: Display available information in "volume status detail") merged in master by Vijay Bellur (vijay) Didnt find the required free disk space output.Marking it ON_DEV. [root@dhcp201-121 ~]# gluster volume status Status of volume: test1 Gluster process Port Online Pid ------------------------------------------------------------------------------ Brick dhcp201-171.englab.pnq.redhat.com:/vol/test1 24009 Y 4385 Brick dhcp201-147.englab.pnq.redhat.com:/vol/test1 24009 Y 4257 NFS Server on localhost 38467 Y 4481 NFS Server on dhcp201-171.englab.pnq.redhat.com 38467 Y 4391 NFS Server on dhcp201-147.englab.pnq.redhat.com 38467 Y 4263 [root@dhcp201-121 ~]# rpm -qa|grep gluster glusterfs-fuse-3.3.0qa45-1.el6.x86_64 glusterfs-rdma-3.3.0qa45-1.el6.x86_64 glusterfs-devel-3.3.0qa45-1.el6.x86_64 glusterfs-3.3.0qa45-1.el6.x86_64 glusterfs-geo-replication-3.3.0qa45-1.el6.x86_64 glusterfs-server-3.3.0qa45-1.el6.x86_64 glusterfs-debuginfo-3.3.0qa45-1.el6.x86_64 pushpesh, the command syntax for this is: gluster volume status <[VOLNAME]|all> [detail|mem|fd....]. Please find it in status help. to get free space and other details, one should give detail as the last parameter rajesh, I missed the comment#2.It is working fine:- [root@dhcp201-121 ~]# gluster volume status test1 detail Status of volume: test1 ------------------------------------------------------------------------------ Brick : Brick dhcp201-171.englab.pnq.redhat.com:/vol/test1 Port : 24009 Online : Y Pid : 4385 File System : ext4 Device : /dev/mapper/vg_dhcp201171-lv_root Mount Options : rw Inode Size : 256 Disk Space Free : 9.2GB Total Disk Space : 10.4GB Inode Count : 693600 Free Inodes : 664135 My apologies. Marking it as verified. |