Bug 764558 (GLUSTER-2826)

Summary: stale auxiliary mounts are left over
Product: [Community] GlusterFS Reporter: Csaba Henk <csaba>
Component: geo-replicationAssignee: Csaba Henk <csaba>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, lakshmipathi
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: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: 3.2.3 Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Csaba Henk 2011-04-21 11:37:41 UTC
if master volume of a geo-replication setup is down, defunct auxiliary mounts will be created in a series.

How-to-repeat: kill the brick server(s) backing the master, then

ls /tmp/gsyncd-aux-mount*

Comment 1 Anand Avati 2011-04-21 13:36:48 UTC
PATCH: http://patches.gluster.com/patch/7026 in master (syncdaemon: handle errors in glusterfs mount more carefully)

Comment 2 Lakshmipathi G 2011-09-14 04:58:05 UTC
verified with 3.2.3 killed master bricks and temporary mount are not available.(running df or ls -l /tmp/gsyncd-aux-mount* continuously shows some tmp mount from time to time ..but they are removed soon)


[root@Centos-kaushal2 ~]# ls -l /tmp/gsyncd-aux-mount*
ls: /tmp/gsyncd-aux-mount-Ktmcu2: Transport endpoint is not connected
[root@Centos-kaushal2 ~]# ls -l /tmp/gsyncd-aux-mount*
ls: /tmp/gsyncd-aux-mount*: No such file or directory


[root@Centos-kaushal2 ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             17438736   4562932  11945644  28% /
/dev/sda1               256666     16888    226526   7% /boot
tmpfs                   190260         0    190260   0% /dev/shm
/root/swift-disk        995136    610244    384892  62% /mnt/sdb1
df: `/tmp/gsyncd-aux-mount-9_sRML': Transport endpoint is not connected

[root@Centos-kaushal2 ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             17438736   4562928  11945648  28% /
/dev/sda1               256666     16888    226526   7% /boot
tmpfs                   190260         0    190260   0% /dev/shm
/root/swift-disk        995136    610244    384892  62% /mnt/sdb1
...
after some time
....

[root@Centos-kaushal2 ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             17438736   4562940  11945636  28% /
/dev/sda1               256666     16888    226526   7% /boot
tmpfs                   190260         0    190260   0% /dev/shm
/root/swift-disk        995136    610244    384892  62% /mnt/sdb1
df: `/tmp/gsyncd-aux-mount-Qj4hwz': Transport endpoint is not connected

[root@Centos-kaushal2 ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             17438736   4562936  11945640  28% /
/dev/sda1               256666     16888    226526   7% /boot
tmpfs                   190260         0    190260   0% /dev/shm
/root/swift-disk        995136    610244    384892  62% /mnt/sdb1