Description of problem: Any block device created with size which is less than 512 bytes doesn't get detected as an iscsi target. Hence, a block device created of size less than 512 bytes should be disallowed. rpm -qa | grep 'gluster' glusterfs-server-3.8.4-32.el7rhgs.x86_64 gluster-block-0.2.1-4.el7rhgs.x86_64 glusterfs-libs-3.8.4-32.el7rhgs.x86_64 glusterfs-3.8.4-32.el7rhgs.x86_64 glusterfs-api-3.8.4-32.el7rhgs.x86_64 glusterfs-cli-3.8.4-32.el7rhgs.x86_64 glusterfs-fuse-3.8.4-32.el7rhgs.x86_64 glusterfs-geo-replication-3.8.4-32.el7rhgs.x86_64 glusterfs-client-xlators-3.8.4-32.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1. create a block device less than 512 bytes Actual results: block device doesn't get created Expected results: disallow block device creation of size < 512 bytes Additional info:
Patch: https://review.gluster.org/#/c/17747/
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2691