Hi
When i backup lxc with glusterfs mount point, backup never finish.
I understant that you can disableit without rationale and maybe it's a bad way to resolve this issue.
on function sync_container_namespace the bellow loop is never exit.
while (waitpid($child, 0) != $child) {}
There is no fail and no error message.
When i use bash command in lxc "sync /mount/point" there is no issue.
But
You can find bellow step to reproduce :
---------------------------------------
create lxc with name g1 with
- debian 10 template
- on lvmthin pool storage
- privilegied conteneur
- dhcp for configuration phase
- exemple lxc id = 125
LXCG1=125
LXCG2=126
pct start $LXCG1
pct enter $LXCG1
apt-get update
apt install glusterfs-server -y
apt clean
systemctl enable glusterd
mkdir -p /data/glusterfs
#add the 2 line in /etc/hosts
cat << EOF >> /etc/hosts
10.10.10.1 g1
10.10.10.2 g2
EOF
poweroff
pct clone $LXCG1 $LXCG2 --hostname g2
pct set $LXCG1 --net0 name=eth0,bridge=vmbr0,ip=10.10.10.1/24
pct set $LXCG2 --net0 name=eth0,bridge=vmbr0,ip=10.10.10.2/24
pct set $LXCG1 --features fuse=0,mknod=0
pct start $LXCG1
pct start $LXCG2
pct enter $LXCG1
gluster peer probe g2
gluster volume create glusterfsvolume replica 2 g1:/data/glusterfs g2:/data/glusterfs force
gluster volume start glusterfsvolume
mkdir /mnt/tmp/
mount -t glusterfs g1:/glusterfsvolume /mnt/tmp
vzdump $LXCG2 #work
vzdump $LXCG1 #never finish
---------------------------------------------