Bug 766482

Summary: No validation for stripe block size
Product: [Community] GlusterFS Reporter: shylesh <shmohan>
Component: stripeAssignee: shishir gowda <sgowda>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: gluster-bugs, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-27 06:24:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description shylesh 2011-12-12 06:55:42 UTC
Description of problem:
Volume set needs validation for stripe size to be multiple of 512 bytes

Version-Release number of selected component (if applicable):
3.3.0qa15

How reproducible:
Always

Steps to Reproduce:
1. Create a stripe volume (by default stripe block size 128KB)
2. Change the stripe size using volume set command , say 513 

  
Actual results:
Stripe size will be set for the volume 

Expected results:
Command should err out saying stripe block size should be multiple of 512 bytes

Additional info:

Comment 1 shylesh 2011-12-12 10:09:49 UTC
Validation needs to be done for numbers, as of now volume set accepts even alphabets as stripe size.

Comment 2 shishir gowda 2011-12-27 06:24:05 UTC

*** This bug has been marked as a duplicate of bug 765248 ***