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

Discussion in 'Proxmox VE: Installation and configuration' started by fireon, Oct 13, 2018.

  1. fireon

    fireon Well-Known Member
    Proxmox VE Subscriber

    Joined:
    Oct 25, 2010
    Messages:
    2,690
    Likes Received:
    148
    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
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,279
    Likes Received:
    279
    Note: With this setup, you send data 3 times over the network! I suggest to use a local storage as temporary drive.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fireon

    fireon Well-Known Member
    Proxmox VE Subscriber

    Joined:
    Oct 25, 2010
    Messages:
    2,690
    Likes Received:
    148
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice