Backup CT on NFS : error with "Too many levels of symbolic links"

EricM

Member
Feb 13, 2016
6
0
21
49
Hello,

Since some days I have an error during my backup job :
INFO: suspend vm
INFO: starting final sync /proc/39036/root// to /mnt/pve/Qnap/dump/vzdump-lxc-102-2016_11_15-12_35_18.tmp
INFO: rsync: readdir("/mnt/pve/Qnap/dump/vzdump-lxc-102-2016_11_15-12_35_18.tmp/etc/alternatives"): Too many levels of symbolic links (40)
INFO: IO error encountered -- skipping file deletion

proxmox is 4.2; CT is a Debian Jessie template; backup is on an NFS mount point.

finally I find that it is the symlink /etc/alternative/c++ -> /usr/bin/g++ , this is created by g++ package.
I think rsync over nfs don't like the "++"
I remove the package g++ and I'm no longer have this issue during backup.

hope that it could help, and if anyone can correct this...
 
you should set vzdump's tmpdir to a local directory - having it on NFS not only causes problems like you see here, but also a pretty severe peformance hit (you are copying everything to the NFS share first, then create an archive locally - another copy - and then store the archive on NFS again)