| Summary: | Replace-brick commit-force fails if source brick is offline. | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | krishnan parthasarathi <kparthas> |
| Component: | glusterd | Assignee: | krishnan parthasarathi <kparthas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | shylesh <shmohan> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | mainline | CC: | gluster-bugs, nsathyan, sgowda |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-24 17:25:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 817967 | ||
|
Description
krishnan parthasarathi
2012-01-10 05:52:07 UTC
CHANGE: http://review.gluster.com/2620 (glusterd: Fixed replace-brick commit_force algo.) merged in master by Vijay Bellur (vijay) gluster> volume create new sng:/export/dir1 Creation of volume new has been successful. Please start the volume to access data. gluster> volume start new Starting volume new has been successful root@shishirng:~# kill -s 9 1511 root@shishirng:~# gluster gluster> volume replace-brick new sng:/export/dir1 sng:/export/dir2 start Source brick sng:/export/dir1 is not online. gluster> volume replace-brick new sng:/export/dir1 sng:/export/dir2 commit force replace-brick commit successful gluster> volume info Volume Name: new Type: Distribute Volume ID: 17d10137-26a5-48d3-9bf1-c89b9ec42d0b Status: Started Number of Bricks: 1 Transport-type: tcp Bricks: Brick1: sng:/export/dir2 gluster> |