Bug 1470955 - Add a check to disallow block creation when size of block device is less than 1 sector i.e., 512 bytes
Summary: Add a check to disallow block creation when size of block device is less than...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
Version: cns-3.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: CNS 3.10
Assignee: Prasanna Kumar Kalever
QA Contact: Sweta Anandpara
URL:
Whiteboard:
Depends On: 1595176
Blocks: 1545102 1568861
TreeView+ depends on / blocked
 
Reported: 2017-07-14 06:49 UTC by krishnaram Karthick
Modified: 2018-09-12 09:26 UTC (History)
2 users (show)

Fixed In Version: gluster-block-0.2.1-14.1.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1545102 (view as bug list)
Environment:
Last Closed: 2018-09-12 09:25:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:2691 0 None None None 2018-09-12 09:26:31 UTC

Description krishnaram Karthick 2017-07-14 06:49:24 UTC
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:

Comment 2 Prasanna Kumar Kalever 2017-07-14 07:23:02 UTC
Patch:
https://review.gluster.org/#/c/17747/

Comment 9 errata-xmlrpc 2018-09-12 09:25:17 UTC
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


Note You need to log in before you can comment on or make changes to this bug.