vzdump snapshot produces only 10K tarball [message #34922] |
Thu, 12 February 2009 09:30 |
goeldi
Messages: 92 Registered: June 2006
|
Member |
|
|
I have a node with 2 CTs.
- CT 136
CentOS 5.2 (template centos-5-i386-default-5.2-20090117)
using 1.8G.
- CT 143
CentOS 4.7 (template centos-4-i386-minimal-4.7-20090117)
using 2.7G.
When I make a vzdump --snapshot --dumpdir /home/backup --all
it runs without an error and creates 2 tar files:
vzdump-136.tar (1.5G) and vzdump-143.tar (10K).
This is the log file vzdump-136.log:
Feb 12 09:11:03 INFO: starting backup for VPS 136 (/vz/private/136)
Feb 12 09:11:03 INFO: creating lvm snapshot of /dev/mapper/system-vz ('/dev/system/vzsnap')
Feb 12 09:11:06 INFO: Logical volume "vzsnap" created
Feb 12 09:11:06 INFO: mounting lvm snapshot
Feb 12 09:11:06 INFO: Creating archive '/home/backup/vzdump-136.tar' (/vzsnap/private/136)
Feb 12 09:14:15 INFO: Total bytes written: 1571481600 (1.5GiB, 8.4MiB/s)
Feb 12 09:14:17 INFO: Logical volume "vzsnap" successfully removed
Feb 12 09:14:17 INFO: backup for VPS 136 finished successful (3.23 minutes)
This is the log file vzdump-143.log:
Feb 12 09:14:17 INFO: starting backup for VPS 143 (/var/lib/vz/private/143)
Feb 12 09:14:17 INFO: creating lvm snapshot of /dev/mapper/system-vz ('/dev/system/vzsnap')
Feb 12 09:14:17 INFO: Logical volume "vzsnap" created
Feb 12 09:14:17 INFO: mounting lvm snapshot
Feb 12 09:14:18 INFO: Creating archive '/home/backup/vzdump-143.tar' (/var/lib/vzsnap/private/143)
Feb 12 09:14:18 INFO: Total bytes written: 10240 (10KiB, 56MiB/s)
Feb 12 09:14:18 INFO: Logical volume "vzsnap" successfully removed
Feb 12 09:14:18 INFO: backup for VPS 143 finished successful (0.02 minutes)
Questions:
Why does vzdump create only a tarball of 10K for CT 143?
Does snapshot not work with CentOS 4 CTs?
My Node is an Ubuntu 8.04.1 server with kernel 2.6.24-23-openvz SMP on a 8GB RAM machine with an AMD Athlon 64 X2 5400+ CPU.
|
|
|
|
|
Re: vzdump snapshot produces only 10K tarball [message #35525 is a reply to message #34931] |
Thu, 02 April 2009 06:09 |
lizard
Messages: 11 Registered: October 2007 Location: russia
|
Junior Member |
|
|
Hello!
Centos 5.2,
kernel 2.6.18-92.1.18.el5.028stab060.2,
vzctl version 3.0.23
vzdump version 1.1.1 (also try 1.0.2)
When I run a vzdump e.g:
vzdump --suspend --dumpdir /var/local/backup/vps --compress 2534
It creates a 10K tarball with vps.conf only;
INFO: starting backup for VPS 2534 (/vz/root/2534/private)
INFO: starting first sync /vz/root/2534/private to /var/local/backup/vps/tmp21304
INFO: suspend vps
INFO: Setting up checkpoint...
INFO: suspend...
INFO: get context...
INFO: Checkpointing completed succesfully
INFO: final sync /vz/root/2534/private to /var/local/backup/vps/tmp21304
INFO: resume vps
INFO: Resuming...
INFO: vps is online again after 6 seconds
INFO: Creating archive '/var/local/backup/vps/vzdump-2534.tgz' (/var/local/backup/vps/tmp21304/2534)
INFO: :Totally 10240 (10KiB, 4,1MiB/s)
INFO: backup for VPS 2534 finished successful (1.68 minutes)
Is anybody solve this problem? Thank you!
[Updated on: Thu, 02 April 2009 06:09] Report message to a moderator
|
|
|
|