1
0
mirror of https://github.com/gluster/gluster-block.git synced 2026-02-05 12:45:33 +01:00
Files
gluster-block/cli
Prasanna Kumar Kalever 635e25bd8c create: defend on the use of hostnames
We have noticed that our users are trying to create block volume with
hostnames and reporting issues, so it would be better if we defend it.

$ gluster-block create sample-test/block block.lab.green.com 1MiB
hostnames are not supported with gluster-block
Hint: please use ip addresses only

$ gluster-block create sample-test/block 192.168.43.158 1MiB
IQN: iqn.2016-12.org.gluster-block:2d4a2dfb-db5d-401c-b21a-01c57ad38705
PORTAL(S):  192.168.43.158:3260
RESULT: SUCCESS

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2019-05-02 19:00:39 +05:30
..