From 258f30c6d7d6a9aead90ff6bac851dd0f9db8fff Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Tue, 11 Jul 2017 17:15:36 +0530 Subject: cli: defend on minimum block size From, $ targetcli /backstores/user:glfs/block get attribute ATTRIBUTE CONFIG GROUP ====================== hw_block_size=512 [ro] ---------------------- Hence making the min acceptable size to be 1 sector/block i.e. 512 bytes This patch also, explicitly mention in docs about bytes as default size units. Change-Id: Iec8797082d02cc9ad51fc17e11f2ba3073aaeda0 Fixes: #35 Signed-off-by: Prasanna Kumar Kalever --- docs/gluster-block.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/gluster-block.8 b/docs/gluster-block.8 index a23598f..39345a5 100644 --- a/docs/gluster-block.8 +++ b/docs/gluster-block.8 @@ -41,7 +41,7 @@ authentication setting (default: disable) servers in the pool where targets will be exported. .TP -size in KiB|MiB|GiB|TiB|PiB ... +size in B|KiB|MiB|GiB|TiB|PiB ... (default: bytes) .PP .SS -- cgit