vzdump --snapshot works, but --suspend fails?

proxymoxy

Renowned Member
Jun 9, 2011
28
0
66
Just FYI

I downloaded vzdump_2011-06-17 and installed it on Scientific Linux 6.1 x86_64. Then I created a test container using the SL x86 precreated template.

After that I tried
Code:
vzdump --suspend --dumpdir /mymount 101

but vzdump failed because of the following error message

Code:
INFO: vm is online again after 0 seconds
INFO: creating archive '/root/vzdump-openvz-101-2011_08_15-06_09_35.tar'
INFO: tar: /root/vzdump-openvz-101-2011_08_15-06_09_35.tmp/etc/rc.d/rc4.d: Cannot unlink: Is a directory
INFO: tar: /root/vzdump-openvz-101-2011_08_15-06_09_35.tmp/etc/rc.d/rc5.d: Cannot unlink: Is a directory
INFO: tar: ./etc/rc.d/rc: Warning: Cannot stat: No such file or directory
INFO: tar: /root/vzdump-openvz-101-2011_08_15-06_09_35.tmp/etc: Cannot rmdir: Directory not empty
INFO: Total bytes written: 568821760 (543MiB, 20MiB/s)
INFO: tar: Exiting with failure status due to previous errors
ERROR: Backup of VM 101 failed - command '(cd /root/vzdump-openvz-101-2011_08_15-06_09_35.tmp;find . '(' -regex '^\.$' ')' -o '(' -type 's' -prune ')' -o -print0|sed 's/\\/\\\\/g'|tar cpf - --totals --sparse --numeric-owner --no-recursion --ignore-failed-read --one-file-system --remove-files --null -T -) >/root/vzdump-openvz-101-2011_08_15-06_09_35.dat' failed with exit code 2
INFO: Backup job finished with errors


I searched for

tar "Cannot unlink": Is a directory +proxmox
and
tar "Cannot unlink": Is a directory +vzdump

but couldn't find anything.

Did anybody else encounter this problem?

By the way the following worked fine:
Code:
vzdump --snapshot  --dumpdir /root 101