Package: vzdump
Version: 1.2.6-1
Severity: normal
File: /usr/sbin/vzdump
If I log in into vz virtual machine via vzctl enter then vzdump
can't backup that machine and that's normal:
INFO: Can not suspend container: Resource temporarily unavailable
INFO: Error: foreign process 7313/16471(vzctl) inside CT (e.g. vzctl enter or
vzctl exec).
However, vzdump does not return error code when this error happens, so the
chain of
shell commands like this
/usr/sbin/vzdump --suspend --compress --dumpdir /mnt/ftp/vz-$1/ --all
--stdexcludes --maxfiles $MAXF $EXCL &&
echo OK
will return OK even if vzdump fails to backup virtual machine. Thus
forgotten/frozen
vzctl exec blocks whole backup process silently and backup script does not
backup
without reporting any problems.
vzdump should return some error code if it fails, or provide some other means
to notify that
backup did not succeed.
-- System Information:
Debian Release: 6.0.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-openvz-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages vzdump depends on:
ii cstream 2.7.6-1 general-purpose stream-handling to
ii exim4 4.72-6+squeeze3 metapackage to ease Exim MTA (v4)
ii exim4-daemon-light [ma 4.72-6+squeeze3 lightweight Exim MTA (v4) daemon
ii liblockfile-simple-per 0.207-1 Simple advisory file locking
ii perl 5.10.1-17squeeze6 Larry Wall's Practical Extraction
ii rsync 3.0.7-2 fast remote file copy program (lik
ii vzctl 3.0.24-12 server virtualization solution - c
vzdump recommends no packages.
Versions of packages vzdump suggests:
pn xdelta <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]