path: root/
diff options
authorPrasanna Kumar Kalever <>2017-06-12 11:59:13 +0530
committerPrasanna Kumar Kalever <>2017-06-22 16:30:46 +0530
commit94c79620db4451bf804d6ab631c9ca59759dbc21 (patch)
treeee5c0e9430fb30812753ac1911bd8b5c163cb5fd /
parent8bb5dd787e84f719940230adb24642653fcaec77 (diff)
block: add support to prealloc = full | no option
currently we allocate sparse files for block backends in the gluster volume, with 'prealloc = full' option introduced by this patch we should be able to fully preallocate the backend block file. Change-Id: Ibf32df5f978f732a3fd248693170463da6d08268 Signed-off-by: Prasanna Kumar Kalever <>
Diffstat (limited to '')
1 files changed, 6 insertions, 3 deletions
diff --git a/ b/
index 986116f..a683542 100644
--- a/
+++ b/
@@ -93,13 +93,16 @@ You can run gluster-blockd as systemd service, note '/etc/sysconfig/gluster-bloc
<b>CLI</b>: you can choose to run gluster-block(cli) from any node which has gluster-blockd running
# gluster-block --help
-gluster-block (0.2)
+gluster-block (0.2.1)
gluster-block <command> <volname[/blockname]> [<args>] [--json*]
- create <volname/blockname> [ha <count>] [auth enable|disable] <host1[,host2,...]> <size>
- create block device.
+ create <volname/blockname> [ha <count>]
+ [auth <enable|disable>]
+ [prealloc <full|no>]
+ <host1[,host2,...]> <size>
+ create block device [defaults: ha 1, auth disable, prealloc no]
list <volname>
list available block devices.