[Bugs] [Bug 1219842] [RFE] Data Tiering:Need a way from CLI to identify hot and cold tier bricks easily

bugzilla at redhat.com bugzilla at redhat.com
Sun May 10 04:26:24 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1219842



--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10675 committed in release-3.7 by Krishnan
Parthasarathi (kparthas at redhat.com) 
------
commit 3958136d603b1dc11986b50723ab79457da45fee
Author: Mohammed Rafi KC <rkavunga at redhat.com>
Date:   Wed Apr 22 11:17:08 2015 +0530

    cli/tiering: display hot tier, and cold tier separately

            back port of http://review.gluster.org/#/c/10328

    cli commands display the brick information without a way
    to distinguish hot tier, and cold tier.

    This patch will change all the cli related output, without
    changing the corresponding xml output.

    This patch will change following things
    >> gluster volume info
    Volume Name: patchy
    Type: Tier
    Volume ID: 7745d367-811a-4fe9-a500-d04e7afa94bf
    Status: Created
    Number of Bricks: 3 x 2 = 6
    Transport-type: tcp
    Hot Bricks:
    Brick1: hostname:/home/brick21
    Brick2: hostname:/home/brick20
    Cold Bricks:
    Brick3: hostname:/home/brick19
    Brick4: hostname:/home/brick16
    Brick5: hostname:/home/brick17
    Brick6: hostname:/home/brick18

    >>gluster volume status

    Status of volume: patchy
    Gluster process                             TCP Port  RDMA Port  Online
    Pid
   
------------------------------------------------------------------------------
    Hot Bricks:
    Brick hostname:/home/brick21              49152     0          Y
    4690
    Brick hostname:/home/brick20              49153     0          Y
    4707
    Cold Bricks:
    Brick hostname:/home/brick19              49154     0          Y
    4724
    Brick hostname:/home/brick16              49155     0          Y
    4741
    Brick hostname:/home/brick17              49156     0          Y
    4758
    Brick hostname:/home/brick18              49157     0          Y
    4775
    NFS Server on localhost                     2049      0          Y
    4793

    Task Status of Volume patchy
   
------------------------------------------------------------------------------
    There are no active volume tasks

    >>gluster volume status pathy detail

    Status of volume: patchy
    Hot Bricks:
   
------------------------------------------------------------------------------
    Brick                : Brick hostname:/home/brick21
    TCP Port             : 49162
    RDMA Port            : 0
    Online               : Y
    Pid                  : 22677
    File System          : ext4
    Device               :
    /dev/mapper/luks-cd077c56-42ba-44b1-8195-f214b9bc990c
    Mount Options        : rw,seclabel,relatime,data=ordered
    Inode Size           : 256
    Disk Space Free      : 127.3GB
    Total Disk Space     : 165.4GB
    Inode Count          : 11026432
    Free Inodes          : 10998043
   
------------------------------------------------------------------------------
    Brick                : Brick hostname:/home/brick20
    TCP Port             : 49161
    RDMA Port            : 0
    Online               : Y
    Pid                  : 22660
    File System          : ext4
    Device               :
    /dev/mapper/luks-cd077c56-42ba-44b1-8195-f214b9bc990c
    Mount Options        : rw,seclabel,relatime,data=ordered
    Inode Size           : 256
    Disk Space Free      : 127.3GB
    Total Disk Space     : 165.4GB
    Inode Count          : 11026432
    Free Inodes          : 10998043
    Cold Bricks:
   
------------------------------------------------------------------------------
    Brick                : Brick hostname:/home/brick19
    TCP Port             : 49157
    RDMA Port            : 0
    Online               : Y
    Pid                  : 22501
    File System          : ext4
    Device               :
    /dev/mapper/luks-cd077c56-42ba-44b1-8195-f214b9bc990c
    Mount Options        : rw,seclabel,relatime,data=ordered
    Inode Size           : 256
    Disk Space Free      : 127.3GB
    Total Disk Space     : 165.4GB
    Inode Count          : 11026432
    Free Inodes          : 10998043
   
------------------------------------------------------------------------------
    Brick                : Brick hostname:/home/brick16
    TCP Port             : 49158
    RDMA Port            : 0
    Online               : Y
    Pid                  : 22518
    File System          : ext4
    Device               :
    /dev/mapper/luks-cd077c56-42ba-44b1-8195-f214b9bc990c
    Mount Options        : rw,seclabel,relatime,data=ordered
    Inode Size           : 256
    Disk Space Free      : 127.3GB
    Total Disk Space     : 165.4GB
    Inode Count          : 11026432
    Free Inodes          : 10998043
   
------------------------------------------------------------------------------
    Brick                : Brick hostname:/home/brick17
    TCP Port             : 49159
    RDMA Port            : 0
    Online               : Y
    Pid                  : 22535
    File System          : ext4
    Device               :
    /dev/mapper/luks-cd077c56-42ba-44b1-8195-f214b9bc990c
    Mount Options        : rw,seclabel,relatime,data=ordered
    Inode Size           : 256
    Disk Space Free      : 127.3GB
    Total Disk Space     : 165.4GB
    Inode Count          : 11026432
    Free Inodes          : 10998043
   
------------------------------------------------------------------------------
    Brick                : Brick hostname:/home/brick18
    TCP Port             : 49160
    RDMA Port            : 0
    Online               : Y
    Pid                  : 22552
    File System          : ext4
    Device               :
    /dev/mapper/luks-cd077c56-42ba-44b1-8195-f214b9bc990c
    Mount Options        : rw,seclabel,relatime,data=ordered
    Inode Size           : 256
    Disk Space Free      : 127.3GB
    Total Disk Space     : 165.4GB
    Inode Count          : 11026432
    Free Inodes          : 10998043

    Change-Id: I7d584eb8782129c12876cce2ba8ffba6c0a620bd
    BUG: 1219842
    Signed-off-by: Mohammed Rafi KC <rkavunga at redhat.com>
    Reviewed-on: http://review.gluster.org/10675
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
    Tested-by: Krishnan Parthasarathi <kparthas at redhat.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list