Bug 763334 - (GLUSTER-1602) Volume start/stop sometime fails.
Volume start/stop sometime fails.
Status: CLOSED CURRENTRELEASE
Product: GlusterFS
Classification: Community
Component: glusterd (Show other bugs)
mainline
All Linux
low Severity medium
: ---
: ---
Assigned To: shishir gowda
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-15 02:59 EDT by shishir gowda
Modified: 2015-12-01 11:45 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vijay Bellur 2010-09-15 02:18:07 EDT
PATCH: http://patches.gluster.com/patch/4790 in master (Volume stop/start fails sometimes)
Comment 1 shishir gowda 2010-09-15 02:59:37 EDT
gluster> volume start new
Starting volume new has been unsuccessful
Volume name new, brick: 192.168.1.131:/export/dir1, path /export/dir1 is not present

after ends are up backend

gluster> volume start new
Starting volume new has been unsuccessful
Volume new already started

root@shishirng-laptop:/home/shishirng# gluster volume stop new
Stopping volume will make its data inaccessible. Do you want to Continue? (y/n) y
Stopping volume new has been unsuccessful

gluster> volume info 

Volume Name: new
Type: Replicate
Status: Started       <----state is started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.1.131:/export/dir1
Brick2: 192.168.1.131:/export/dir2

even force fails:

gluster> volume stop new force
Stopping volume will make its data inaccessible. Do you want to Continue? (y/n) y
Stopping volume new has been successful
gluster> volume info 

Volume Name: new
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.1.131:/export/dir1
Brick2: 192.168.1.131:/export/dir2

log msg:

[2010-09-15 12:26:27.215746] I [glusterd-op-sm.c:2730:glusterd_op_stop_volume] : About to stop glusterfs for brick 192.168.1.131:/export/dir1
[2010-09-15 12:26:27.215809] E [glusterd-utils.c:868:glusterd_volume_stop_glusterfs] : Unable to open pidfile: /etc/glusterd/vols/new/run/192.168.1.131-export-dir1.pid

The file does not exist

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