vzdump add 'fuse.glusterfs' in %nosyncfs

tomamplius

New Member
Nov 9, 2020
2
0
1
41
On file LXC.pm variable $do_syncfs contain sub to sync file system.

Exclude file system are defined in %nosyncfs.
Can you add 'fuse.glusterfs'?

Other solution is create configuration file?

best regards,
 

Attachments

  • LXC.png
    LXC.png
    53.4 KB · Views: 11
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
---------------------------------------------
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!