Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2021 04:37:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252989] net/glusterfs glusterfs mount not accessible if second node is down
Message-ID:  <bug-252989-7788-u8gTIpnoBa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252989-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252989-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252989

--- Comment #3 from eimar.koort@tutamail.com ---
Hello,
Do You have gluster and client(s) on separate hosts?
In my setup i have only 2 hosts both acting as gluster server and clients.

fstab on one host:
fpi4:/gluvol /mnt fusefs
rw,late,backup-volfile-servers=3Dfpi4:fbsd:/gluvol,mountprog=3D/usr/local/s=
bin/mount_glusterfs
0 0

And it still gives me "socket error". Note the "df" output.

root@fpi4:~ # mount |grep mnt
/dev/fuse on /mnt (fusefs)
root@fpi4:~ # df -h /mnt
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/fuse       0B      0B      0B   100%    /mnt
root@fpi4:~ # ls -la /mnt
total 0
ls: /mnt: Socket is not connected
root@fpi4:~ # gluster peer status
Number of Peers: 1

Hostname: fbsd
Uuid: 8b93554c-7389-40fd-9447-b622b5c9a444
State: Peer in Cluster (Disconnected)

Second host is down. Not touching first node (fpi4) and powering on virtual=
box.

oot@fpi4:~ # gluster peer status
Number of Peers: 1

Hostname: fbsd
Uuid: 8b93554c-7389-40fd-9447-b622b5c9a444
State: Peer in Cluster (Connected)

root@fpi4:~ # df -h /mnt
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/fuse      13G    2.5G     11G    19%    /mnt

root@fpi4:~ # ls -la /mnt
total 5
drwxr-xr-x   3 root  wheel    4 Jan 25 11:13 .
drwxr-xr-x  21 root  wheel  512 Jan 27 04:27 ..
-rw-r--r--   1 root  wheel   34 Jan 25 11:14 test

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252989-7788-u8gTIpnoBa>