distaflibs.gluster.brick_ops module¶
-
distaflibs.gluster.brick_ops.add_brick(volname, nbricks, replica=1, stripe=1, peers='', mnode='')¶ Does the gluster add-brick. If peer is ‘’, peers from the config is taken. And replica/stripe will not be used by default. Returns the output of add-brick command, which would be a tuple of (retcode, stdout, sstderr) from gluster add-brick command.
-
distaflibs.gluster.brick_ops.bring_down_brick(volname, bindex, node='')¶ Kills the glusterfsd process of the particular brick Returns True on success and False on failure