How to restore brick if brick directory is on root filesytem in RHGS ?

Solution Verified - Updated -

Issue

  • Why brick process not able to find .glusterfs/indices directory and fail to start with below error

    [2018-07-11 04:10:22.879649] E [index.c:2342:init] 0-testvol-index: Failed to find index basepath /rhgs/brick/testvol/.glusterfs/indices.
    [2018-07-11 04:10:22.879705] E [MSGID: 101019] [xlator.c:486:xlator_init] 0-testvol-index: Initialization of volume 'testvol-index' failed, review your volfile again
    [2018-07-11 04:10:22.879737] E [MSGID: 101066] [graph.c:324:glusterfs_graph_init] 0-testvol-index: initializing translator failed
    [2018-07-11 04:10:22.879784] E [MSGID: 101176] [graph.c:680:glusterfs_graph_activate] 0-graph: init failed
    [2018-07-11 04:10:22.881695] W [glusterfsd.c:1300:cleanup_and_exit] (-->/usr/sbin/glusterfsd(mgmt_getspec_cbk+0x532) [0x55d310543ba2] -->/usr/sbin/glusterfsd(glusterfs_process_volfp+0x1b1) [0x55d31053da51] -->/usr/sbin/glusterfsd(cleanup_and_exit+0x6b) [0x55d31053cf3b] ) 0-: received signum (1), shutting down
    
  • Brick filling up root filesytem and needs to be moved to dedicated lvm disk.

Environment

  • Red Hat Enterprise Linux 7.x
  • Red Hat Gluster Storage 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content