Bug 766482 - No validation for stripe block size
Summary: No validation for stripe block size
Keywords:
Status: CLOSED DUPLICATE of bug 765248
Alias: None
Product: GlusterFS
Classification: Community
Component: stripe
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-12 06:55 UTC by shylesh
Modified: 2013-12-09 01:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-27 06:24:05 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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 ***


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