Bug 772145 - Proper error message is not shown while converting a distribute volume to distributed-stripe
Summary: Proper error message is not shown while converting a distribute volume to dis...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: krishnan parthasarathi
QA Contact: shylesh
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-01-06 06:44 UTC by shylesh
Modified: 2015-11-03 23:04 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:25:51 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: 3.3.0qa42
Embargoed:


Attachments (Terms of Use)

Description shylesh 2012-01-06 06:44:50 UTC
Description of problem:
Proper error message not shown upon changing the stripe count of a volume

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

How reproducible:
often

Steps to Reproduce:
1.Crate a distribute volume with one brick
2. try add-brick with stripe count 2 

  
Actual results:
Ouput shows "operation Failed"

Expected results:
It should show proper error message 

Additional info:

Comment 1 Anand Avati 2012-02-03 15:39:46 UTC
CHANGE: http://review.gluster.com/2589 (glusterd: Improved err msgs for add_brick) merged in master by Vijay Bellur (vijay)

Comment 2 shylesh 2012-05-24 05:24:02 UTC
[root@gqac022 ~]# gluster v add-brick dis stripe 2 10.16.157.66:/home/bricks/dis-str
Changing the 'stripe count' of the volume is not a supported feature. In some cases it may result in data loss on the volume. Also the
re may be issues with regular filesystem operations on the volume after the change. Do you really want to continue with 'stripe' count
 option ?  (y/n) y


Now proper message will be shown


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