[SOLVED] LXC - vzdump tempfolder on SMB didn't work

fireon

Distinguished Member
Oct 25, 2010
4,533
494
153
Austria/Graz
deepdoc.at
Hello,

pve-manager/5.2-9/4b30e8f9 (running kernel: 4.15.18-4-pve)

we have an Cluster with 3 Servers and a HP SAN. The rootspace have about 50GB. I did not know that by vzdumpprocess all lxc's were temporary saved @tmp. So we have lxc's that are bigger then the 50GB @rootfilesystem. Ok, then let us set the tempfolder to the sambabackupshare. But if to that we get a lot of errors at the vzdumprocess:

Code:
NFO: rsync: get_xattr_names: llistxattr(""/mnt/pve/sicherung/dump/lxctemp/vzdumptmp29134/lib/systemd/system/.system.slice.pYViJC"",1024) failed: No data available (61)
INFO: rsync: get_xattr_names: llistxattr(""/mnt/pve/sicherung/dump/lxctemp/vzdumptmp29134/lib/systemd/system/.systemd-ask-password-console.path.xaoG5U"",1024) failed: No data available (61)
INFO: rsync: get_xattr_names: llistxattr(""/mnt/pve/sicherung/dump/lxctemp/vzdumptmp29134/lib/systemd/system/.systemd-ask-password-console.service.JslJsd"",1024) failed: No data available (61)
INFO: rsync: get_xattr_names: llistxattr(""/mnt/pve/sicherung/dump/lxctemp/vzdumptmp29134/lib/systemd/system/.systemd-ask-password-plymouth.path.V9KpQv"",1024) failed: No data available (61)
INFO: rsync: get_xattr_names: llistxattr(""/mnt/pve/sicherung/dump/lxctemp/vzdumptmp29134/lib/systemd/system/.systemd-ask-password-plymouth.service.D6ZJeO"",1024) failed: No data available (61)
INFO: rsync: get_xattr_names: llistxattr(""/mnt/pve/sicherung/dump/lxctemp/vzdumptmp29134/lib/systemd/system/.systemd
ProjektWald2bFotos, ACL_TYPE_DEFAULT): Operation not supported (95)
INFO: rsync: set_acl: sys_acl_set_file(media-kodi/bilder/Schuljahr 2014-15, ACL_TYPE_DEFAULT): Operation not supported (95)
INFO: rsync: set_acl: sys_acl_set_file(media-kodi/bilder/Schuljahr 2014-15/1409 wandertag herberstein, ACL_TYPE_DEFAULT): Operation not supported (95)

The backupmachine is an Proxmoxserver with ZFS and Samba. The xattr Atribute at samba and ZFS is on. So i get this errors?

Here my smb.conf:

Code:
[global]
        os level = 20
        usershare allow guests = yes
        security = user
        obey pam restrictions = yes
        pam password change = yes
        panic action = /usr/share/samba/panic-action %d
        max log size = 1000
        server role = standalone server
        map to guest = bad user
        log file = /var/log/samba/log.%m
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        workgroup = workgroup
        dns proxy = no
        unix password sync = yes
        ntlm auth = yes
        hosts allow = 10.70.10.9 10.70.10.19 10.70.10.29 10.69.80.49 10.69.80.6
        vfs objects = acl_xattr streams_xattr
        map acl inherit = yes
        store dos attributes = yes

[sicherung]
        comment = Backupfreigabe für Proxmox virtuelle Maschinen
        path = /rpool/sicherung
        writeable = yes
        write list = localbackup
        valid users = localbackup


[iso-images]
        path = /rpool/sicherung/template/iso
        writeable = yes
        write list = localbackup
        valid users = localbackup
 
Note: With this setup, you send data 3 times over the network! I suggest to use a local storage as temporary drive.
 
Note: With this setup, you send data 3 times over the network! I suggest to use a local storage as temporary drive.
Nice, but this is not possible. The root partition has only about 50GB. Hmm, maybe an workaround is to setup a mountpoint (mp1) and exclude this from backup. And we do an filebackup with BackupPC. It is possible to shrink the lxc?