Backup and restore issue, maybe bug?

1 post / 0 new
#1 Tue, 08/29/2017 - 09:39
Peter Clark

Backup and restore issue, maybe bug?

Hi,

I backed up a virtual machine managed on one cloudmin system (Centos 6) and am attempting to restore it on a newly built server (Centos 7). Both are running Webmin 1.851, Usermin 1.720, Virtualmin 6 and Cloudmin 9.3.kvm.

When I try the restore from the command line, it seems that while building the restore virtual disk there's no bounds on it, so the restore process builds a disk that fills up the entire space available.

Command line and CLI output;

[root@bb8 ~]# cloudmin restore-systems --host pclarktest.localhost --source /home/virtual-machines/ Finding systems to restore .. .. found 1 systems

Working out backup sources .. .. found 1 usable sources

Re-creating missing system pclarktest.localhost .. Creating virtual system with KVM ..

Stops there, until it errors out with a full disk.

From PS;

18270 pts/1 S+ 0:00 sh -c (dd if=\/dev\/zero of=\/kvm\/pclarktest.localhost.img bs=32768 2>/dev/null) 2>&1 </dev/null 18271 pts/1 D+ 3:24 dd if=/dev/zero of=/kvm/pclarktest.localhost.img bs=32768

Original files;

-rw-r--r-- 1 root root 1.1K Aug 29 05:27 pclarktest.localhost.console -rwxr-xr-x 1 root root 446 Aug 9 2016 pclarktest.localhost-eth0.sh -rw-r--r-- 1 root root 5 Jul 29 11:29 pclarktest.localhost-eth0.tap -rw-r--r-- 1 root root 2.0G Aug 29 08:32 pclarktest.localhost.img -rw-r--r-- 1 root root 31 Aug 9 2016 pclarktest.localhost.monitor

Restored files;

-rw-r--r-- 1 root root 478 Aug 29 08:34 pclarktest.localhost.disks -rwxr-xr-x 1 root root 442 Aug 29 09:43 pclarktest.localhost-eth0.sh -rw-r--r-- 1 root root 554M Aug 29 08:34 pclarktest.localhost.gz -rw-r--r-- 1 root root 190G Aug 29 10:04 pclarktest.localhost.img -rw------- 1 root root 1.6K Aug 29 05:27 pclarktest.localhost.serv

Original disk 2GiG, restore disk 190GIG and growing.

I can reproduce this behavior in the GUI as well.

TIA,