public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] LXC with glusterfs backup
@ 2020-12-11  8:43 Bertorello, Marco
  2020-12-11  9:58 ` Dominic Jäger
  0 siblings, 1 reply; 4+ messages in thread
From: Bertorello, Marco @ 2020-12-11  8:43 UTC (permalink / raw)
  To: Proxmox VE user list


[-- Attachment #1.1.1: Type: text/plain, Size: 1066 bytes --]

Dear PVE users,

I'm experincing an issue with some lxc that uses glusterfs to share 
their datas.

I've those 3 lxc debian 10 based with FUSE feature activated in order to 
use glusterfs inside the containers.

All works fine, until I try to backup them (to PBS if it's useful).

The backup starts normally, but hangs without end. Last logs I can see are:

INFO: Starting Backup of VM 120 (lxc)
INFO: Backup started at 2020-12-11 04:07:02
INFO: status = running
INFO: CT Name: haproxy3
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'

until I stopped it, after 4 hours more or less.

I retried the backup but without success. During the backup job was 
running, I cannot see any activity on PBS.

Previous backup, before I implemented glusterfs, was:

120 	haproxy3 	OK 	00:00:48 	749MB 	ct/120/2020-12-10T02:25:10Z

Do you have any ideas about?

Thanks a lot and best regards,

-- 
Marco Bertorello
https://www.marcobertorello.it


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] LXC with glusterfs backup
  2020-12-11  8:43 [PVE-User] LXC with glusterfs backup Bertorello, Marco
@ 2020-12-11  9:58 ` Dominic Jäger
  2020-12-11 10:13   ` Bertorello, Marco
  0 siblings, 1 reply; 4+ messages in thread
From: Dominic Jäger @ 2020-12-11  9:58 UTC (permalink / raw)
  To: Proxmox VE user list, me

What is the output of
> cat /etc/pve/lxc/120.conf
?

On Fri, Dec 11, 2020 at 09:43:32AM +0100, Bertorello, Marco wrote:
> 
> I've those 3 lxc debian 10 based with FUSE feature activated in order to use
> glusterfs inside the containers.
> 
> All works fine, until I try to backup them (to PBS if it's useful).
> 
> The backup starts normally, but hangs without end. Last logs I can see are:
> 
> INFO: Starting Backup of VM 120 (lxc)
> INFO: Backup started at 2020-12-11 04:07:02
> INFO: status = running
> INFO: CT Name: haproxy3
> INFO: including mount point rootfs ('/') in backup
> INFO: backup mode: snapshot
> INFO: ionice priority: 7
> INFO: create storage snapshot 'vzdump'
> 
> until I stopped it, after 4 hours more or less.
> 
> I retried the backup but without success. During the backup job was running,
> I cannot see any activity on PBS.
> 
> Previous backup, before I implemented glusterfs, was:
> 
> 120 	haproxy3 	OK 	00:00:48 	749MB 	ct/120/2020-12-10T02:25:10Z
> 
> Do you have any ideas about?
> 
> Thanks a lot and best regards,
> 
> -- 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] LXC with glusterfs backup
  2020-12-11  9:58 ` Dominic Jäger
@ 2020-12-11 10:13   ` Bertorello, Marco
  2020-12-15 10:39     ` Dominic Jäger
  0 siblings, 1 reply; 4+ messages in thread
From: Bertorello, Marco @ 2020-12-11 10:13 UTC (permalink / raw)
  To: Proxmox VE user list


[-- Attachment #1.1.1: Type: text/plain, Size: 932 bytes --]

Il 11/12/2020 10:58, Dominic Jäger ha scritto:

> What is the output of
>> cat /etc/pve/lxc/120.conf
> ?

Hi Dominic, thanks a lot for your quick reply.

Here the lxc configuration (a try to backup is currently running):

root@pve3:~# cat /etc/pve/lxc/120.conf
arch: amd64
cores: 1
features: fuse=1,nesting=1
hostname: haproxy3
lock: snapshot
memory: 1024
net0: 
name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=62:FF:14:9F:F8:A6,ip=192.168.1.53/24,type=veth
ostype: debian
rootfs: DS1:subvol-120-disk-0,size=8G
swap: 512

[vzdump]
#vzdump backup snapshot
arch: amd64
cores: 1
features: fuse=1,nesting=1
hostname: haproxy3
memory: 1024
net0: 
name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=62:FF:14:9F:F8:A6,ip=192.168.1.53/24,type=veth
ostype: debian
rootfs: DS1:subvol-120-disk-0,size=8G
snapstate: prepare
snaptime: 1607674369

swap: 512

-- 
Marco Bertorello
https://www.marcobertorello.it


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] LXC with glusterfs backup
  2020-12-11 10:13   ` Bertorello, Marco
@ 2020-12-15 10:39     ` Dominic Jäger
  0 siblings, 0 replies; 4+ messages in thread
From: Dominic Jäger @ 2020-12-15 10:39 UTC (permalink / raw)
  To: Proxmox VE user list, me

The problem is FUSE together with backup of a running container.
It is explained in the documentation

https://pve.proxmox.com/pve-docs/chapter-pct.html#_fuse_mounts

The solution that is proposed in that link worked for me for GlusterFS.

On Fri, Dec 11, 2020 at 11:13:46AM +0100, Bertorello, Marco wrote:
> Here the lxc configuration (a try to backup is currently running):
> 
> root@pve3:~# cat /etc/pve/lxc/120.conf
> arch: amd64
> cores: 1
> features: fuse=1,nesting=1
> hostname: haproxy3
> lock: snapshot
> memory: 1024
> net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=62:FF:14:9F:F8:A6,ip=192.168.1.53/24,type=veth
> ostype: debian
> rootfs: DS1:subvol-120-disk-0,size=8G
> swap: 512
> 
> [vzdump]
> #vzdump backup snapshot
> arch: amd64
> cores: 1
> features: fuse=1,nesting=1
> hostname: haproxy3
> memory: 1024
> net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=62:FF:14:9F:F8:A6,ip=192.168.1.53/24,type=veth
> ostype: debian
> rootfs: DS1:subvol-120-disk-0,size=8G
> snapstate: prepare
> snaptime: 1607674369
> 
> swap: 512
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-15 10:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11  8:43 [PVE-User] LXC with glusterfs backup Bertorello, Marco
2020-12-11  9:58 ` Dominic Jäger
2020-12-11 10:13   ` Bertorello, Marco
2020-12-15 10:39     ` Dominic Jäger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal